SAP IDOC_INPUT_BBP_IV_MAP Function Module for IDOC --> BAPI-Tabellen









IDOC_INPUT_BBP_IV_MAP is a standard idoc input bbp iv map SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IDOC --> BAPI-Tabellen processing and below is the pattern details for this FM, 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 idoc input bbp iv map FM, simply by entering the name IDOC_INPUT_BBP_IV_MAP into the relevant SAP transaction such as SE37 or SE38.

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



Function IDOC_INPUT_BBP_IV_MAP 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 'IDOC_INPUT_BBP_IV_MAP'"IDOC --> BAPI-Tabellen
IMPORTING
E_HD = "BBP-Rechnungskopf

TABLES
IDOC_DATA = "
TE_IT = "
TE_TAX = "
TE_SHP = "
TE_ADD = "
TE_CMT = "
* TE_EXR = "Umrechnungskurs
RETURN = "Returnparameter
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLBBPI4X_001 Update of Customer Fields for Invoice with Reference to PO
EXIT_SAPLBBPI_001 Determine UPF posting
EXIT_SAPLBBPI_002 Determine expense account
EXIT_SAPLBBPI_003 Mapping from Idocsegments E1BIVIC and E1BIVHC
EXIT_SAPLBBPI_004 Update for Customer Fields before call to FI-Interface
EXIT_SAPLBBPI_006 Idoc BBPIV mapping of segments

EXPORTING Parameters details for IDOC_INPUT_BBP_IV_MAP

E_HD - BBP-Rechnungskopf

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

TABLES Parameters details for IDOC_INPUT_BBP_IV_MAP

IDOC_DATA -

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

TE_IT -

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

TE_TAX -

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

TE_SHP -

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

TE_ADD -

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

TE_CMT -

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

TE_EXR - Umrechnungskurs

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

RETURN - Returnparameter

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

Copy and paste ABAP code example for IDOC_INPUT_BBP_IV_MAP 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_e_hd  TYPE BBP_IV_HD, "   
lt_idoc_data  TYPE STANDARD TABLE OF EDIDD, "   
lt_te_it  TYPE STANDARD TABLE OF BBP_IV_IT, "   
lt_te_tax  TYPE STANDARD TABLE OF BBP_IV_TAX, "   
lt_te_shp  TYPE STANDARD TABLE OF BBP_IV_SHP, "   
lt_te_add  TYPE STANDARD TABLE OF BBP_IV_ADD, "   
lt_te_cmt  TYPE STANDARD TABLE OF BBPACPO01, "   
lt_te_exr  TYPE STANDARD TABLE OF BBP_IV_EXR, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2. "   

  CALL FUNCTION 'IDOC_INPUT_BBP_IV_MAP'  "IDOC --> BAPI-Tabellen
    IMPORTING
         E_HD = lv_e_hd
    TABLES
         IDOC_DATA = lt_idoc_data
         TE_IT = lt_te_it
         TE_TAX = lt_te_tax
         TE_SHP = lt_te_shp
         TE_ADD = lt_te_add
         TE_CMT = lt_te_cmt
         TE_EXR = lt_te_exr
         RETURN = lt_return
. " IDOC_INPUT_BBP_IV_MAP




ABAP code using 7.40 inline data declarations to call FM IDOC_INPUT_BBP_IV_MAP

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!