SAP BBP_ITEM_CREATE Function Module for
BBP_ITEM_CREATE is a standard bbp item create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for bbp item create FM, simply by entering the name BBP_ITEM_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: BBP_PDIAD
Program Name: SAPLBBP_PDIAD
Main Program: SAPLBBP_PDIAD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BBP_ITEM_CREATE pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'BBP_ITEM_CREATE'".
EXPORTING
* IV_GUID = "
* IV_PARK_OR_SAVE = "
* IV_BAPIMODE = "
* IT_DYN_ATTR = "
IV_NEW_P_GUID = "
IV_NEW_H_GUID = "
* IV_REF_I_GUID = "
* IV_REF_H_GUID = "
IV_OBJECT_TYPE = "
IS_COM = "
* IT_ATTACH = "
* IT_CONDITIONS = "
CHANGING
* ES_ECOM = "
* ES_HIER_CHECK_IND = "
TABLES
* IT_ITMADM = "
* IT_PARTNER = "
* IT_CONFIRM = "
* IT_LONGTEXT = "
* IT_LIMIT = "
* IT_ORGDATA = "
* IT_TAX = "
* IT_PRIDOC = "
* IT_SDLN = "
* IT_ICF = "
* IT_TOL = "
* IT_ITMIGP = "
* IT_WEIGHT = "
* IT_DEP = "
* IT_ITMPSET = "
* IT_ITMBEI = "
* IT_ITMISB = "
* IT_ITMISC = "
* IT_ITMISS = "
* IT_ITM_NON_DB = "
* IT_ACCOUNT = "
IMPORTING Parameters details for BBP_ITEM_CREATE
IV_GUID -
Data type: CRMD_ORDERADM_I-GUIDOptional: Yes
Call by Reference: Yes
IV_PARK_OR_SAVE -
Data type: XFELDOptional: Yes
Call by Reference: Yes
IV_BAPIMODE -
Data type: XFELDOptional: Yes
Call by Reference: Yes
IT_DYN_ATTR -
Data type: BBPT_PDS_DYNATTRIBUTEOptional: Yes
Call by Reference: Yes
IV_NEW_P_GUID -
Data type: CRMD_ORDERADM_H-GUIDOptional: No
Call by Reference: Yes
IV_NEW_H_GUID -
Data type: CRMD_ORDERADM_H-GUIDOptional: No
Call by Reference: Yes
IV_REF_I_GUID -
Data type: CRMD_ORDERADM_I-GUIDOptional: Yes
Call by Reference: Yes
IV_REF_H_GUID -
Data type: CRMD_ORDERADM_H-GUIDOptional: Yes
Call by Reference: Yes
IV_OBJECT_TYPE -
Data type: CRMD_ORDERADM_H-OBJECT_TYPEOptional: No
Call by Reference: Yes
IS_COM -
Data type: BBP_PDS_ITM_ICOMOptional: No
Call by Reference: Yes
IT_ATTACH -
Data type: BBPT_PDS_ATT_TOptional: Yes
Call by Reference: Yes
IT_CONDITIONS -
Data type: BBPT_PD_CNDOptional: Yes
Call by Reference: Yes
CHANGING Parameters details for BBP_ITEM_CREATE
ES_ECOM -
Data type: BBP_PDS_ITM_ECOMOptional: Yes
Call by Reference: Yes
ES_HIER_CHECK_IND -
Data type: BBP_HIER_CHECK_INDOptional: Yes
Call by Reference: Yes
TABLES Parameters details for BBP_ITEM_CREATE
IT_ITMADM -
Data type: BBP_PDS_ITMADMOptional: Yes
Call by Reference: Yes
IT_PARTNER -
Data type: BBP_PDS_PARTNEROptional: Yes
Call by Reference: Yes
IT_CONFIRM -
Data type: BBP_PDS_CONOptional: Yes
Call by Reference: Yes
IT_LONGTEXT -
Data type: BBP_PDS_LONGTEXTOptional: Yes
Call by Reference: Yes
IT_LIMIT -
Data type: BBP_PDS_LIMITOptional: Yes
Call by Reference: Yes
IT_ORGDATA -
Data type: BBP_PDS_ORGOptional: Yes
Call by Reference: Yes
IT_TAX -
Data type: BBP_PDS_TAXOptional: Yes
Call by Reference: Yes
IT_PRIDOC -
Data type: BBP_PDS_PRCOptional: Yes
Call by Reference: Yes
IT_SDLN -
Data type: BBP_PDS_SDLNOptional: Yes
Call by Reference: Yes
IT_ICF -
Data type: BBP_PDS_ICFOptional: Yes
Call by Reference: Yes
IT_TOL -
Data type: BBP_PDS_TOLOptional: Yes
Call by Reference: Yes
IT_ITMIGP -
Data type: BBP_PDIGPOptional: Yes
Call by Reference: Yes
IT_WEIGHT -
Data type: BBP_PDS_WEIGHTOptional: Yes
Call by Reference: Yes
IT_DEP -
Data type: BBP_PDS_DEPOptional: Yes
Call by Reference: Yes
IT_ITMPSET -
Data type: BBP_PDPSETOptional: Yes
Call by Reference: Yes
IT_ITMBEI -
Data type: BBP_PDBEIOptional: Yes
Call by Reference: Yes
IT_ITMISB -
Data type: BBP_PDISBOptional: Yes
Call by Reference: Yes
IT_ITMISC -
Data type: BBP_PDISCOptional: Yes
Call by Reference: Yes
IT_ITMISS -
Data type: BBP_PDISSOptional: Yes
Call by Reference: Yes
IT_ITM_NON_DB -
Data type: BBP_PDS_ITEM_NON_DB_W_GUIDOptional: Yes
Call by Reference: Yes
IT_ACCOUNT -
Data type: BBP_PDS_ACCOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for BBP_ITEM_CREATE Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_es_ecom | TYPE BBP_PDS_ITM_ECOM, " | |||
| lv_iv_guid | TYPE CRMD_ORDERADM_I-GUID, " | |||
| lt_it_itmadm | TYPE STANDARD TABLE OF BBP_PDS_ITMADM, " | |||
| lt_it_partner | TYPE STANDARD TABLE OF BBP_PDS_PARTNER, " | |||
| lv_iv_park_or_save | TYPE XFELD, " | |||
| lt_it_confirm | TYPE STANDARD TABLE OF BBP_PDS_CON, " | |||
| lv_iv_bapimode | TYPE XFELD, " | |||
| lv_it_dyn_attr | TYPE BBPT_PDS_DYNATTRIBUTE, " | |||
| lt_it_longtext | TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT, " | |||
| lt_it_limit | TYPE STANDARD TABLE OF BBP_PDS_LIMIT, " | |||
| lt_it_orgdata | TYPE STANDARD TABLE OF BBP_PDS_ORG, " | |||
| lt_it_tax | TYPE STANDARD TABLE OF BBP_PDS_TAX, " | |||
| lt_it_pridoc | TYPE STANDARD TABLE OF BBP_PDS_PRC, " | |||
| lt_it_sdln | TYPE STANDARD TABLE OF BBP_PDS_SDLN, " | |||
| lt_it_icf | TYPE STANDARD TABLE OF BBP_PDS_ICF, " | |||
| lt_it_tol | TYPE STANDARD TABLE OF BBP_PDS_TOL, " | |||
| lt_it_itmigp | TYPE STANDARD TABLE OF BBP_PDIGP, " | |||
| lv_iv_new_p_guid | TYPE CRMD_ORDERADM_H-GUID, " | |||
| lv_es_hier_check_ind | TYPE BBP_HIER_CHECK_IND, " | |||
| lt_it_weight | TYPE STANDARD TABLE OF BBP_PDS_WEIGHT, " | |||
| lt_it_dep | TYPE STANDARD TABLE OF BBP_PDS_DEP, " | |||
| lt_it_itmpset | TYPE STANDARD TABLE OF BBP_PDPSET, " | |||
| lv_iv_new_h_guid | TYPE CRMD_ORDERADM_H-GUID, " | |||
| lt_it_itmbei | TYPE STANDARD TABLE OF BBP_PDBEI, " | |||
| lv_iv_ref_i_guid | TYPE CRMD_ORDERADM_I-GUID, " | |||
| lt_it_itmisb | TYPE STANDARD TABLE OF BBP_PDISB, " | |||
| lv_iv_ref_h_guid | TYPE CRMD_ORDERADM_H-GUID, " | |||
| lt_it_itmisc | TYPE STANDARD TABLE OF BBP_PDISC, " | |||
| lv_iv_object_type | TYPE CRMD_ORDERADM_H-OBJECT_TYPE, " | |||
| lv_is_com | TYPE BBP_PDS_ITM_ICOM, " | |||
| lt_it_itmiss | TYPE STANDARD TABLE OF BBP_PDISS, " | |||
| lv_it_attach | TYPE BBPT_PDS_ATT_T, " | |||
| lt_it_itm_non_db | TYPE STANDARD TABLE OF BBP_PDS_ITEM_NON_DB_W_GUID, " | |||
| lt_it_account | TYPE STANDARD TABLE OF BBP_PDS_ACC, " | |||
| lv_it_conditions | TYPE BBPT_PD_CND. " |
|   CALL FUNCTION 'BBP_ITEM_CREATE' " |
| EXPORTING | ||
| IV_GUID | = lv_iv_guid | |
| IV_PARK_OR_SAVE | = lv_iv_park_or_save | |
| IV_BAPIMODE | = lv_iv_bapimode | |
| IT_DYN_ATTR | = lv_it_dyn_attr | |
| IV_NEW_P_GUID | = lv_iv_new_p_guid | |
| IV_NEW_H_GUID | = lv_iv_new_h_guid | |
| IV_REF_I_GUID | = lv_iv_ref_i_guid | |
| IV_REF_H_GUID | = lv_iv_ref_h_guid | |
| IV_OBJECT_TYPE | = lv_iv_object_type | |
| IS_COM | = lv_is_com | |
| IT_ATTACH | = lv_it_attach | |
| IT_CONDITIONS | = lv_it_conditions | |
| CHANGING | ||
| ES_ECOM | = lv_es_ecom | |
| ES_HIER_CHECK_IND | = lv_es_hier_check_ind | |
| TABLES | ||
| IT_ITMADM | = lt_it_itmadm | |
| IT_PARTNER | = lt_it_partner | |
| IT_CONFIRM | = lt_it_confirm | |
| IT_LONGTEXT | = lt_it_longtext | |
| IT_LIMIT | = lt_it_limit | |
| IT_ORGDATA | = lt_it_orgdata | |
| IT_TAX | = lt_it_tax | |
| IT_PRIDOC | = lt_it_pridoc | |
| IT_SDLN | = lt_it_sdln | |
| IT_ICF | = lt_it_icf | |
| IT_TOL | = lt_it_tol | |
| IT_ITMIGP | = lt_it_itmigp | |
| IT_WEIGHT | = lt_it_weight | |
| IT_DEP | = lt_it_dep | |
| IT_ITMPSET | = lt_it_itmpset | |
| IT_ITMBEI | = lt_it_itmbei | |
| IT_ITMISB | = lt_it_itmisb | |
| IT_ITMISC | = lt_it_itmisc | |
| IT_ITMISS | = lt_it_itmiss | |
| IT_ITM_NON_DB | = lt_it_itm_non_db | |
| IT_ACCOUNT | = lt_it_account | |
| . " BBP_ITEM_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM BBP_ITEM_CREATE
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single GUID FROM CRMD_ORDERADM_I INTO @DATA(ld_iv_guid). | ||||
| "SELECT single GUID FROM CRMD_ORDERADM_H INTO @DATA(ld_iv_new_p_guid). | ||||
| "SELECT single GUID FROM CRMD_ORDERADM_H INTO @DATA(ld_iv_new_h_guid). | ||||
| "SELECT single GUID FROM CRMD_ORDERADM_I INTO @DATA(ld_iv_ref_i_guid). | ||||
| "SELECT single GUID FROM CRMD_ORDERADM_H INTO @DATA(ld_iv_ref_h_guid). | ||||
| "SELECT single OBJECT_TYPE FROM CRMD_ORDERADM_H INTO @DATA(ld_iv_object_type). | ||||
Search for further information about these or an SAP related objects