SAP MRM_IVEXT_HEADER_FILL Function Module for Merge IVEXT header data
MRM_IVEXT_HEADER_FILL is a standard mrm ivext header fill SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Merge IVEXT header data 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 mrm ivext header fill FM, simply by entering the name MRM_IVEXT_HEADER_FILL into the relevant SAP transaction such as SE37 or SE38.
Function Group: MRM_EXT
Program Name: SAPLMRM_EXT
Main Program: SAPLMRM_EXT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MRM_IVEXT_HEADER_FILL 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 'MRM_IVEXT_HEADER_FILL'"Merge IVEXT header data.
EXPORTING
* IVEXT_BAPI_TAB = "
* POEXT_HEADER_TAB = "Enhancement Fields for Purchase Order (All Header Fields)
* POEXT_ITEM_TAB = "
* EK08RN_TAB = "
* DRSEG_TAB = "
RBSTAT_NEW = "Invoice document status
* DISPLAY = ' ' "
CHANGING
RBKPV = "
IMPORTING Parameters details for MRM_IVEXT_HEADER_FILL
IVEXT_BAPI_TAB -
Data type: MRM_TAB_IVEXTOptional: Yes
Call by Reference: Yes
POEXT_HEADER_TAB - Enhancement Fields for Purchase Order (All Header Fields)
Data type: ME_POEXT_HEADEROptional: Yes
Call by Reference: Yes
POEXT_ITEM_TAB -
Data type: ME_POEXT_ITEMOptional: Yes
Call by Reference: Yes
EK08RN_TAB -
Data type: MMCR_XEK08RNOptional: Yes
Call by Reference: Yes
DRSEG_TAB -
Data type: MMCR_TDRSEGOptional: Yes
Call by Reference: Yes
RBSTAT_NEW - Invoice document status
Data type: RBSTATOptional: No
Call by Reference: Yes
DISPLAY -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: No
Call by Reference: Yes
CHANGING Parameters details for MRM_IVEXT_HEADER_FILL
RBKPV -
Data type: MRM_RBKPVOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for MRM_IVEXT_HEADER_FILL 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_rbkpv | TYPE MRM_RBKPV, " | |||
| lv_ivext_bapi_tab | TYPE MRM_TAB_IVEXT, " | |||
| lv_poext_header_tab | TYPE ME_POEXT_HEADER, " | |||
| lv_poext_item_tab | TYPE ME_POEXT_ITEM, " | |||
| lv_ek08rn_tab | TYPE MMCR_XEK08RN, " | |||
| lv_drseg_tab | TYPE MMCR_TDRSEG, " | |||
| lv_rbstat_new | TYPE RBSTAT, " | |||
| lv_display | TYPE BOOLE-BOOLE. " SPACE |
|   CALL FUNCTION 'MRM_IVEXT_HEADER_FILL' "Merge IVEXT header data |
| EXPORTING | ||
| IVEXT_BAPI_TAB | = lv_ivext_bapi_tab | |
| POEXT_HEADER_TAB | = lv_poext_header_tab | |
| POEXT_ITEM_TAB | = lv_poext_item_tab | |
| EK08RN_TAB | = lv_ek08rn_tab | |
| DRSEG_TAB | = lv_drseg_tab | |
| RBSTAT_NEW | = lv_rbstat_new | |
| DISPLAY | = lv_display | |
| CHANGING | ||
| RBKPV | = lv_rbkpv | |
| . " MRM_IVEXT_HEADER_FILL | ||
ABAP code using 7.40 inline data declarations to call FM MRM_IVEXT_HEADER_FILL
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 BOOLE FROM BOOLE INTO @DATA(ld_display). | ||||
| DATA(ld_display) | = ' '. | |||
Search for further information about these or an SAP related objects