SAP MV02_GET_BUFFERED_IDOC_DATA Function Module for NOTRANSL: Lesen der IDoc Daten vom Puffer









MV02_GET_BUFFERED_IDOC_DATA is a standard mv02 get buffered idoc data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Lesen der IDoc Daten vom Puffer 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 mv02 get buffered idoc data FM, simply by entering the name MV02_GET_BUFFERED_IDOC_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function MV02_GET_BUFFERED_IDOC_DATA 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 'MV02_GET_BUFFERED_IDOC_DATA'"NOTRANSL: Lesen der IDoc Daten vom Puffer
TABLES
* AMARA_UEB = "Couple of Fields Added to MARA
* ASTEUMM_UEB = "Tax Data Transfer
* AMLGN_UEB = "Field TRANC Added to MLGN
* AMLGT_UEB = "Field TRANC Added to MLGT
* AMPGD_UEB = "Field TRANC Added to MPGD
* AMPOP_UEB = "Field TRANC Added to MPOP
* AMVEG_UEB = "Data Transfer: Consumption Incl. Administration
* AMVEU_UEB = "Data Transfer: Unplanned Consumption Incl. Administration
* AMVKE_UEB = "Field TRANC Added to MVKE
* ALTX1_UEB = "Data Transfer: Long Texts
* AMPRW_UEB = "Data Transfer: Forecast Values Extended
* AMAKT_UEB = "Field TRANC Added to MAKT
* AE1CUCFG_UEB = "Transfer Structure For Configuration Data
* AE1CUINS_UEB = "Transfer Structure: Instance Data
* AE1CUVAL_UEB = "Transfer Structure CU: Characteristic Inheritance
* AE1CUCOM_UEB = "Transfer Structure Master Configuration Profile
* AMFIELDRES = "BI (New): Fields That Must Be Initialized for Each Transact.
* AMARC_UEB = "Field TRANC Added to MARC
* AMARD_UEB = "Field TRANC Added to MARD
* AMFHM_UEB = "Field TRANC Added to MFHM
* AMARM_UEB = "Field TRANC Added to MARM
* AMEAN_UEB = "Data Transfer: EANs
* AMBEW_UEB = "Field TRANC Added to MBEW
* ASTEU_UEB = "Tax Data Transfer
.




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_SAPLMV02_001 No Longer Used as of Rel. 3.0B
EXIT_SAPLMV02_002 Enhancements in Material Master: IDoc - Post

TABLES Parameters details for MV02_GET_BUFFERED_IDOC_DATA

AMARA_UEB - Couple of Fields Added to MARA

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

ASTEUMM_UEB - Tax Data Transfer

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

AMLGN_UEB - Field TRANC Added to MLGN

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

AMLGT_UEB - Field TRANC Added to MLGT

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

AMPGD_UEB - Field TRANC Added to MPGD

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

AMPOP_UEB - Field TRANC Added to MPOP

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

AMVEG_UEB - Data Transfer: Consumption Incl. Administration

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

AMVEU_UEB - Data Transfer: Unplanned Consumption Incl. Administration

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

AMVKE_UEB - Field TRANC Added to MVKE

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

ALTX1_UEB - Data Transfer: Long Texts

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

AMPRW_UEB - Data Transfer: Forecast Values Extended

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

AMAKT_UEB - Field TRANC Added to MAKT

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

AE1CUCFG_UEB - Transfer Structure For Configuration Data

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

AE1CUINS_UEB - Transfer Structure: Instance Data

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

AE1CUVAL_UEB - Transfer Structure CU: Characteristic Inheritance

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

AE1CUCOM_UEB - Transfer Structure Master Configuration Profile

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

AMFIELDRES - BI (New): Fields That Must Be Initialized for Each Transact.

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

AMARC_UEB - Field TRANC Added to MARC

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

AMARD_UEB - Field TRANC Added to MARD

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

AMFHM_UEB - Field TRANC Added to MFHM

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

AMARM_UEB - Field TRANC Added to MARM

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

AMEAN_UEB - Data Transfer: EANs

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

AMBEW_UEB - Field TRANC Added to MBEW

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

ASTEU_UEB - Tax Data Transfer

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

Copy and paste ABAP code example for MV02_GET_BUFFERED_IDOC_DATA 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:
lt_amara_ueb  TYPE STANDARD TABLE OF MARA_UEB, "   
lt_asteumm_ueb  TYPE STANDARD TABLE OF STEUMM_UEB, "   
lt_amlgn_ueb  TYPE STANDARD TABLE OF MLGN_UEB, "   
lt_amlgt_ueb  TYPE STANDARD TABLE OF MLGT_UEB, "   
lt_ampgd_ueb  TYPE STANDARD TABLE OF MPGD_UEB, "   
lt_ampop_ueb  TYPE STANDARD TABLE OF MPOP_UEB, "   
lt_amveg_ueb  TYPE STANDARD TABLE OF MVEG_UEB, "   
lt_amveu_ueb  TYPE STANDARD TABLE OF MVEU_UEB, "   
lt_amvke_ueb  TYPE STANDARD TABLE OF MVKE_UEB, "   
lt_altx1_ueb  TYPE STANDARD TABLE OF LTX1_UEB, "   
lt_amprw_ueb  TYPE STANDARD TABLE OF MPRW_UEB, "   
lt_amakt_ueb  TYPE STANDARD TABLE OF MAKT_UEB, "   
lt_ae1cucfg_ueb  TYPE STANDARD TABLE OF E1CUCFG_UEB, "   
lt_ae1cuins_ueb  TYPE STANDARD TABLE OF E1CUINS_UEB, "   
lt_ae1cuval_ueb  TYPE STANDARD TABLE OF E1CUVAL_UEB, "   
lt_ae1cucom_ueb  TYPE STANDARD TABLE OF E1CUCOM_UEB, "   
lt_amfieldres  TYPE STANDARD TABLE OF MFIELDRES, "   
lt_amarc_ueb  TYPE STANDARD TABLE OF MARC_UEB, "   
lt_amard_ueb  TYPE STANDARD TABLE OF MARD_UEB, "   
lt_amfhm_ueb  TYPE STANDARD TABLE OF MFHM_UEB, "   
lt_amarm_ueb  TYPE STANDARD TABLE OF MARM_UEB, "   
lt_amean_ueb  TYPE STANDARD TABLE OF MEA1_UEB, "   
lt_ambew_ueb  TYPE STANDARD TABLE OF MBEW_UEB, "   
lt_asteu_ueb  TYPE STANDARD TABLE OF STEU_UEB. "   

  CALL FUNCTION 'MV02_GET_BUFFERED_IDOC_DATA'  "NOTRANSL: Lesen der IDoc Daten vom Puffer
    TABLES
         AMARA_UEB = lt_amara_ueb
         ASTEUMM_UEB = lt_asteumm_ueb
         AMLGN_UEB = lt_amlgn_ueb
         AMLGT_UEB = lt_amlgt_ueb
         AMPGD_UEB = lt_ampgd_ueb
         AMPOP_UEB = lt_ampop_ueb
         AMVEG_UEB = lt_amveg_ueb
         AMVEU_UEB = lt_amveu_ueb
         AMVKE_UEB = lt_amvke_ueb
         ALTX1_UEB = lt_altx1_ueb
         AMPRW_UEB = lt_amprw_ueb
         AMAKT_UEB = lt_amakt_ueb
         AE1CUCFG_UEB = lt_ae1cucfg_ueb
         AE1CUINS_UEB = lt_ae1cuins_ueb
         AE1CUVAL_UEB = lt_ae1cuval_ueb
         AE1CUCOM_UEB = lt_ae1cucom_ueb
         AMFIELDRES = lt_amfieldres
         AMARC_UEB = lt_amarc_ueb
         AMARD_UEB = lt_amard_ueb
         AMFHM_UEB = lt_amfhm_ueb
         AMARM_UEB = lt_amarm_ueb
         AMEAN_UEB = lt_amean_ueb
         AMBEW_UEB = lt_ambew_ueb
         ASTEU_UEB = lt_asteu_ueb
. " MV02_GET_BUFFERED_IDOC_DATA




ABAP code using 7.40 inline data declarations to call FM MV02_GET_BUFFERED_IDOC_DATA

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!