SAP BBP_CT_LOAD_CREATE Function Module for









BBP_CT_LOAD_CREATE is a standard bbp ct load 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 ct load create FM, simply by entering the name BBP_CT_LOAD_CREATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: BBP_CT
Program Name: SAPLBBP_CT
Main Program: SAPLBBP_CT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BBP_CT_LOAD_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_CT_LOAD_CREATE'"
EXPORTING
* IV_USER = "
* IV_HEADER_GUID = "
* IV_LOAD_INCOMPLETE = "
* IV_LOGSYS = "
* IV_SCHEMA_IMPORT = "
* IV_NO_UPDATE = "
* IV_NO_SAVING = "
* IV_ALE_ROLLBACK = "

IMPORTING
EV_HEADER_GUID = "

TABLES
IT_CATALOG = "
ET_MESSAGE = "
* IT_ATTR_DEF = "
* IT_ATTR_DEF_T = "
* IT_ATTR_POSS_VAL = "
* IT_ATTR_POSS_VAL_T = "
* IT_ATTR_TO_CATEGORY = "
* IT_VAL_RESTR = "
* IT_CATEGORY_T = "
* IT_CATALOG_T = "
* ET_ERRORS = "
IT_PARTNER = "
IT_CATEGORY = "
IT_PRODUCT = "
IT_PARTNER_PRODUCT = "
IT_PRODUCT_PRICE = "
IT_ATTRIBUTE = "
IT_ATTACHMENT = "
IT_LONGTEXT = "
.



IMPORTING Parameters details for BBP_CT_LOAD_CREATE

IV_USER -

Data type: UNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_HEADER_GUID -

Data type: BBPT_CT_HEADER_GUID_CHAR
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_LOAD_INCOMPLETE -

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_LOGSYS -

Data type: COMT_LOGSYS
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_SCHEMA_IMPORT -

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_NO_UPDATE -

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_NO_SAVING -

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_ALE_ROLLBACK -

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for BBP_CT_LOAD_CREATE

EV_HEADER_GUID -

Data type: BBPT_CT_HEADER_GUID_CHAR
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for BBP_CT_LOAD_CREATE

IT_CATALOG -

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

ET_MESSAGE -

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

IT_ATTR_DEF -

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

IT_ATTR_DEF_T -

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

IT_ATTR_POSS_VAL -

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

IT_ATTR_POSS_VAL_T -

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

IT_ATTR_TO_CATEGORY -

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

IT_VAL_RESTR -

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

IT_CATEGORY_T -

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

IT_CATALOG_T -

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

ET_ERRORS -

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

IT_PARTNER -

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

IT_CATEGORY -

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

IT_PRODUCT -

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

IT_PARTNER_PRODUCT -

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

IT_PRODUCT_PRICE -

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

IT_ATTRIBUTE -

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

IT_ATTACHMENT -

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

IT_LONGTEXT -

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

Copy and paste ABAP code example for BBP_CT_LOAD_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_iv_user  TYPE UNAME, "   
lt_it_catalog  TYPE STANDARD TABLE OF BBPT_CT_CATALOG_XML_S, "   
lv_ev_header_guid  TYPE BBPT_CT_HEADER_GUID_CHAR, "   
lt_et_message  TYPE STANDARD TABLE OF BBPT_CT_MESSAGE_S, "   
lt_it_attr_def  TYPE STANDARD TABLE OF BBPT_CT_ATTRDEF_XML_S, "   
lt_it_attr_def_t  TYPE STANDARD TABLE OF BBPT_CT_ATTRDEF_T_XML_S, "   
lt_it_attr_poss_val  TYPE STANDARD TABLE OF BBPT_CT_ATTR_POSS_VAL_XML_S, "   
lt_it_attr_poss_val_t  TYPE STANDARD TABLE OF BBPT_CT_ATTR_POSS_VAL_T_XML_S, "   
lt_it_attr_to_category  TYPE STANDARD TABLE OF BBPT_CT_ATTR_TO_CAT_XML_S, "   
lt_it_val_restr  TYPE STANDARD TABLE OF BBPT_CT_VALUE_RESTR_XML_S, "   
lt_it_category_t  TYPE STANDARD TABLE OF BBPT_CT_CATEGORY_T_XML_S, "   
lt_it_catalog_t  TYPE STANDARD TABLE OF BBPT_CT_CATALOG_T_XML_S, "   
lt_et_errors  TYPE STANDARD TABLE OF BAPIRET2, "   
lt_it_partner  TYPE STANDARD TABLE OF BBPT_CT_PARTNER_XML_S, "   
lv_iv_header_guid  TYPE BBPT_CT_HEADER_GUID_CHAR, "   
lt_it_category  TYPE STANDARD TABLE OF BBPT_CT_CATEGORY_XML_S, "   
lv_iv_load_incomplete  TYPE XFELD, "   
lv_iv_logsys  TYPE COMT_LOGSYS, "   
lt_it_product  TYPE STANDARD TABLE OF BBPT_CT_PRODUCT_XML_S, "   
lv_iv_schema_import  TYPE XFELD, "   
lt_it_partner_product  TYPE STANDARD TABLE OF BBPT_CT_PARTNER_PRODUCT_XML_S, "   
lv_iv_no_update  TYPE XFELD, "   
lt_it_product_price  TYPE STANDARD TABLE OF BBPT_CT_PRODUCT_PRICE_XML_S, "   
lt_it_attribute  TYPE STANDARD TABLE OF BBPT_CT_ATTRIBUTE_XML_S, "   
lv_iv_no_saving  TYPE XFELD, "   
lt_it_attachment  TYPE STANDARD TABLE OF BBPT_CT_ATTACHMENT_XML_S, "   
lv_iv_ale_rollback  TYPE XFELD, "   
lt_it_longtext  TYPE STANDARD TABLE OF BBPT_CT_LONGTEXT_XML_S. "   

  CALL FUNCTION 'BBP_CT_LOAD_CREATE'  "
    EXPORTING
         IV_USER = lv_iv_user
         IV_HEADER_GUID = lv_iv_header_guid
         IV_LOAD_INCOMPLETE = lv_iv_load_incomplete
         IV_LOGSYS = lv_iv_logsys
         IV_SCHEMA_IMPORT = lv_iv_schema_import
         IV_NO_UPDATE = lv_iv_no_update
         IV_NO_SAVING = lv_iv_no_saving
         IV_ALE_ROLLBACK = lv_iv_ale_rollback
    IMPORTING
         EV_HEADER_GUID = lv_ev_header_guid
    TABLES
         IT_CATALOG = lt_it_catalog
         ET_MESSAGE = lt_et_message
         IT_ATTR_DEF = lt_it_attr_def
         IT_ATTR_DEF_T = lt_it_attr_def_t
         IT_ATTR_POSS_VAL = lt_it_attr_poss_val
         IT_ATTR_POSS_VAL_T = lt_it_attr_poss_val_t
         IT_ATTR_TO_CATEGORY = lt_it_attr_to_category
         IT_VAL_RESTR = lt_it_val_restr
         IT_CATEGORY_T = lt_it_category_t
         IT_CATALOG_T = lt_it_catalog_t
         ET_ERRORS = lt_et_errors
         IT_PARTNER = lt_it_partner
         IT_CATEGORY = lt_it_category
         IT_PRODUCT = lt_it_product
         IT_PARTNER_PRODUCT = lt_it_partner_product
         IT_PRODUCT_PRICE = lt_it_product_price
         IT_ATTRIBUTE = lt_it_attribute
         IT_ATTACHMENT = lt_it_attachment
         IT_LONGTEXT = lt_it_longtext
. " BBP_CT_LOAD_CREATE




ABAP code using 7.40 inline data declarations to call FM BBP_CT_LOAD_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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!