SAP BBP_DOCUMENT_FROM_EXT_MAPV Function Module for









BBP_DOCUMENT_FROM_EXT_MAPV is a standard bbp document from 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 from ext mapv FM, simply by entering the name BBP_DOCUMENT_FROM_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_FROM_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_FROM_EXT_MAPV'"
EXPORTING
IS_HEADER = "
* IT_FREIGHT = "
* IT_TAX = "
* IT_SDLN = "
* IT_EXCHRATE = "
* IT_CONDITIONS = "
IV_MESSAGE = "
* IT_ITEM = "
* IT_ITEM_REL = "
* IT_ATTACH = "
* IT_ACCOUNT = "
* IT_PARTNER = "
* IT_ORGDATA = "
* IT_LONGTEXT = "
* IT_LIMIT = "

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



IMPORTING Parameters details for BBP_DOCUMENT_FROM_EXT_MAPV

IS_HEADER -

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

IT_FREIGHT -

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

IT_TAX -

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

IT_SDLN -

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

IT_EXCHRATE -

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

IT_CONDITIONS -

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

IV_MESSAGE -

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

IT_ITEM -

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

IT_ITEM_REL -

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

IT_ATTACH -

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

IT_ACCOUNT -

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

IT_PARTNER -

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

IT_ORGDATA -

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

IT_LONGTEXT -

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

IT_LIMIT -

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

EXPORTING Parameters details for BBP_DOCUMENT_FROM_EXT_MAPV

ES_HEADER -

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

ET_FREIGHT -

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

ET_TAX -

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

ET_SDLN -

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

ET_EXCHRATE -

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

ET_CONDITIONS -

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

ET_ITEM -

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

ET_ITEM_REL -

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

ET_ATTACH -

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

ET_ACCOUNT -

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

ET_PARTNER -

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

ET_ORGDATA -

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

ET_LONGTEXT -

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

ET_LIMIT -

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

Copy and paste ABAP code example for BBP_DOCUMENT_FROM_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_is_header  TYPE ANY, "   
lv_et_freight  TYPE BBPT_PD_FREIGHT, "   
lv_it_freight  TYPE BBPT_PDEXT_FREIGHT, "   
lv_et_tax  TYPE BBPT_PD_TAX, "   
lv_it_tax  TYPE BBPT_PDEXT_TAX, "   
lv_et_sdln  TYPE BBPT_PD_SDLN, "   
lv_it_sdln  TYPE BBPT_PDEXT_SDLN, "   
lv_et_exchrate  TYPE BBPT_PD_EXR, "   
lv_it_exchrate  TYPE BBPT_PDEXT_EXR, "   
lv_et_conditions  TYPE BBPT_PD_CND_ICU, "   
lv_it_conditions  TYPE BBPT_PDEXT_CND_D, "   
lv_iv_message  TYPE CHAR40, "   
lv_et_item  TYPE TABLE, "   
lv_it_item  TYPE TABLE, "   
lv_et_item_rel  TYPE BBPT_IV_ITEM_REL, "   
lv_it_item_rel  TYPE BBPT_PDEXT_IVHUB_IREL, "   
lv_et_attach  TYPE BBPT_PDS_ATT_T, "   
lv_it_attach  TYPE BBPT_PDEXT_ATTACH, "   
lv_et_account  TYPE BBPT_PD_ACC, "   
lv_it_account  TYPE BBPT_PDEXT_ACC, "   
lv_et_partner  TYPE BBPT_PD_PARTNER, "   
lv_it_partner  TYPE BBPT_PDEXT_PARTNER, "   
lv_et_orgdata  TYPE BBPT_PD_ORG, "   
lv_it_orgdata  TYPE BBPT_PDEXT_ORG, "   
lv_et_longtext  TYPE BBPT_PD_LONGTEXT, "   
lv_it_longtext  TYPE BBPT_PDEXT_LONGTEXT, "   
lv_et_limit  TYPE BBPT_PD_LIMIT, "   
lv_it_limit  TYPE BBPT_PDEXT_LIMIT. "   

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




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

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!