SAP /ISDFPS/CPPE_MPO_CREATE Function Module for









/ISDFPS/CPPE_MPO_CREATE is a standard /isdfps/cppe mpo create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 /isdfps/cppe mpo create FM, simply by entering the name /ISDFPS/CPPE_MPO_CREATE into the relevant SAP transaction such as SE37 or SE38.

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



Function /ISDFPS/CPPE_MPO_CREATE 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 '/ISDFPS/CPPE_MPO_CREATE'"
EXPORTING
* I_OBJECT = "
* I_NURDOK = "
* I_SAVEPROT = "

IMPORTING
SUBRC = "

CHANGING
I_COUNT = "

TABLES
I_RECORD = "

EXCEPTIONS
ERROR_CREATE = 1 ERROR_STATUS = 2 ERROR_TEXT = 3
.



IMPORTING Parameters details for /ISDFPS/CPPE_MPO_CREATE

I_OBJECT -

Data type: PNODID-APPLOBJ_TYPE
Optional: Yes
Call by Reference: Yes

I_NURDOK -

Data type: /ISDFPS/CPPE_MPO-FREE_TEXT
Optional: Yes
Call by Reference: Yes

I_SAVEPROT -

Data type: /ISDFPS/MPO_PROT
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for /ISDFPS/CPPE_MPO_CREATE

SUBRC -

Data type: SYST-SUBRC
Optional: No
Call by Reference: Yes

CHANGING Parameters details for /ISDFPS/CPPE_MPO_CREATE

I_COUNT -

Data type: /ISDFPS/MPO_CREATE
Optional: No
Call by Reference: Yes

TABLES Parameters details for /ISDFPS/CPPE_MPO_CREATE

I_RECORD -

Data type: /ISDFPS/CPPE_MPO
Optional: No
Call by Reference: Yes

EXCEPTIONS details

ERROR_CREATE -

Data type:
Optional: No
Call by Reference: Yes

ERROR_STATUS -

Data type:
Optional: No
Call by Reference: Yes

ERROR_TEXT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for /ISDFPS/CPPE_MPO_CREATE 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_subrc  TYPE SYST-SUBRC, "   
lv_i_count  TYPE /ISDFPS/MPO_CREATE, "   
lv_i_object  TYPE PNODID-APPLOBJ_TYPE, "   
lt_i_record  TYPE STANDARD TABLE OF /ISDFPS/CPPE_MPO, "   
lv_error_create  TYPE /ISDFPS/CPPE_MPO, "   
lv_i_nurdok  TYPE /ISDFPS/CPPE_MPO-FREE_TEXT, "   
lv_error_status  TYPE /ISDFPS/CPPE_MPO, "   
lv_error_text  TYPE /ISDFPS/CPPE_MPO, "   
lv_i_saveprot  TYPE /ISDFPS/MPO_PROT. "   

  CALL FUNCTION '/ISDFPS/CPPE_MPO_CREATE'  "
    EXPORTING
         I_OBJECT = lv_i_object
         I_NURDOK = lv_i_nurdok
         I_SAVEPROT = lv_i_saveprot
    IMPORTING
         SUBRC = lv_subrc
    CHANGING
         I_COUNT = lv_i_count
    TABLES
         I_RECORD = lt_i_record
    EXCEPTIONS
        ERROR_CREATE = 1
        ERROR_STATUS = 2
        ERROR_TEXT = 3
. " /ISDFPS/CPPE_MPO_CREATE




ABAP code using 7.40 inline data declarations to call FM /ISDFPS/CPPE_MPO_CREATE

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 SUBRC FROM SYST INTO @DATA(ld_subrc).
 
 
"SELECT single APPLOBJ_TYPE FROM PNODID INTO @DATA(ld_i_object).
 
 
 
"SELECT single FREE_TEXT FROM /ISDFPS/CPPE_MPO INTO @DATA(ld_i_nurdok).
 
 
 
 


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!