SAP PPEDBHDR_READ Function Module for NOTRANSL: Lesen aller PPE Kopfobjekttabellen von der Datenbank









PPEDBHDR_READ is a standard ppedbhdr 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: Lesen aller PPE Kopfobjekttabellen von der Datenbank 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 ppedbhdr read FM, simply by entering the name PPEDBHDR_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function PPEDBHDR_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 'PPEDBHDR_READ'"NOTRANSL: Lesen aller PPE Kopfobjekttabellen von der Datenbank
EXPORTING
* IT_PPEGUID = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IT_PPEHDR_EXT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IT_OBJID = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IV_WITH_ALL_OBJECTS = ' ' "Generic Type
* IV_ONLY_HDR_WITH_LNK = ' ' "Generic Type
* IV_ONLY_CHK = ' ' "Generic Type
* IV_ONLY_PRODVER = ' ' "Generic Type

IMPORTING
ET_PPEHDR = "DE-EN-LANG-SWITCH-NO-TRANSLATION
ET_PPELNK = "DE-EN-LANG-SWITCH-NO-TRANSLATION
ET_PPEOBJ = "Object Table
EV_EXISTS = "Generic Type
.



IMPORTING Parameters details for PPEDBHDR_READ

IT_PPEGUID - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: PPET4_PPEGUID_TAB
Optional: Yes
Call by Reference: Yes

IT_PPEHDR_EXT - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: PPET4_PPEHDR_EXT_TAB
Optional: Yes
Call by Reference: Yes

IT_OBJID - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: PPET4_OBJID_TAB
Optional: Yes
Call by Reference: Yes

IV_WITH_ALL_OBJECTS - Generic Type

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

IV_ONLY_HDR_WITH_LNK - Generic Type

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

IV_ONLY_CHK - Generic Type

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

IV_ONLY_PRODVER - Generic Type

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

EXPORTING Parameters details for PPEDBHDR_READ

ET_PPEHDR - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

ET_PPELNK - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

ET_PPEOBJ - Object Table

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

EV_EXISTS - Generic Type

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

Copy and paste ABAP code example for PPEDBHDR_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_et_ppehdr  TYPE PPET4_PPEHDR_TAB, "   
lv_it_ppeguid  TYPE PPET4_PPEGUID_TAB, "   
lv_et_ppelnk  TYPE PPET4_PPELNK_TAB, "   
lv_it_ppehdr_ext  TYPE PPET4_PPEHDR_EXT_TAB, "   
lv_it_objid  TYPE PPET4_OBJID_TAB, "   
lv_et_ppeobj  TYPE PPET4_PPEOBJ_TAB, "   
lv_ev_exists  TYPE C, "   
lv_iv_with_all_objects  TYPE C, "   SPACE
lv_iv_only_hdr_with_lnk  TYPE C, "   SPACE
lv_iv_only_chk  TYPE C, "   SPACE
lv_iv_only_prodver  TYPE C. "   SPACE

  CALL FUNCTION 'PPEDBHDR_READ'  "NOTRANSL: Lesen aller PPE Kopfobjekttabellen von der Datenbank
    EXPORTING
         IT_PPEGUID = lv_it_ppeguid
         IT_PPEHDR_EXT = lv_it_ppehdr_ext
         IT_OBJID = lv_it_objid
         IV_WITH_ALL_OBJECTS = lv_iv_with_all_objects
         IV_ONLY_HDR_WITH_LNK = lv_iv_only_hdr_with_lnk
         IV_ONLY_CHK = lv_iv_only_chk
         IV_ONLY_PRODVER = lv_iv_only_prodver
    IMPORTING
         ET_PPEHDR = lv_et_ppehdr
         ET_PPELNK = lv_et_ppelnk
         ET_PPEOBJ = lv_et_ppeobj
         EV_EXISTS = lv_ev_exists
. " PPEDBHDR_READ




ABAP code using 7.40 inline data declarations to call FM PPEDBHDR_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_iv_with_all_objects) = ' '.
 
DATA(ld_iv_only_hdr_with_lnk) = ' '.
 
DATA(ld_iv_only_chk) = ' '.
 
DATA(ld_iv_only_prodver) = ' '.
 


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!