SAP PPEU3_TEMPLATE_READ Function Module for NOTRANSL: Auslesen VBK-Knotenstruktur









PPEU3_TEMPLATE_READ is a standard ppeu3 template read 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: Auslesen VBK-Knotenstruktur 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 ppeu3 template read FM, simply by entering the name PPEU3_TEMPLATE_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function PPEU3_TEMPLATE_READ 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 'PPEU3_TEMPLATE_READ'"NOTRANSL: Auslesen VBK-Knotenstruktur
EXPORTING
* IM_MSG_HANDLING = 'A' "Single-Character Flag
IM_GUID = "Internal Identification for PVS Objects
IM_OTYPE = "iPPE Object Type
* IM_WITH_TEXT = ' ' "Checkbox

IMPORTING
EX_PNODID = "Assembly Node
EX_PALTID_TAB = "Variant assy alts
EX_PRELID_TAB = "DE-EN-LANG-SWITCH-NO-TRANSLATION
EX_PNODID_TAB = "Variant Assembly Item Node
EX_PNODTX_TAB = "DE-EN-LANG-SWITCH-NO-TRANSLATION
EX_PNCMP_TAB = "DE-EN-LANG-SWITCH-NO-TRANSLATION

EXCEPTIONS
ERROR = 1
.



IMPORTING Parameters details for PPEU3_TEMPLATE_READ

IM_MSG_HANDLING - Single-Character Flag

Data type: CHAR1
Default: 'A'
Optional: Yes
Call by Reference: Yes

IM_GUID - Internal Identification for PVS Objects

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

IM_OTYPE - iPPE Object Type

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

IM_WITH_TEXT - Checkbox

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for PPEU3_TEMPLATE_READ

EX_PNODID - Assembly Node

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

EX_PALTID_TAB - Variant assy alts

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

EX_PRELID_TAB - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EX_PNODID_TAB - Variant Assembly Item Node

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

EX_PNODTX_TAB - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EX_PNCMP_TAB - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXCEPTIONS details

ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for PPEU3_TEMPLATE_READ 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_error  TYPE STRING, "   
lv_ex_pnodid  TYPE PPET_PNODID_LI, "   
lv_im_msg_handling  TYPE CHAR1, "   'A'
lv_im_guid  TYPE PVS_GUID, "   
lv_ex_paltid_tab  TYPE PPET_PALTID_LI_TAB, "   
lv_im_otype  TYPE PVS_OTYPE, "   
lv_ex_prelid_tab  TYPE PPET_PRELID_LI_TAB, "   
lv_im_with_text  TYPE XFELD, "   SPACE
lv_ex_pnodid_tab  TYPE PPET_PNODID_LI_TAB, "   
lv_ex_pnodtx_tab  TYPE PPET_PNODTX_LI_TAB, "   
lv_ex_pncmp_tab  TYPE PPET1_PNCMP_LI_TAB. "   

  CALL FUNCTION 'PPEU3_TEMPLATE_READ'  "NOTRANSL: Auslesen VBK-Knotenstruktur
    EXPORTING
         IM_MSG_HANDLING = lv_im_msg_handling
         IM_GUID = lv_im_guid
         IM_OTYPE = lv_im_otype
         IM_WITH_TEXT = lv_im_with_text
    IMPORTING
         EX_PNODID = lv_ex_pnodid
         EX_PALTID_TAB = lv_ex_paltid_tab
         EX_PRELID_TAB = lv_ex_prelid_tab
         EX_PNODID_TAB = lv_ex_pnodid_tab
         EX_PNODTX_TAB = lv_ex_pnodtx_tab
         EX_PNCMP_TAB = lv_ex_pncmp_tab
    EXCEPTIONS
        ERROR = 1
. " PPEU3_TEMPLATE_READ




ABAP code using 7.40 inline data declarations to call FM PPEU3_TEMPLATE_READ

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_handling) = 'A'.
 
 
 
 
 
DATA(ld_im_with_text) = ' '.
 
 
 
 


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!