SAP PVSDBENG_PRELID_GET Function Module for NOTRANSL: PVS Strukturen von DB lesen
PVSDBENG_PRELID_GET is a standard pvsdbeng prelid 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: PVS Strukturen von DB 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 pvsdbeng prelid get FM, simply by entering the name PVSDBENG_PRELID_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: PVSDBENG
Program Name: SAPLPVSDBENG
Main Program: SAPLPVSDBENG
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function PVSDBENG_PRELID_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 'PVSDBENG_PRELID_GET'"NOTRANSL: PVS Strukturen von DB lesen.
EXPORTING
IM_GUID_TAB = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IM_FLG_MULT_ALT = "Generic Type
* IM_FLG_CLOSED = ' ' "Generic Type
* IM_PRELIDH_BF_TAB = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IM_PRTYPE_TAB = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IM_FULL_ID = "Generic Type
* IM_FLG_PNODID = "Generic Type
IM_FLG_POSVID = "Generic Type
IM_FLG_PALTID = "Generic Type
* IM_FLG_DOWN = 'X' "Generic Type
* IM_FLG_UP = "Generic Type
* IM_FLG_MULT = "Generic Type
IMPORTING
EX_PNODID_TAB = "
EX_POSVID_TAB = "
EX_PALTID_TAB = "
EX_PRELID_TAB = "
IMPORTING Parameters details for PVSDBENG_PRELID_GET
IM_GUID_TAB - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: PPET_GUID_TABOptional: No
Call by Reference: Yes
IM_FLG_MULT_ALT - Generic Type
Data type: COptional: Yes
Call by Reference: Yes
IM_FLG_CLOSED - Generic Type
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IM_PRELIDH_BF_TAB - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: PPET_PRELID_HIST_TABOptional: Yes
Call by Reference: Yes
IM_PRTYPE_TAB - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: PPET_TYPE_NAME_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
IM_FULL_ID - Generic Type
Data type: COptional: Yes
Call by Reference: Yes
IM_FLG_PNODID - Generic Type
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
IM_FLG_POSVID - Generic Type
Data type: COptional: No
Call by Reference: Yes
IM_FLG_PALTID - Generic Type
Data type: COptional: No
Call by Reference: Yes
IM_FLG_DOWN - Generic Type
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IM_FLG_UP - Generic Type
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
IM_FLG_MULT - Generic Type
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for PVSDBENG_PRELID_GET
EX_PNODID_TAB -
Data type: PPET_PNODID_TABOptional: No
Call by Reference: Yes
EX_POSVID_TAB -
Data type: PPET_POSVID_TABOptional: No
Call by Reference: Yes
EX_PALTID_TAB -
Data type: PPET_PALTID_TABOptional: No
Call by Reference: Yes
EX_PRELID_TAB -
Data type: PPET_PRELID_HIST_TABOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for PVSDBENG_PRELID_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_pnodid_tab | TYPE PPET_PNODID_TAB, " | |||
| lv_im_flg_mult_alt | TYPE C, " | |||
| lv_im_flg_closed | TYPE C, " SPACE | |||
| lv_im_prelidh_bf_tab | TYPE PPET_PRELID_HIST_TAB, " | |||
| lv_ex_posvid_tab | TYPE PPET_POSVID_TAB, " | |||
| lv_im_prtype_tab | TYPE PPET_TYPE_NAME_TAB, " | |||
| lv_im_full_id | TYPE C, " | |||
| lv_ex_paltid_tab | TYPE PPET_PALTID_TAB, " | |||
| lv_ex_prelid_tab | TYPE PPET_PRELID_HIST_TAB, " | |||
| lv_im_flg_pnodid | TYPE C, " | |||
| lv_im_flg_posvid | TYPE C, " | |||
| lv_im_flg_paltid | TYPE C, " | |||
| lv_im_flg_down | TYPE C, " 'X' | |||
| lv_im_flg_up | TYPE C, " | |||
| lv_im_flg_mult | TYPE C. " |
|   CALL FUNCTION 'PVSDBENG_PRELID_GET' "NOTRANSL: PVS Strukturen von DB lesen |
| EXPORTING | ||
| IM_GUID_TAB | = lv_im_guid_tab | |
| IM_FLG_MULT_ALT | = lv_im_flg_mult_alt | |
| IM_FLG_CLOSED | = lv_im_flg_closed | |
| IM_PRELIDH_BF_TAB | = lv_im_prelidh_bf_tab | |
| IM_PRTYPE_TAB | = lv_im_prtype_tab | |
| IM_FULL_ID | = lv_im_full_id | |
| IM_FLG_PNODID | = lv_im_flg_pnodid | |
| IM_FLG_POSVID | = lv_im_flg_posvid | |
| IM_FLG_PALTID | = lv_im_flg_paltid | |
| IM_FLG_DOWN | = lv_im_flg_down | |
| IM_FLG_UP | = lv_im_flg_up | |
| IM_FLG_MULT | = lv_im_flg_mult | |
| IMPORTING | ||
| EX_PNODID_TAB | = lv_ex_pnodid_tab | |
| EX_POSVID_TAB | = lv_ex_posvid_tab | |
| EX_PALTID_TAB | = lv_ex_paltid_tab | |
| EX_PRELID_TAB | = lv_ex_prelid_tab | |
| . " PVSDBENG_PRELID_GET | ||
ABAP code using 7.40 inline data declarations to call FM PVSDBENG_PRELID_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_flg_closed) | = ' '. | |||
| DATA(ld_im_flg_down) | = 'X'. | |||
Search for further information about these or an SAP related objects