SAP /SAPAPO/DM_PPM_POST Function Module for Update Module for PPM Data









/SAPAPO/DM_PPM_POST is a standard /sapapo/dm ppm post SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Update Module for PPM 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 /sapapo/dm ppm post FM, simply by entering the name /SAPAPO/DM_PPM_POST into the relevant SAP transaction such as SE37 or SE38.

Function Group: /SAPAPO/DM_PPM
Program Name: /SAPAPO/SAPLDM_PPM
Main Program: /SAPAPO/SAPLDM_PPM
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 1



Function /SAPAPO/DM_PPM_POST 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 '/SAPAPO/DM_PPM_POST'"Update Module for PPM Data
EXPORTING
IF_VB = "

TABLES
* IT_PLANMAP = "
* IT_PLANACTT = "
* IT_ACTREL = "
* IT_MODE = "
* IT_REQCAP = "
* IT_COMP = "
* IT_COMPALT = "
* IT_COMPALTZ = "
* IT_PLANACTZ = "
* IT_TDPP = "
* IT_PPMMAP = "
* IT_PLAN = "
* IT_PLTEXT = "Sprachabhängige Texte zum Plan im Produktionsprozessmodell
* IT_PPMT = "Zuordnung Material<-->Plan: Sprachabhängige Texte
* IT_PRODVERZ = "
* IT_PLANOPR = "
* IT_PLANOPRT = "
* IT_PLANACT = "
.



IMPORTING Parameters details for /SAPAPO/DM_PPM_POST

IF_VB -

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

TABLES Parameters details for /SAPAPO/DM_PPM_POST

IT_PLANMAP -

Data type: /SAPAPO/PLANMAP
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_PLANACTT -

Data type: /SAPAPO/PLANACTT
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_ACTREL -

Data type: /SAPAPO/ACTREL
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_MODE -

Data type: /SAPAPO/MODE
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_REQCAP -

Data type: /SAPAPO/REQCAP
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_COMP -

Data type: /SAPAPO/COMP
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_COMPALT -

Data type: /SAPAPO/COMPALT
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_COMPALTZ -

Data type: /SAPAPO/COMPALTZ
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_PLANACTZ -

Data type: /SAPAPO/PLANACTZ
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_TDPP -

Data type: /SAPAPO/TDPP
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_PPMMAP -

Data type: /SAPAPO/PPMMAP
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_PLAN -

Data type: /SAPAPO/PLAN
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_PLTEXT - Sprachabhängige Texte zum Plan im Produktionsprozessmodell

Data type: /SAPAPO/PLTEXT
Optional: Yes
Call by Reference: Yes

IT_PPMT - Zuordnung Material<-->Plan: Sprachabhängige Texte

Data type: /SAPAPO/PPMT
Optional: Yes
Call by Reference: Yes

IT_PRODVERZ -

Data type: /SAPAPO/PRODVERZ
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_PLANOPR -

Data type: /SAPAPO/PLANOPR
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_PLANOPRT -

Data type: /SAPAPO/PLANOPRT
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_PLANACT -

Data type: /SAPAPO/PLANACT
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for /SAPAPO/DM_PPM_POST 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_if_vb  TYPE CHAR01, "   
lt_it_planmap  TYPE STANDARD TABLE OF /SAPAPO/PLANMAP, "   
lt_it_planactt  TYPE STANDARD TABLE OF /SAPAPO/PLANACTT, "   
lt_it_actrel  TYPE STANDARD TABLE OF /SAPAPO/ACTREL, "   
lt_it_mode  TYPE STANDARD TABLE OF /SAPAPO/MODE, "   
lt_it_reqcap  TYPE STANDARD TABLE OF /SAPAPO/REQCAP, "   
lt_it_comp  TYPE STANDARD TABLE OF /SAPAPO/COMP, "   
lt_it_compalt  TYPE STANDARD TABLE OF /SAPAPO/COMPALT, "   
lt_it_compaltz  TYPE STANDARD TABLE OF /SAPAPO/COMPALTZ, "   
lt_it_planactz  TYPE STANDARD TABLE OF /SAPAPO/PLANACTZ, "   
lt_it_tdpp  TYPE STANDARD TABLE OF /SAPAPO/TDPP, "   
lt_it_ppmmap  TYPE STANDARD TABLE OF /SAPAPO/PPMMAP, "   
lt_it_plan  TYPE STANDARD TABLE OF /SAPAPO/PLAN, "   
lt_it_pltext  TYPE STANDARD TABLE OF /SAPAPO/PLTEXT, "   
lt_it_ppmt  TYPE STANDARD TABLE OF /SAPAPO/PPMT, "   
lt_it_prodverz  TYPE STANDARD TABLE OF /SAPAPO/PRODVERZ, "   
lt_it_planopr  TYPE STANDARD TABLE OF /SAPAPO/PLANOPR, "   
lt_it_planoprt  TYPE STANDARD TABLE OF /SAPAPO/PLANOPRT, "   
lt_it_planact  TYPE STANDARD TABLE OF /SAPAPO/PLANACT. "   

  CALL FUNCTION '/SAPAPO/DM_PPM_POST'  "Update Module for PPM Data
    EXPORTING
         IF_VB = lv_if_vb
    TABLES
         IT_PLANMAP = lt_it_planmap
         IT_PLANACTT = lt_it_planactt
         IT_ACTREL = lt_it_actrel
         IT_MODE = lt_it_mode
         IT_REQCAP = lt_it_reqcap
         IT_COMP = lt_it_comp
         IT_COMPALT = lt_it_compalt
         IT_COMPALTZ = lt_it_compaltz
         IT_PLANACTZ = lt_it_planactz
         IT_TDPP = lt_it_tdpp
         IT_PPMMAP = lt_it_ppmmap
         IT_PLAN = lt_it_plan
         IT_PLTEXT = lt_it_pltext
         IT_PPMT = lt_it_ppmt
         IT_PRODVERZ = lt_it_prodverz
         IT_PLANOPR = lt_it_planopr
         IT_PLANOPRT = lt_it_planoprt
         IT_PLANACT = lt_it_planact
. " /SAPAPO/DM_PPM_POST




ABAP code using 7.40 inline data declarations to call FM /SAPAPO/DM_PPM_POST

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!