SAP PVSDBENG_POSVID_GET Function Module for NOTRANSL: Variante: Lesen nach Identifikation, Alternativen









PVSDBENG_POSVID_GET is a standard pvsdbeng posvid 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: Variante: Lesen nach Identifikation, Alternativen 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 posvid get FM, simply by entering the name PVSDBENG_POSVID_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_POSVID_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_POSVID_GET'"NOTRANSL: Variante: Lesen nach Identifikation, Alternativen
EXPORTING
IM_POSVID_TAB = "
* IM_PALTID_TAB = "
* IM_ALT_FLG = 'X' "Generic Type
* IM_POSVID_FLG = "Generic Type
* IM_TEXT_FLG = "Generic Type
* IM_PXARCID_FLG = "Generic Type

IMPORTING
EX_POSVID_TAB = "
EX_POSVTX_TAB = "
EX_PALTID_TAB = "
EX_PALTTX_TAB = "
EX_PXARCID_TAB = "Archiving Flags
.



IMPORTING Parameters details for PVSDBENG_POSVID_GET

IM_POSVID_TAB -

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

IM_PALTID_TAB -

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

IM_ALT_FLG - Generic Type

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: Yes

IM_POSVID_FLG - Generic Type

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

IM_TEXT_FLG - Generic Type

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

IM_PXARCID_FLG - Generic Type

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

EXPORTING Parameters details for PVSDBENG_POSVID_GET

EX_POSVID_TAB -

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

EX_POSVTX_TAB -

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

EX_PALTID_TAB -

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

EX_PALTTX_TAB -

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

EX_PXARCID_TAB - Archiving Flags

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

Copy and paste ABAP code example for PVSDBENG_POSVID_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_ex_posvid_tab  TYPE PPET_POSVID_TAB, "   
lv_im_posvid_tab  TYPE PPET_POSVID_TAB, "   
lv_ex_posvtx_tab  TYPE PPET_POSVTX_TAB, "   
lv_im_paltid_tab  TYPE PPET_PALTID_TAB, "   
lv_im_alt_flg  TYPE C, "   'X'
lv_ex_paltid_tab  TYPE PPET_PALTID_TAB, "   
lv_ex_palttx_tab  TYPE PPET_PALTTX_TAB, "   
lv_im_posvid_flg  TYPE C, "   
lv_im_text_flg  TYPE C, "   
lv_ex_pxarcid_tab  TYPE PPET_PXARCID_TAB, "   
lv_im_pxarcid_flg  TYPE C. "   

  CALL FUNCTION 'PVSDBENG_POSVID_GET'  "NOTRANSL: Variante: Lesen nach Identifikation, Alternativen
    EXPORTING
         IM_POSVID_TAB = lv_im_posvid_tab
         IM_PALTID_TAB = lv_im_paltid_tab
         IM_ALT_FLG = lv_im_alt_flg
         IM_POSVID_FLG = lv_im_posvid_flg
         IM_TEXT_FLG = lv_im_text_flg
         IM_PXARCID_FLG = lv_im_pxarcid_flg
    IMPORTING
         EX_POSVID_TAB = lv_ex_posvid_tab
         EX_POSVTX_TAB = lv_ex_posvtx_tab
         EX_PALTID_TAB = lv_ex_paltid_tab
         EX_PALTTX_TAB = lv_ex_palttx_tab
         EX_PXARCID_TAB = lv_ex_pxarcid_tab
. " PVSDBENG_POSVID_GET




ABAP code using 7.40 inline data declarations to call FM PVSDBENG_POSVID_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_alt_flg) = 'X'.
 
 
 
 
 
 
 


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!