SAP PPC1DM_MATLIST_PREPARE Function Module for NOTRANSL: Liefert die in T2 und T2' einzufügenden Sätze und die T4-Einträg









PPC1DM_MATLIST_PREPARE is a standard ppc1dm matlist prepare 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: Liefert die in T2 und T2' einzufügenden Sätze und die T4-Einträg 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 ppc1dm matlist prepare FM, simply by entering the name PPC1DM_MATLIST_PREPARE into the relevant SAP transaction such as SE37 or SE38.

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



Function PPC1DM_MATLIST_PREPARE 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 'PPC1DM_MATLIST_PREPARE'"NOTRANSL: Liefert die in T2 und T2' einzufügenden Sätze und die T4-Einträg
EXPORTING
IS_HEAD = "Internal confirmation header key (GUID, format RAW16)

IMPORTING
EF_NO_ASYNC = "

TABLES
IT_APOCOMPLIST = "
ET_NEW_MAT = "
ET_NEW_MAT_DET = "
ET_CONF_MAT = "
ET_CONF_MAT_VAR = "Variance with Target Quantity for Confirmed Materials
ET_SYNC_MAT = "

EXCEPTIONS
NUMBER_RANGE_ERROR = 1 BASE_UNIT_ERROR = 2 UOM_CONVERSION = 3 INCOMPLETE_DATA = 4 MBEW_ERROR = 5 INTERNAL_ERROR = 6
.



IMPORTING Parameters details for PPC1DM_MATLIST_PREPARE

IS_HEAD - Internal confirmation header key (GUID, format RAW16)

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

EXPORTING Parameters details for PPC1DM_MATLIST_PREPARE

EF_NO_ASYNC -

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

TABLES Parameters details for PPC1DM_MATLIST_PREPARE

IT_APOCOMPLIST -

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

ET_NEW_MAT -

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

ET_NEW_MAT_DET -

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

ET_CONF_MAT -

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

ET_CONF_MAT_VAR - Variance with Target Quantity for Confirmed Materials

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

ET_SYNC_MAT -

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

EXCEPTIONS details

NUMBER_RANGE_ERROR -

Data type:
Optional: No
Call by Reference: Yes

BASE_UNIT_ERROR -

Data type:
Optional: No
Call by Reference: Yes

UOM_CONVERSION -

Data type:
Optional: No
Call by Reference: Yes

INCOMPLETE_DATA -

Data type:
Optional: No
Call by Reference: Yes

MBEW_ERROR -

Data type:
Optional: No
Call by Reference: Yes

INTERNAL_ERROR - Internal error

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for PPC1DM_MATLIST_PREPARE 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_is_head  TYPE PPC_HEAD, "   
lv_ef_no_async  TYPE C, "   
lt_it_apocomplist  TYPE STANDARD TABLE OF PPC_APOCOMPLIST_EXT, "   
lv_number_range_error  TYPE PPC_APOCOMPLIST_EXT, "   
lt_et_new_mat  TYPE STANDARD TABLE OF PPC_MAT, "   
lv_base_unit_error  TYPE PPC_MAT, "   
lt_et_new_mat_det  TYPE STANDARD TABLE OF PPC_MAT_DET, "   
lv_uom_conversion  TYPE PPC_MAT_DET, "   
lt_et_conf_mat  TYPE STANDARD TABLE OF PPC_CONF_MAT, "   
lv_incomplete_data  TYPE PPC_CONF_MAT, "   
lv_mbew_error  TYPE PPC_CONF_MAT, "   
lt_et_conf_mat_var  TYPE STANDARD TABLE OF PPC_CONF_MAT_VAR, "   
lt_et_sync_mat  TYPE STANDARD TABLE OF PPC_APOCOMPLIST_EXT, "   
lv_internal_error  TYPE PPC_APOCOMPLIST_EXT. "   

  CALL FUNCTION 'PPC1DM_MATLIST_PREPARE'  "NOTRANSL: Liefert die in T2 und T2' einzufügenden Sätze und die T4-Einträg
    EXPORTING
         IS_HEAD = lv_is_head
    IMPORTING
         EF_NO_ASYNC = lv_ef_no_async
    TABLES
         IT_APOCOMPLIST = lt_it_apocomplist
         ET_NEW_MAT = lt_et_new_mat
         ET_NEW_MAT_DET = lt_et_new_mat_det
         ET_CONF_MAT = lt_et_conf_mat
         ET_CONF_MAT_VAR = lt_et_conf_mat_var
         ET_SYNC_MAT = lt_et_sync_mat
    EXCEPTIONS
        NUMBER_RANGE_ERROR = 1
        BASE_UNIT_ERROR = 2
        UOM_CONVERSION = 3
        INCOMPLETE_DATA = 4
        MBEW_ERROR = 5
        INTERNAL_ERROR = 6
. " PPC1DM_MATLIST_PREPARE




ABAP code using 7.40 inline data declarations to call FM PPC1DM_MATLIST_PREPARE

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!