SAP BBP_ITEMLIST_CREATE Function Module for









BBP_ITEMLIST_CREATE is a standard bbp itemlist 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 itemlist create FM, simply by entering the name BBP_ITEMLIST_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_ITEMLIST_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_ITEMLIST_CREATE'"
EXPORTING
I_P_GUID = "
* IV_UPDATE_FROM_CHANGE_VERSION = "
* IT_DYN_ATTR = "
I_NEW_P_GUID = "
I_NEW_H_GUID = "
I_REF_P_GUID = "
I_OBJECT_TYPE = "
I_COM = "
IT_ATTACH = "
IT_CONDITIONS = "
* IV_PARK_OR_SAVE = "

CHANGING
* ES_ECOM = "
* ES_HIER_CHILD_IND = "

TABLES
I_ITMADM = "
* I_PARTNER = "
* I_CONFIRM = "
* I_LONGTEXT = "
* I_LIMIT = "
* I_ORGDATA = "
* I_TAX = "
* I_PRIDOC = "
* I_SDLN = "
* I_ICF = "
* I_TOL = "
I_ITMIGP = "
* I_WEIGHT = "
* I_DEP = "
I_ITMPSET = "
I_ITMBEI = "
I_ITMISB = "
* I_ITMISC = "
* I_ITMISS = "
* I_ITM_NON_DB = "
* I_ACCOUNT = "
.



IMPORTING Parameters details for BBP_ITEMLIST_CREATE

I_P_GUID -

Data type: CRMD_ORDERADM_H-GUID
Optional: No
Call by Reference: Yes

IV_UPDATE_FROM_CHANGE_VERSION -

Data type: XFELD
Optional: Yes
Call by Reference: Yes

IT_DYN_ATTR -

Data type: BBPT_PDS_DYNATTRIBUTE
Optional: Yes
Call by Reference: Yes

I_NEW_P_GUID -

Data type: CRMD_ORDERADM_H-GUID
Optional: No
Call by Reference: Yes

I_NEW_H_GUID -

Data type: CRMD_ORDERADM_H-GUID
Optional: No
Call by Reference: Yes

I_REF_P_GUID -

Data type: CRMD_ORDERADM_H-GUID
Optional: No
Call by Reference: Yes

I_OBJECT_TYPE -

Data type: CRMD_ORDERADM_H-OBJECT_TYPE
Optional: No
Call by Reference: Yes

I_COM -

Data type: BBP_PDS_ITM_ICOM
Optional: No
Call by Reference: Yes

IT_ATTACH -

Data type: BBPT_PDS_ATT_T
Optional: No
Call by Reference: Yes

IT_CONDITIONS -

Data type: BBPT_PD_CND
Optional: No
Call by Reference: Yes

IV_PARK_OR_SAVE -

Data type: XFELD
Optional: Yes
Call by Reference: Yes

CHANGING Parameters details for BBP_ITEMLIST_CREATE

ES_ECOM -

Data type: BBP_PDS_ITM_ECOM
Optional: Yes
Call by Reference: Yes

ES_HIER_CHILD_IND -

Data type: BBP_HIER_CHECK_IND
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for BBP_ITEMLIST_CREATE

I_ITMADM -

Data type: BBP_PDS_ITMADM
Optional: No
Call by Reference: Yes

I_PARTNER -

Data type: BBP_PDS_PARTNER
Optional: Yes
Call by Reference: Yes

I_CONFIRM -

Data type: BBP_PDS_CON
Optional: Yes
Call by Reference: Yes

I_LONGTEXT -

Data type: BBP_PDS_LONGTEXT
Optional: Yes
Call by Reference: Yes

I_LIMIT -

Data type: BBP_PDS_LIMIT
Optional: Yes
Call by Reference: Yes

I_ORGDATA -

Data type: BBP_PDS_ORG
Optional: Yes
Call by Reference: Yes

I_TAX -

Data type: BBP_PDS_TAX
Optional: Yes
Call by Reference: Yes

I_PRIDOC -

Data type: BBP_PDS_PRC
Optional: Yes
Call by Reference: Yes

I_SDLN -

Data type: BBP_PDS_SDLN
Optional: Yes
Call by Reference: Yes

I_ICF -

Data type: BBP_PDS_ICF
Optional: Yes
Call by Reference: Yes

I_TOL -

Data type: BBP_PDS_TOL
Optional: Yes
Call by Reference: Yes

I_ITMIGP -

Data type: BBP_PDIGP
Optional: No
Call by Reference: Yes

I_WEIGHT -

Data type: BBP_PDS_WEIGHT
Optional: Yes
Call by Reference: Yes

I_DEP -

Data type: BBP_PDS_DEP
Optional: Yes
Call by Reference: Yes

I_ITMPSET -

Data type: BBP_PDPSET
Optional: No
Call by Reference: Yes

I_ITMBEI -

Data type: BBP_PDBEI
Optional: No
Call by Reference: Yes

I_ITMISB -

Data type: BBP_PDISB
Optional: No
Call by Reference: Yes

I_ITMISC -

Data type: BBP_PDISC
Optional: Yes
Call by Reference: Yes

I_ITMISS -

Data type: BBP_PDISS
Optional: Yes
Call by Reference: Yes

I_ITM_NON_DB -

Data type: BBP_PDS_ITEM_NON_DB_W_GUID
Optional: Yes
Call by Reference: Yes

I_ACCOUNT -

Data type: BBP_PDS_ACC
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for BBP_ITEMLIST_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, "   
lt_i_itmadm  TYPE STANDARD TABLE OF BBP_PDS_ITMADM, "   
lv_i_p_guid  TYPE CRMD_ORDERADM_H-GUID, "   
lt_i_partner  TYPE STANDARD TABLE OF BBP_PDS_PARTNER, "   
lv_iv_update_from_change_version  TYPE XFELD, "   
lt_i_confirm  TYPE STANDARD TABLE OF BBP_PDS_CON, "   
lv_it_dyn_attr  TYPE BBPT_PDS_DYNATTRIBUTE, "   
lt_i_longtext  TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT, "   
lt_i_limit  TYPE STANDARD TABLE OF BBP_PDS_LIMIT, "   
lt_i_orgdata  TYPE STANDARD TABLE OF BBP_PDS_ORG, "   
lt_i_tax  TYPE STANDARD TABLE OF BBP_PDS_TAX, "   
lt_i_pridoc  TYPE STANDARD TABLE OF BBP_PDS_PRC, "   
lt_i_sdln  TYPE STANDARD TABLE OF BBP_PDS_SDLN, "   
lt_i_icf  TYPE STANDARD TABLE OF BBP_PDS_ICF, "   
lt_i_tol  TYPE STANDARD TABLE OF BBP_PDS_TOL, "   
lt_i_itmigp  TYPE STANDARD TABLE OF BBP_PDIGP, "   
lv_i_new_p_guid  TYPE CRMD_ORDERADM_H-GUID, "   
lv_es_hier_child_ind  TYPE BBP_HIER_CHECK_IND, "   
lt_i_weight  TYPE STANDARD TABLE OF BBP_PDS_WEIGHT, "   
lt_i_dep  TYPE STANDARD TABLE OF BBP_PDS_DEP, "   
lt_i_itmpset  TYPE STANDARD TABLE OF BBP_PDPSET, "   
lv_i_new_h_guid  TYPE CRMD_ORDERADM_H-GUID, "   
lt_i_itmbei  TYPE STANDARD TABLE OF BBP_PDBEI, "   
lv_i_ref_p_guid  TYPE CRMD_ORDERADM_H-GUID, "   
lt_i_itmisb  TYPE STANDARD TABLE OF BBP_PDISB, "   
lv_i_object_type  TYPE CRMD_ORDERADM_H-OBJECT_TYPE, "   
lv_i_com  TYPE BBP_PDS_ITM_ICOM, "   
lt_i_itmisc  TYPE STANDARD TABLE OF BBP_PDISC, "   
lt_i_itmiss  TYPE STANDARD TABLE OF BBP_PDISS, "   
lv_it_attach  TYPE BBPT_PDS_ATT_T, "   
lt_i_itm_non_db  TYPE STANDARD TABLE OF BBP_PDS_ITEM_NON_DB_W_GUID, "   
lv_it_conditions  TYPE BBPT_PD_CND, "   
lt_i_account  TYPE STANDARD TABLE OF BBP_PDS_ACC, "   
lv_iv_park_or_save  TYPE XFELD. "   

  CALL FUNCTION 'BBP_ITEMLIST_CREATE'  "
    EXPORTING
         I_P_GUID = lv_i_p_guid
         IV_UPDATE_FROM_CHANGE_VERSION = lv_iv_update_from_change_version
         IT_DYN_ATTR = lv_it_dyn_attr
         I_NEW_P_GUID = lv_i_new_p_guid
         I_NEW_H_GUID = lv_i_new_h_guid
         I_REF_P_GUID = lv_i_ref_p_guid
         I_OBJECT_TYPE = lv_i_object_type
         I_COM = lv_i_com
         IT_ATTACH = lv_it_attach
         IT_CONDITIONS = lv_it_conditions
         IV_PARK_OR_SAVE = lv_iv_park_or_save
    CHANGING
         ES_ECOM = lv_es_ecom
         ES_HIER_CHILD_IND = lv_es_hier_child_ind
    TABLES
         I_ITMADM = lt_i_itmadm
         I_PARTNER = lt_i_partner
         I_CONFIRM = lt_i_confirm
         I_LONGTEXT = lt_i_longtext
         I_LIMIT = lt_i_limit
         I_ORGDATA = lt_i_orgdata
         I_TAX = lt_i_tax
         I_PRIDOC = lt_i_pridoc
         I_SDLN = lt_i_sdln
         I_ICF = lt_i_icf
         I_TOL = lt_i_tol
         I_ITMIGP = lt_i_itmigp
         I_WEIGHT = lt_i_weight
         I_DEP = lt_i_dep
         I_ITMPSET = lt_i_itmpset
         I_ITMBEI = lt_i_itmbei
         I_ITMISB = lt_i_itmisb
         I_ITMISC = lt_i_itmisc
         I_ITMISS = lt_i_itmiss
         I_ITM_NON_DB = lt_i_itm_non_db
         I_ACCOUNT = lt_i_account
. " BBP_ITEMLIST_CREATE




ABAP code using 7.40 inline data declarations to call FM BBP_ITEMLIST_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_H INTO @DATA(ld_i_p_guid).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single GUID FROM CRMD_ORDERADM_H INTO @DATA(ld_i_new_p_guid).
 
 
 
 
 
"SELECT single GUID FROM CRMD_ORDERADM_H INTO @DATA(ld_i_new_h_guid).
 
 
"SELECT single GUID FROM CRMD_ORDERADM_H INTO @DATA(ld_i_ref_p_guid).
 
 
"SELECT single OBJECT_TYPE FROM CRMD_ORDERADM_H INTO @DATA(ld_i_object_type).
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!