SAP BBP_DOCUMENT_TO_EXT_MAPV Function Module for









BBP_DOCUMENT_TO_EXT_MAPV is a standard bbp document to ext mapv 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 document to ext mapv FM, simply by entering the name BBP_DOCUMENT_TO_EXT_MAPV into the relevant SAP transaction such as SE37 or SE38.

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



Function BBP_DOCUMENT_TO_EXT_MAPV 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_DOCUMENT_TO_EXT_MAPV'"
EXPORTING
* IV_COMPLETE_TRANSMISSION_IND = GC_YES "
* IT_LONGTEXT = "
* IT_LIMIT = "
* IT_FREIGHT = "
* IT_TAX = "
* IT_SDLN = "
* IT_EXCHRATE = "
* IT_STATUS = "
IV_MESSAGE = "
* IV_SYSTEM_TYPE = "
* IT_TOL = "
IS_HEADER = "
IT_ITEM = "
* IT_ITEM_REL = "
* IT_ATTACH = "
* IT_CONDITIONS = "
* IT_ORGDATA = "
* IT_ACCOUNT = "
* IT_PARTNER = "

IMPORTING
ES_HEADER = "
ET_LIMIT = "
ET_FREIGHT = "
ET_TAX = "
ET_SDLN = "
ET_EXCHRATE = "
ET_STATUS = "
ET_TOL = "
ET_ITEM = "
ET_ITEM_REL = "
ET_ATTACH = "
ET_CONDITIONS = "
ET_ORGDATA = "
ET_ACCOUNT = "
ET_PARTNER = "
ET_LONGTEXT = "
.



IMPORTING Parameters details for BBP_DOCUMENT_TO_EXT_MAPV

IV_COMPLETE_TRANSMISSION_IND -

Data type: BBP_COMPLETE_TRANS_IND
Default: GC_YES
Optional: Yes
Call by Reference: Yes

IT_LONGTEXT -

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

IT_LIMIT -

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

IT_FREIGHT -

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

IT_TAX -

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

IT_SDLN -

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

IT_EXCHRATE -

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

IT_STATUS -

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

IV_MESSAGE -

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

IV_SYSTEM_TYPE -

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

IT_TOL -

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

IS_HEADER -

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

IT_ITEM -

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

IT_ITEM_REL -

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

IT_ATTACH -

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

IT_CONDITIONS -

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

IT_ORGDATA -

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

IT_ACCOUNT -

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

IT_PARTNER -

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

EXPORTING Parameters details for BBP_DOCUMENT_TO_EXT_MAPV

ES_HEADER -

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

ET_LIMIT -

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

ET_FREIGHT -

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

ET_TAX -

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

ET_SDLN -

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

ET_EXCHRATE -

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

ET_STATUS -

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

ET_TOL -

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

ET_ITEM -

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

ET_ITEM_REL -

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

ET_ATTACH -

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

ET_CONDITIONS -

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

ET_ORGDATA -

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

ET_ACCOUNT -

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

ET_PARTNER -

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

ET_LONGTEXT -

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

Copy and paste ABAP code example for BBP_DOCUMENT_TO_EXT_MAPV 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 ANY, "   
lv_iv_complete_transmission_ind  TYPE BBP_COMPLETE_TRANS_IND, "   GC_YES
lv_et_limit  TYPE BBPT_PDEXT_LIMIT, "   
lv_it_longtext  TYPE BBPT_PD_LONGTEXT, "   
lv_it_limit  TYPE BBPT_PD_LIMIT, "   
lv_et_freight  TYPE BBPT_PDEXT_FREIGHT, "   
lv_et_tax  TYPE BBPT_PDEXT_TAX, "   
lv_it_freight  TYPE BBPT_PD_FREIGHT, "   
lv_it_tax  TYPE BBPT_PD_TAX, "   
lv_et_sdln  TYPE BBPT_PDEXT_SDLN, "   
lv_it_sdln  TYPE BBPT_PD_SDLN, "   
lv_et_exchrate  TYPE BBPT_PDEXT_EXR, "   
lv_et_status  TYPE BBPT_PDEXT_STATUS, "   
lv_it_exchrate  TYPE BBPT_PD_EXR, "   
lv_et_tol  TYPE BBPT_PDEXT_TOL, "   
lv_it_status  TYPE BBPT_PD_STATUS, "   
lv_iv_message  TYPE CHAR40, "   
lv_iv_system_type  TYPE BBP_SYSTEM_TYPE, "   
lv_it_tol  TYPE BBPT_PD_TOL, "   
lv_et_item  TYPE TABLE, "   
lv_is_header  TYPE ANY, "   
lv_it_item  TYPE TABLE, "   
lv_et_item_rel  TYPE BBPT_PDEXT_IVHUB_IREL, "   
lv_et_attach  TYPE BBPT_PDEXT_ATTACH, "   
lv_it_item_rel  TYPE BBPT_IV_ITEM_REL, "   
lv_it_attach  TYPE BBPT_PDS_ATT_T, "   
lv_et_conditions  TYPE BBPT_PDEXT_CND_D, "   
lv_et_orgdata  TYPE BBPT_PDEXT_ORG, "   
lv_it_conditions  TYPE BBPT_PD_CND_D, "   
lv_et_account  TYPE BBPT_PDEXT_ACC, "   
lv_it_orgdata  TYPE BBPT_PD_ORG, "   
lv_et_partner  TYPE BBPT_PDEXT_PARTNER, "   
lv_it_account  TYPE BBPT_PD_ACC, "   
lv_it_partner  TYPE BBPT_PD_PARTNER, "   
lv_et_longtext  TYPE BBPT_PDEXT_LONGTEXT. "   

  CALL FUNCTION 'BBP_DOCUMENT_TO_EXT_MAPV'  "
    EXPORTING
         IV_COMPLETE_TRANSMISSION_IND = lv_iv_complete_transmission_ind
         IT_LONGTEXT = lv_it_longtext
         IT_LIMIT = lv_it_limit
         IT_FREIGHT = lv_it_freight
         IT_TAX = lv_it_tax
         IT_SDLN = lv_it_sdln
         IT_EXCHRATE = lv_it_exchrate
         IT_STATUS = lv_it_status
         IV_MESSAGE = lv_iv_message
         IV_SYSTEM_TYPE = lv_iv_system_type
         IT_TOL = lv_it_tol
         IS_HEADER = lv_is_header
         IT_ITEM = lv_it_item
         IT_ITEM_REL = lv_it_item_rel
         IT_ATTACH = lv_it_attach
         IT_CONDITIONS = lv_it_conditions
         IT_ORGDATA = lv_it_orgdata
         IT_ACCOUNT = lv_it_account
         IT_PARTNER = lv_it_partner
    IMPORTING
         ES_HEADER = lv_es_header
         ET_LIMIT = lv_et_limit
         ET_FREIGHT = lv_et_freight
         ET_TAX = lv_et_tax
         ET_SDLN = lv_et_sdln
         ET_EXCHRATE = lv_et_exchrate
         ET_STATUS = lv_et_status
         ET_TOL = lv_et_tol
         ET_ITEM = lv_et_item
         ET_ITEM_REL = lv_et_item_rel
         ET_ATTACH = lv_et_attach
         ET_CONDITIONS = lv_et_conditions
         ET_ORGDATA = lv_et_orgdata
         ET_ACCOUNT = lv_et_account
         ET_PARTNER = lv_et_partner
         ET_LONGTEXT = lv_et_longtext
. " BBP_DOCUMENT_TO_EXT_MAPV




ABAP code using 7.40 inline data declarations to call FM BBP_DOCUMENT_TO_EXT_MAPV

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.

 
DATA(ld_iv_complete_transmission_ind) = GC_YES.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!