SAP PPC1DM_ACTLIST_PREPARE Function Module for NOTRANSL: Liefert die neuen Datenbankeinträge









PPC1DM_ACTLIST_PREPARE is a standard ppc1dm actlist 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 neuen Datenbankeinträge 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 actlist prepare FM, simply by entering the name PPC1DM_ACTLIST_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_ACTLIST_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_ACTLIST_PREPARE'"NOTRANSL: Liefert die neuen Datenbankeinträge
EXPORTING
IS_HEAD = "Document PP Confirmation - Header

TABLES
IT_APOACTLIST = "PPC: Table of Confirmed Production Activities
ET_NEW_ACT = "List of All Confirmed Activities
ET_CONF_ACT = "
ET_CONF_ACT_VAR = "Variances with Target Duration of Production Activities

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



IMPORTING Parameters details for PPC1DM_ACTLIST_PREPARE

IS_HEAD - Document PP Confirmation - Header

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

TABLES Parameters details for PPC1DM_ACTLIST_PREPARE

IT_APOACTLIST - PPC: Table of Confirmed Production Activities

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

ET_NEW_ACT - List of All Confirmed Activities

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

ET_CONF_ACT -

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

ET_CONF_ACT_VAR - Variances with Target Duration of Production Activities

Data type: PPC_CONF_ACT_VAR
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

INTERNAL_ERROR - Internal error

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for PPC1DM_ACTLIST_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, "   
lt_it_apoactlist  TYPE STANDARD TABLE OF PPC_APOACTLIST, "   
lv_number_range_error  TYPE PPC_APOACTLIST, "   
lt_et_new_act  TYPE STANDARD TABLE OF PPC_ACT, "   
lv_base_unit_error  TYPE PPC_ACT, "   
lt_et_conf_act  TYPE STANDARD TABLE OF PPC_CONF_ACT, "   
lv_uom_conversion  TYPE PPC_CONF_ACT, "   
lt_et_conf_act_var  TYPE STANDARD TABLE OF PPC_CONF_ACT_VAR, "   
lv_incomplete_data  TYPE PPC_CONF_ACT_VAR, "   
lv_internal_error  TYPE PPC_CONF_ACT_VAR. "   

  CALL FUNCTION 'PPC1DM_ACTLIST_PREPARE'  "NOTRANSL: Liefert die neuen Datenbankeinträge
    EXPORTING
         IS_HEAD = lv_is_head
    TABLES
         IT_APOACTLIST = lt_it_apoactlist
         ET_NEW_ACT = lt_et_new_act
         ET_CONF_ACT = lt_et_conf_act
         ET_CONF_ACT_VAR = lt_et_conf_act_var
    EXCEPTIONS
        NUMBER_RANGE_ERROR = 1
        BASE_UNIT_ERROR = 2
        UOM_CONVERSION = 3
        INCOMPLETE_DATA = 4
        INTERNAL_ERROR = 5
. " PPC1DM_ACTLIST_PREPARE




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