SAP Function Modules

PPELIHDR_READ SAP Function module







PPELIHDR_READ is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name PPELIHDR_READ into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: PPELIHDR
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM PPELIHDR_READ - PPELIHDR READ





CALL FUNCTION 'PPELIHDR_READ' "
* EXPORTING
*   im_ppeguid_tab =            " ppet4_ppeguid_tab
*   im_ppehdr_ext_tab =         " ppet4_ppehdr_ext_tab
*   im_objid_tab =              " ppet4_objid_tab
*   im_bypass_libuffer = SPACE  " c
*   im_with_all_objects = SPACE  " c
*   im_only_hdr_with_lnk = SPACE  " c
*   im_only_prodver = SPACE     " c
  IMPORTING
    ex_ppehdr_tab =             " ppet4_ppehdr_tab
    ex_ppelnk_tab =             " ppet4_ppelnk_tab
    ex_ppeobj_tab =             " ppet4_ppeobj_tab
    .  "  PPELIHDR_READ

ABAP code example for Function Module PPELIHDR_READ





The ABAP code below is a full code listing to execute function module PPELIHDR_READ including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_ex_ppehdr_tab  TYPE PPET4_PPEHDR_TAB ,
ld_ex_ppelnk_tab  TYPE PPET4_PPELNK_TAB ,
ld_ex_ppeobj_tab  TYPE PPET4_PPEOBJ_TAB .

DATA(ld_im_ppeguid_tab) = 'Check type of data required'.
DATA(ld_im_ppehdr_ext_tab) = 'Check type of data required'.
DATA(ld_im_objid_tab) = 'Check type of data required'.
DATA(ld_im_bypass_libuffer) = 'Check type of data required'.
DATA(ld_im_with_all_objects) = 'Check type of data required'.
DATA(ld_im_only_hdr_with_lnk) = 'Check type of data required'.
DATA(ld_im_only_prodver) = 'Check type of data required'. . CALL FUNCTION 'PPELIHDR_READ' * EXPORTING * im_ppeguid_tab = ld_im_ppeguid_tab * im_ppehdr_ext_tab = ld_im_ppehdr_ext_tab * im_objid_tab = ld_im_objid_tab * im_bypass_libuffer = ld_im_bypass_libuffer * im_with_all_objects = ld_im_with_all_objects * im_only_hdr_with_lnk = ld_im_only_hdr_with_lnk * im_only_prodver = ld_im_only_prodver IMPORTING ex_ppehdr_tab = ld_ex_ppehdr_tab ex_ppelnk_tab = ld_ex_ppelnk_tab ex_ppeobj_tab = ld_ex_ppeobj_tab . " PPELIHDR_READ
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_ex_ppehdr_tab  TYPE PPET4_PPEHDR_TAB ,
ld_im_ppeguid_tab  TYPE PPET4_PPEGUID_TAB ,
ld_ex_ppelnk_tab  TYPE PPET4_PPELNK_TAB ,
ld_im_ppehdr_ext_tab  TYPE PPET4_PPEHDR_EXT_TAB ,
ld_ex_ppeobj_tab  TYPE PPET4_PPEOBJ_TAB ,
ld_im_objid_tab  TYPE PPET4_OBJID_TAB ,
ld_im_bypass_libuffer  TYPE C ,
ld_im_with_all_objects  TYPE C ,
ld_im_only_hdr_with_lnk  TYPE C ,
ld_im_only_prodver  TYPE C .

ld_im_ppeguid_tab = 'Check type of data required'.
ld_im_ppehdr_ext_tab = 'Check type of data required'.
ld_im_objid_tab = 'Check type of data required'.
ld_im_bypass_libuffer = 'Check type of data required'.
ld_im_with_all_objects = 'Check type of data required'.
ld_im_only_hdr_with_lnk = 'Check type of data required'.
ld_im_only_prodver = 'Check type of data required'.

SAP Documentation for FM PPELIHDR_READ



INCLUDE PPE_OUT_OF_USE OBJECT DOKU ID TX ...See here for full SAP fm documentation








Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name PPELIHDR_READ or its description.