SAP BBP_CF_ASSIGNMENT_LEAN Function Module for









BBP_CF_ASSIGNMENT_LEAN is a standard bbp cf assignment lean 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 cf assignment lean FM, simply by entering the name BBP_CF_ASSIGNMENT_LEAN into the relevant SAP transaction such as SE37 or SE38.

Function Group: BBP_CF
Program Name: SAPLBBP_CF
Main Program: SAPLBBP_CF
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function BBP_CF_ASSIGNMENT_LEAN 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_CF_ASSIGNMENT_LEAN'"
EXPORTING
IV_SUBTYPE = "
* IV_INPUT_TYPE = 1 "

IMPORTING
ES_HEADER = "

TABLES
IT_SELECTION = "
* ET_MESSAGES = "
* ET_HCF = "
* ET_ICF = "
ET_LONGTEXT = "
* IT_DOC_VALUES_DB = "
* ET_ITEM = "
* ET_ACCOUNT = "
* ET_PARTNER = "
* ET_LIMIT = "
* ET_ORGDATA = "
* ET_TAX = "
* ET_ACTUAL_VALUES = "
.



IMPORTING Parameters details for BBP_CF_ASSIGNMENT_LEAN

IV_SUBTYPE -

Data type: BBP_PDS_HEADER-SUBTYPE
Optional: No
Call by Reference: No ( called with pass by value option)

IV_INPUT_TYPE -

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

EXPORTING Parameters details for BBP_CF_ASSIGNMENT_LEAN

ES_HEADER -

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

TABLES Parameters details for BBP_CF_ASSIGNMENT_LEAN

IT_SELECTION -

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

ET_MESSAGES -

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

ET_HCF -

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

ET_ICF -

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

ET_LONGTEXT -

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

IT_DOC_VALUES_DB -

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

ET_ITEM -

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

ET_ACCOUNT -

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

ET_PARTNER -

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

ET_LIMIT -

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

ET_ORGDATA -

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

ET_TAX -

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

ET_ACTUAL_VALUES -

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

Copy and paste ABAP code example for BBP_CF_ASSIGNMENT_LEAN 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_header  TYPE BBP_PDS_CONF_HEADER_D, "   
lv_iv_subtype  TYPE BBP_PDS_HEADER-SUBTYPE, "   
lt_it_selection  TYPE STANDARD TABLE OF BBPS_OBJECT_KEY, "   
lt_et_messages  TYPE STANDARD TABLE OF BBP_PDS_MESSAGES, "   
lt_et_hcf  TYPE STANDARD TABLE OF BBP_PDS_HCF_CONF, "   
lt_et_icf  TYPE STANDARD TABLE OF BBP_PDS_ICF_CONF, "   
lt_et_longtext  TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT, "   
lv_iv_input_type  TYPE BBP_INP_TYPE, "   1
lt_it_doc_values_db  TYPE STANDARD TABLE OF BBP_CFIV_DOC_VALUES_DB, "   
lt_et_item  TYPE STANDARD TABLE OF BBP_PDS_CONF_ITEM_D, "   
lt_et_account  TYPE STANDARD TABLE OF BBP_PDS_ACC, "   
lt_et_partner  TYPE STANDARD TABLE OF BBP_PDS_PARTNER, "   
lt_et_limit  TYPE STANDARD TABLE OF BBP_PDS_LIMIT, "   
lt_et_orgdata  TYPE STANDARD TABLE OF BBP_PDS_ORG, "   
lt_et_tax  TYPE STANDARD TABLE OF BBP_PDS_TAX, "   
lt_et_actual_values  TYPE STANDARD TABLE OF BBP_PDS_ACTVAL. "   

  CALL FUNCTION 'BBP_CF_ASSIGNMENT_LEAN'  "
    EXPORTING
         IV_SUBTYPE = lv_iv_subtype
         IV_INPUT_TYPE = lv_iv_input_type
    IMPORTING
         ES_HEADER = lv_es_header
    TABLES
         IT_SELECTION = lt_it_selection
         ET_MESSAGES = lt_et_messages
         ET_HCF = lt_et_hcf
         ET_ICF = lt_et_icf
         ET_LONGTEXT = lt_et_longtext
         IT_DOC_VALUES_DB = lt_it_doc_values_db
         ET_ITEM = lt_et_item
         ET_ACCOUNT = lt_et_account
         ET_PARTNER = lt_et_partner
         ET_LIMIT = lt_et_limit
         ET_ORGDATA = lt_et_orgdata
         ET_TAX = lt_et_tax
         ET_ACTUAL_VALUES = lt_et_actual_values
. " BBP_CF_ASSIGNMENT_LEAN




ABAP code using 7.40 inline data declarations to call FM BBP_CF_ASSIGNMENT_LEAN

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 SUBTYPE FROM BBP_PDS_HEADER INTO @DATA(ld_iv_subtype).
 
 
 
 
 
 
DATA(ld_iv_input_type) = 1.
 
 
 
 
 
 
 
 
 


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!