SAP PPEDBACT_PRELACT_GET Function Module for NOTRANSL: GEN-Beziehungen lesen
PPEDBACT_PRELACT_GET is a standard ppedbact prelact get 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: GEN-Beziehungen lesen 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 ppedbact prelact get FM, simply by entering the name PPEDBACT_PRELACT_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: PVSDBACT
Program Name: SAPLPVSDBACT
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function PPEDBACT_PRELACT_GET 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 'PPEDBACT_PRELACT_GET'"NOTRANSL: GEN-Beziehungen lesen.
EXPORTING
* IM_GUID_TAB = "
* IM_PRGUID_TAB = "
* IM_UP_FLG = "Generic Type
* IM_DOWN_FLG = "Generic Type
* IM_CLOSED_FLG = ' ' "Generic Type
* IM_ID_FLG = PPET_FALSE "Generic Type
* IM_MULT_FLG = PPET_FALSE "Generic Type
* IM_PRTYPE_TAB = "
* IM_PRELIDH_BF_TAB = "
IMPORTING
EX_PRELACT_TAB = "
EX_PRELID_TAB = "
EX_STRUCT_TAB = "
EX_PNODID_TAB = "
EX_PALTID_TAB = "
EX_POSVID_TAB = "
IMPORTING Parameters details for PPEDBACT_PRELACT_GET
IM_GUID_TAB -
Data type: PPET_GUID_TABOptional: Yes
Call by Reference: Yes
IM_PRGUID_TAB -
Data type: PPET_GUID_TABOptional: Yes
Call by Reference: Yes
IM_UP_FLG - Generic Type
Data type: COptional: Yes
Call by Reference: Yes
IM_DOWN_FLG - Generic Type
Data type: COptional: Yes
Call by Reference: Yes
IM_CLOSED_FLG - Generic Type
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: Yes
IM_ID_FLG - Generic Type
Data type: CDefault: PPET_FALSE
Optional: Yes
Call by Reference: Yes
IM_MULT_FLG - Generic Type
Data type: CDefault: PPET_FALSE
Optional: Yes
Call by Reference: Yes
IM_PRTYPE_TAB -
Data type: PPET_TYPE_NAME_TABOptional: Yes
Call by Reference: Yes
IM_PRELIDH_BF_TAB -
Data type: PPET_PRELID_HIST_TABOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for PPEDBACT_PRELACT_GET
EX_PRELACT_TAB -
Data type: PPET2_PRELACT_TABOptional: No
Call by Reference: Yes
EX_PRELID_TAB -
Data type: PPET_PRELID_HIST_TABOptional: No
Call by Reference: Yes
EX_STRUCT_TAB -
Data type: PPET_STRUCT_LI_TABOptional: No
Call by Reference: Yes
EX_PNODID_TAB -
Data type: PPET_PNODID_LI_TABOptional: No
Call by Reference: Yes
EX_PALTID_TAB -
Data type: PPET_PALTID_LI_TABOptional: No
Call by Reference: Yes
EX_POSVID_TAB -
Data type: PPET_POSVID_LI_TABOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for PPEDBACT_PRELACT_GET 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_im_guid_tab | TYPE PPET_GUID_TAB, " | |||
| lv_ex_prelact_tab | TYPE PPET2_PRELACT_TAB, " | |||
| lv_ex_prelid_tab | TYPE PPET_PRELID_HIST_TAB, " | |||
| lv_im_prguid_tab | TYPE PPET_GUID_TAB, " | |||
| lv_im_up_flg | TYPE C, " | |||
| lv_ex_struct_tab | TYPE PPET_STRUCT_LI_TAB, " | |||
| lv_im_down_flg | TYPE C, " | |||
| lv_ex_pnodid_tab | TYPE PPET_PNODID_LI_TAB, " | |||
| lv_ex_paltid_tab | TYPE PPET_PALTID_LI_TAB, " | |||
| lv_im_closed_flg | TYPE C, " SPACE | |||
| lv_im_id_flg | TYPE C, " PPET_FALSE | |||
| lv_ex_posvid_tab | TYPE PPET_POSVID_LI_TAB, " | |||
| lv_im_mult_flg | TYPE C, " PPET_FALSE | |||
| lv_im_prtype_tab | TYPE PPET_TYPE_NAME_TAB, " | |||
| lv_im_prelidh_bf_tab | TYPE PPET_PRELID_HIST_TAB. " |
|   CALL FUNCTION 'PPEDBACT_PRELACT_GET' "NOTRANSL: GEN-Beziehungen lesen |
| EXPORTING | ||
| IM_GUID_TAB | = lv_im_guid_tab | |
| IM_PRGUID_TAB | = lv_im_prguid_tab | |
| IM_UP_FLG | = lv_im_up_flg | |
| IM_DOWN_FLG | = lv_im_down_flg | |
| IM_CLOSED_FLG | = lv_im_closed_flg | |
| IM_ID_FLG | = lv_im_id_flg | |
| IM_MULT_FLG | = lv_im_mult_flg | |
| IM_PRTYPE_TAB | = lv_im_prtype_tab | |
| IM_PRELIDH_BF_TAB | = lv_im_prelidh_bf_tab | |
| IMPORTING | ||
| EX_PRELACT_TAB | = lv_ex_prelact_tab | |
| EX_PRELID_TAB | = lv_ex_prelid_tab | |
| EX_STRUCT_TAB | = lv_ex_struct_tab | |
| EX_PNODID_TAB | = lv_ex_pnodid_tab | |
| EX_PALTID_TAB | = lv_ex_paltid_tab | |
| EX_POSVID_TAB | = lv_ex_posvid_tab | |
| . " PPEDBACT_PRELACT_GET | ||
ABAP code using 7.40 inline data declarations to call FM PPEDBACT_PRELACT_GET
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_closed_flg) | = ' '. | |||
| DATA(ld_im_id_flg) | = PPET_FALSE. | |||
| DATA(ld_im_mult_flg) | = PPET_FALSE. | |||
Search for further information about these or an SAP related objects