SAP EXIT_RPCV00A2_VAR Function Module for









EXIT_RPCV00A2_VAR is a standard exit rpcv00a2 var SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 exit rpcv00a2 var FM, simply by entering the name EXIT_RPCV00A2_VAR into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_RPCV00A2_VAR 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 'EXIT_RPCV00A2_VAR'"
EXPORTING
P_PERNR = "
V_BEITR = "
V_MOLGA = "
V_PROTOKOLL = "
V_SV_ENDDA = "
V_SV_BI = "

CHANGING
C_VARGU = "
C_RC = "

TABLES
CT_PTEXT = "
CT_ERROR_PTEXT = "

EXCEPTIONS
WARNING = 1 ERROR = 2
.



IMPORTING Parameters details for EXIT_RPCV00A2_VAR

P_PERNR -

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

V_BEITR -

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

V_MOLGA -

Data type: T001P-MOLGA
Optional: No
Call by Reference: Yes

V_PROTOKOLL -

Data type: T52C0-PARM4
Optional: No
Call by Reference: Yes

V_SV_ENDDA -

Data type: P0044-ENDDA
Optional: No
Call by Reference: Yes

V_SV_BI -

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

CHANGING Parameters details for EXIT_RPCV00A2_VAR

C_VARGU -

Data type: T5APBS09-VARGU
Optional: No
Call by Reference: Yes

C_RC -

Data type: SY-SUBRC
Optional: No
Call by Reference: Yes

TABLES Parameters details for EXIT_RPCV00A2_VAR

CT_PTEXT -

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

CT_ERROR_PTEXT -

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

EXCEPTIONS details

WARNING -

Data type:
Optional: No
Call by Reference: Yes

ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EXIT_RPCV00A2_VAR 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_c_vargu  TYPE T5APBS09-VARGU, "   
lv_p_pernr  TYPE P_PERNR, "   
lv_warning  TYPE P_PERNR, "   
lt_ct_ptext  TYPE STANDARD TABLE OF PLOG_TEXT, "   
lv_c_rc  TYPE SY-SUBRC, "   
lv_error  TYPE SY, "   
lv_v_beitr  TYPE P03_BEITR, "   
lt_ct_error_ptext  TYPE STANDARD TABLE OF PLOG_TEXT, "   
lv_v_molga  TYPE T001P-MOLGA, "   
lv_v_protokoll  TYPE T52C0-PARM4, "   
lv_v_sv_endda  TYPE P0044-ENDDA, "   
lv_v_sv_bi  TYPE PC20V. "   

  CALL FUNCTION 'EXIT_RPCV00A2_VAR'  "
    EXPORTING
         P_PERNR = lv_p_pernr
         V_BEITR = lv_v_beitr
         V_MOLGA = lv_v_molga
         V_PROTOKOLL = lv_v_protokoll
         V_SV_ENDDA = lv_v_sv_endda
         V_SV_BI = lv_v_sv_bi
    CHANGING
         C_VARGU = lv_c_vargu
         C_RC = lv_c_rc
    TABLES
         CT_PTEXT = lt_ct_ptext
         CT_ERROR_PTEXT = lt_ct_error_ptext
    EXCEPTIONS
        WARNING = 1
        ERROR = 2
. " EXIT_RPCV00A2_VAR




ABAP code using 7.40 inline data declarations to call FM EXIT_RPCV00A2_VAR

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.

"SELECT single VARGU FROM T5APBS09 INTO @DATA(ld_c_vargu).
 
 
 
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_c_rc).
 
 
 
 
"SELECT single MOLGA FROM T001P INTO @DATA(ld_v_molga).
 
"SELECT single PARM4 FROM T52C0 INTO @DATA(ld_v_protokoll).
 
"SELECT single ENDDA FROM P0044 INTO @DATA(ld_v_sv_endda).
 
 


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!