SAP PPEUILOAD_CREATE Function Module for NOTRANSL: Anlegen von iPPE-Objekten
PPEUILOAD_CREATE is a standard ppeuiload create 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: Anlegen von iPPE-Objekten 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 ppeuiload create FM, simply by entering the name PPEUILOAD_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: PPEUILOAD
Program Name: SAPLPPEUILOAD
Main Program: SAPLPPEUILOAD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function PPEUILOAD_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 'PPEUILOAD_CREATE'"NOTRANSL: Anlegen von iPPE-Objekten.
EXPORTING
* IM_MSG_OPT = 'A' "Message Handling in iPPE
* IM_APPLOBJ_TYPE = "Application Object Type for iPPE
IM_TYPE_TAB = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IM_EXOBJ_TYPE_TAB = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IM_CONTEXT_ENV = "iPPE Application Object Type
* IM_CONTEXT_NAME = "Context Name
IMPORTING
EX_PNODID = "DE-EN-LANG-SWITCH-NO-TRANSLATION
EX_POSVID = "DE-EN-LANG-SWITCH-NO-TRANSLATION
EX_PALTID = "DE-EN-LANG-SWITCH-NO-TRANSLATION
EX_CLASS = "Class
EX_KLART = "Class Type
EX_EX_OBJ_ID = "DE-EN-LANG-SWITCH-NO-TRANSLATION
EX_EX_OBJ_PARAM_TAB = "
EXCEPTIONS
CREATE_ERROR = 1
IMPORTING Parameters details for PPEUILOAD_CREATE
IM_MSG_OPT - Message Handling in iPPE
Data type: PPET_MSG_OPTDefault: 'A'
Optional: Yes
Call by Reference: Yes
IM_APPLOBJ_TYPE - Application Object Type for iPPE
Data type: PVS_APPLOBJ_TYPEOptional: Yes
Call by Reference: Yes
IM_TYPE_TAB - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: PPET_OTYPE_PXTYPE_TABOptional: No
Call by Reference: Yes
IM_EXOBJ_TYPE_TAB - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: PPET_APPL_TABOptional: No
Call by Reference: Yes
IM_CONTEXT_ENV - iPPE Application Object Type
Data type: PPE_APPLOBJ_TYPEOptional: Yes
Call by Reference: Yes
IM_CONTEXT_NAME - Context Name
Data type: PPET0_GUI_STATUS-CONTEXT_NAMEOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for PPEUILOAD_CREATE
EX_PNODID - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: PPET_PNODID_LIOptional: No
Call by Reference: Yes
EX_POSVID - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: PPET_POSVID_LIOptional: No
Call by Reference: Yes
EX_PALTID - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: PPET_PALTID_LIOptional: No
Call by Reference: Yes
EX_CLASS - Class
Data type: PPET_CLASS-CLASSOptional: No
Call by Reference: Yes
EX_KLART - Class Type
Data type: PPET_CLASS-KLARTOptional: No
Call by Reference: Yes
EX_EX_OBJ_ID - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: PPET_APPL_EX_OBJ_IDOptional: No
Call by Reference: Yes
EX_EX_OBJ_PARAM_TAB -
Data type: PPET0_EXOBJ_PARAM_TABOptional: No
Call by Reference: Yes
EXCEPTIONS details
CREATE_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for PPEUILOAD_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_ex_pnodid | TYPE PPET_PNODID_LI, " | |||
| lv_im_msg_opt | TYPE PPET_MSG_OPT, " 'A' | |||
| lv_create_error | TYPE PPET_MSG_OPT, " | |||
| lv_ex_posvid | TYPE PPET_POSVID_LI, " | |||
| lv_im_applobj_type | TYPE PVS_APPLOBJ_TYPE, " | |||
| lv_ex_paltid | TYPE PPET_PALTID_LI, " | |||
| lv_im_type_tab | TYPE PPET_OTYPE_PXTYPE_TAB, " | |||
| lv_ex_class | TYPE PPET_CLASS-CLASS, " | |||
| lv_im_exobj_type_tab | TYPE PPET_APPL_TAB, " | |||
| lv_ex_klart | TYPE PPET_CLASS-KLART, " | |||
| lv_im_context_env | TYPE PPE_APPLOBJ_TYPE, " | |||
| lv_ex_ex_obj_id | TYPE PPET_APPL_EX_OBJ_ID, " | |||
| lv_im_context_name | TYPE PPET0_GUI_STATUS-CONTEXT_NAME, " | |||
| lv_ex_ex_obj_param_tab | TYPE PPET0_EXOBJ_PARAM_TAB. " |
|   CALL FUNCTION 'PPEUILOAD_CREATE' "NOTRANSL: Anlegen von iPPE-Objekten |
| EXPORTING | ||
| IM_MSG_OPT | = lv_im_msg_opt | |
| IM_APPLOBJ_TYPE | = lv_im_applobj_type | |
| IM_TYPE_TAB | = lv_im_type_tab | |
| IM_EXOBJ_TYPE_TAB | = lv_im_exobj_type_tab | |
| IM_CONTEXT_ENV | = lv_im_context_env | |
| IM_CONTEXT_NAME | = lv_im_context_name | |
| IMPORTING | ||
| EX_PNODID | = lv_ex_pnodid | |
| EX_POSVID | = lv_ex_posvid | |
| EX_PALTID | = lv_ex_paltid | |
| EX_CLASS | = lv_ex_class | |
| EX_KLART | = lv_ex_klart | |
| EX_EX_OBJ_ID | = lv_ex_ex_obj_id | |
| EX_EX_OBJ_PARAM_TAB | = lv_ex_ex_obj_param_tab | |
| EXCEPTIONS | ||
| CREATE_ERROR = 1 | ||
| . " PPEUILOAD_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM PPEUILOAD_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.| DATA(ld_im_msg_opt) | = 'A'. | |||
| "SELECT single CLASS FROM PPET_CLASS INTO @DATA(ld_ex_class). | ||||
| "SELECT single KLART FROM PPET_CLASS INTO @DATA(ld_ex_klart). | ||||
| "SELECT single CONTEXT_NAME FROM PPET0_GUI_STATUS INTO @DATA(ld_im_context_name). | ||||
Search for further information about these or an SAP related objects