SAP PVSLICMP_PV_MAINT Function Module for NOTRANSL: Nicht mehr verwenden: CL_PPELICMP_CNTL=>PV_MAINT









PVSLICMP_PV_MAINT is a standard pvslicmp pv maint 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_MAINT 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 maint FM, simply by entering the name PVSLICMP_PV_MAINT 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_MAINT 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_MAINT'"NOTRANSL: Nicht mehr verwenden: CL_PPELICMP_CNTL=>PV_MAINT
EXPORTING
* IM_MSG_HANDLING = 'A' "
* IM_AENNR_WORK = "Current change number
* IM_AENNR_READ = "
* IM_MIGMODE_FLG = "
* IM_CONTEXT = "
* IM_NO_EVENT = "
* IM_SENDER = "
* IM_NO_WARN_FLG = "
* IM_CREATE_FLG = 'X' "Flag: Create a PVS variant
* IM_PVCMPD_FLG = 'X' "Flag: Basic data for the PVS variant
* IM_PVCMPP_FLG = 'X' "
* IM_PVCMPR_FLG = 'X' "Flag: Class differentiations
* IM_DMU_FLG = "
* IM_DMUCNT = "

IMPORTING
EX_PVTYPE = "

CHANGING
CH_POSVID = "Identification of the PVS variant
* CH_PVCMPD = "Basic data of the PVS variant
* CH_PVCMPP = "
* CH_PVCMPV = "Variable-size item data for the PVS variant
* CH_PVCMPR_TAB = "

EXCEPTIONS
GENERAL_PV_ERROR = 1
.



IMPORTING Parameters details for PVSLICMP_PV_MAINT

IM_MSG_HANDLING -

Data type: PPET_MSG_OPT
Default: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IM_AENNR_WORK - Current change number

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

IM_AENNR_READ -

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

IM_MIGMODE_FLG -

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

IM_CONTEXT -

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

IM_NO_EVENT -

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

IM_SENDER -

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

IM_NO_WARN_FLG -

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

IM_CREATE_FLG - Flag: Create a PVS variant

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IM_PVCMPD_FLG - Flag: Basic data for the PVS variant

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IM_PVCMPP_FLG -

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IM_PVCMPR_FLG - Flag: Class differentiations

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IM_DMU_FLG -

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

IM_DMUCNT -

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

EXPORTING Parameters details for PVSLICMP_PV_MAINT

EX_PVTYPE -

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

CHANGING Parameters details for PVSLICMP_PV_MAINT

CH_POSVID - Identification of the PVS variant

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

CH_PVCMPD - Basic data of the PVS variant

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

CH_PVCMPP -

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

CH_PVCMPV - Variable-size item data for the PVS variant

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

CH_PVCMPR_TAB -

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

EXCEPTIONS details

GENERAL_PV_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for PVSLICMP_PV_MAINT 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  TYPE PPET_POSVID_LI, "   
lv_ex_pvtype  TYPE PPET_PVTYPE, "   
lv_im_msg_handling  TYPE PPET_MSG_OPT, "   'A'
lv_general_pv_error  TYPE PPET_MSG_OPT, "   
lv_im_aennr_work  TYPE PVS_AENNR, "   
lv_im_aennr_read  TYPE PVS_AENNR, "   
lv_im_migmode_flg  TYPE C, "   
lv_im_context  TYPE PPET_CONTEXT, "   
lv_im_no_event  TYPE C, "   
lv_ch_pvcmpd  TYPE PPET1_PVCMPD_LI, "   
lv_im_sender  TYPE PPET_SENDER, "   
lv_ch_pvcmpp  TYPE PPET1_PVCMPP_LI, "   
lv_im_no_warn_flg  TYPE C, "   
lv_ch_pvcmpv  TYPE PPET1_PVCMPV_LI, "   
lv_im_create_flg  TYPE C, "   'X'
lv_ch_pvcmpr_tab  TYPE PPET1_PVCMPR_LI_TAB, "   
lv_im_pvcmpd_flg  TYPE C, "   'X'
lv_im_pvcmpp_flg  TYPE C, "   'X'
lv_im_pvcmpr_flg  TYPE C, "   'X'
lv_im_dmu_flg  TYPE C, "   
lv_im_dmucnt  TYPE PVS_CNT4. "   

  CALL FUNCTION 'PVSLICMP_PV_MAINT'  "NOTRANSL: Nicht mehr verwenden: CL_PPELICMP_CNTL=>PV_MAINT
    EXPORTING
         IM_MSG_HANDLING = lv_im_msg_handling
         IM_AENNR_WORK = lv_im_aennr_work
         IM_AENNR_READ = lv_im_aennr_read
         IM_MIGMODE_FLG = lv_im_migmode_flg
         IM_CONTEXT = lv_im_context
         IM_NO_EVENT = lv_im_no_event
         IM_SENDER = lv_im_sender
         IM_NO_WARN_FLG = lv_im_no_warn_flg
         IM_CREATE_FLG = lv_im_create_flg
         IM_PVCMPD_FLG = lv_im_pvcmpd_flg
         IM_PVCMPP_FLG = lv_im_pvcmpp_flg
         IM_PVCMPR_FLG = lv_im_pvcmpr_flg
         IM_DMU_FLG = lv_im_dmu_flg
         IM_DMUCNT = lv_im_dmucnt
    IMPORTING
         EX_PVTYPE = lv_ex_pvtype
    CHANGING
         CH_POSVID = lv_ch_posvid
         CH_PVCMPD = lv_ch_pvcmpd
         CH_PVCMPP = lv_ch_pvcmpp
         CH_PVCMPV = lv_ch_pvcmpv
         CH_PVCMPR_TAB = lv_ch_pvcmpr_tab
    EXCEPTIONS
        GENERAL_PV_ERROR = 1
. " PVSLICMP_PV_MAINT




ABAP code using 7.40 inline data declarations to call FM PVSLICMP_PV_MAINT

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_create_flg) = 'X'.
 
 
DATA(ld_im_pvcmpd_flg) = 'X'.
 
DATA(ld_im_pvcmpp_flg) = 'X'.
 
DATA(ld_im_pvcmpr_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!