SAP PVSLICMP_PV_READ Function Module for NOTRANSL: NICHT mehr verwenden: CL_PPELICMP_CNTL=>PV_READ









PVSLICMP_PV_READ is a standard pvslicmp pv 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: NICHT mehr verwenden: CL_PPELICMP_CNTL=>PV_READ 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 pvslicmp pv read FM, simply by entering the name PVSLICMP_PV_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function PVSLICMP_PV_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 'PVSLICMP_PV_READ'"NOTRANSL: NICHT mehr verwenden: CL_PPELICMP_CNTL=>PV_READ
EXPORTING
* IM_MSG_HANDLING = 'A' "
* IM_LOCK_FLG = "
* IM_AENNR = "Change number
* IM_ALL_AENNR_FLG = 'X' "Flag: all change numbers are taken into consideration
* IM_CLINT = "
* IM_ALL_CLINT_FLG = 'X' "
* IM_PVCMPHD_FLG = "
* IM_BYPASS_BUFFER = "
* IM_SYNC_FLG = "

IMPORTING
EX_PVCMPD_TAB = "
EX_AENNR_TAB = "
EX_LOCKED_TAB = "
EX_PVCMPP_TAB = "
EX_PVCMPV_TAB = "
EX_PVCMPR_TAB = "
EX_PALTID_TAB = "
EX_PALTTX_TAB = "
EX_PACMP_TAB = "
EX_DMU_TAB = "
EX_DMUCNT_MULT = "

CHANGING
CH_POSVID_TAB = "
* CH_PVCMPHD_TAB = "
* CH_PNODID_TAB = "Identification and attributes of the PVS node

EXCEPTIONS
GENERAL_PV_ERROR = 1
.



IMPORTING Parameters details for PVSLICMP_PV_READ

IM_MSG_HANDLING -

Data type: PPET_MSG_OPT
Default: 'A'
Optional: Yes
Call by Reference: Yes

IM_LOCK_FLG -

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

IM_AENNR - Change number

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

IM_ALL_AENNR_FLG - Flag: all change numbers are taken into consideration

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

IM_CLINT -

Data type: PVCMPR-CLINT
Optional: Yes
Call by Reference: Yes

IM_ALL_CLINT_FLG -

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

IM_PVCMPHD_FLG -

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

IM_BYPASS_BUFFER -

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

IM_SYNC_FLG -

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

EXPORTING Parameters details for PVSLICMP_PV_READ

EX_PVCMPD_TAB -

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

EX_AENNR_TAB -

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

EX_LOCKED_TAB -

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

EX_PVCMPP_TAB -

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

EX_PVCMPV_TAB -

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

EX_PVCMPR_TAB -

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

EX_PALTID_TAB -

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

EX_PALTTX_TAB -

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

EX_PACMP_TAB -

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

EX_DMU_TAB -

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

EX_DMUCNT_MULT -

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

CHANGING Parameters details for PVSLICMP_PV_READ

CH_POSVID_TAB -

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

CH_PVCMPHD_TAB -

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

CH_PNODID_TAB - Identification and attributes of the PVS node

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

EXCEPTIONS details

GENERAL_PV_ERROR -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for PVSLICMP_PV_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_ch_posvid_tab  TYPE PPET_POSVID_LI_TAB, "   
lv_ex_pvcmpd_tab  TYPE PPET1_PVCMPD_LI_TAB, "   
lv_im_msg_handling  TYPE PPET_MSG_OPT, "   'A'
lv_general_pv_error  TYPE PPET_MSG_OPT, "   
lv_ex_aennr_tab  TYPE PPET_AENNR_TAB, "   
lv_ex_locked_tab  TYPE PPET_LOCKED_TAB, "   
lv_im_lock_flg  TYPE C, "   
lv_ex_pvcmpp_tab  TYPE PPET1_PVCMPP_LI_TAB, "   
lv_ch_pvcmphd_tab  TYPE PPET1_PVCMPHD_LI_TAB, "   
lv_im_aennr  TYPE PVS_AENNR, "   
lv_ch_pnodid_tab  TYPE PPET_PNODID_LI_TAB, "   
lv_ex_pvcmpv_tab  TYPE PPET1_PVCMPV_LI_TAB, "   
lv_ex_pvcmpr_tab  TYPE PPET1_PVCMPR_LI_TAB, "   
lv_im_all_aennr_flg  TYPE C, "   'X'
lv_im_clint  TYPE PVCMPR-CLINT, "   
lv_ex_paltid_tab  TYPE PPET_PALTID_LI_TAB, "   
lv_ex_palttx_tab  TYPE PPET_PALTTX_LI_TAB, "   
lv_im_all_clint_flg  TYPE C, "   'X'
lv_ex_pacmp_tab  TYPE PPET1_PACMP_LI_TAB, "   
lv_im_pvcmphd_flg  TYPE C, "   
lv_ex_dmu_tab  TYPE PPET1_DMU_TAB, "   
lv_im_bypass_buffer  TYPE C, "   
lv_im_sync_flg  TYPE C, "   
lv_ex_dmucnt_mult  TYPE C. "   

  CALL FUNCTION 'PVSLICMP_PV_READ'  "NOTRANSL: NICHT mehr verwenden: CL_PPELICMP_CNTL=>PV_READ
    EXPORTING
         IM_MSG_HANDLING = lv_im_msg_handling
         IM_LOCK_FLG = lv_im_lock_flg
         IM_AENNR = lv_im_aennr
         IM_ALL_AENNR_FLG = lv_im_all_aennr_flg
         IM_CLINT = lv_im_clint
         IM_ALL_CLINT_FLG = lv_im_all_clint_flg
         IM_PVCMPHD_FLG = lv_im_pvcmphd_flg
         IM_BYPASS_BUFFER = lv_im_bypass_buffer
         IM_SYNC_FLG = lv_im_sync_flg
    IMPORTING
         EX_PVCMPD_TAB = lv_ex_pvcmpd_tab
         EX_AENNR_TAB = lv_ex_aennr_tab
         EX_LOCKED_TAB = lv_ex_locked_tab
         EX_PVCMPP_TAB = lv_ex_pvcmpp_tab
         EX_PVCMPV_TAB = lv_ex_pvcmpv_tab
         EX_PVCMPR_TAB = lv_ex_pvcmpr_tab
         EX_PALTID_TAB = lv_ex_paltid_tab
         EX_PALTTX_TAB = lv_ex_palttx_tab
         EX_PACMP_TAB = lv_ex_pacmp_tab
         EX_DMU_TAB = lv_ex_dmu_tab
         EX_DMUCNT_MULT = lv_ex_dmucnt_mult
    CHANGING
         CH_POSVID_TAB = lv_ch_posvid_tab
         CH_PVCMPHD_TAB = lv_ch_pvcmphd_tab
         CH_PNODID_TAB = lv_ch_pnodid_tab
    EXCEPTIONS
        GENERAL_PV_ERROR = 1
. " PVSLICMP_PV_READ




ABAP code using 7.40 inline data declarations to call FM PVSLICMP_PV_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_im_msg_handling) = 'A'.
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_im_all_aennr_flg) = 'X'.
 
"SELECT single CLINT FROM PVCMPR INTO @DATA(ld_im_clint).
 
 
 
DATA(ld_im_all_clint_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!