SAP EXIT_RPCV00A2_BGR Function Module for









EXIT_RPCV00A2_BGR is a standard exit rpcv00a2 bgr 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 bgr FM, simply by entering the name EXIT_RPCV00A2_BGR into the relevant SAP transaction such as SE37 or SE38.

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



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

CHANGING
C_FLAG_HBG = "
C_FLAG_MBG = "
C_HBG_BETRG = "
C_MBG_BETRG = "
C_BG_RUNDEN = "

TABLES
CT_PTEXT = "
CT_ERROR_PTEXT = "
CT_DATUMSANGABEN = "

EXCEPTIONS
WARNING = 1 ERROR = 2
.



IMPORTING Parameters details for EXIT_RPCV00A2_BGR

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_CALCCURRENCY -

Data type: T500C-WAERS
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_BGR

C_FLAG_HBG -

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

C_FLAG_MBG -

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

C_HBG_BETRG -

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

C_MBG_BETRG -

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

C_BG_RUNDEN -

Data type: T5APBS08-RDGBG
Optional: No
Call by Reference: Yes

TABLES Parameters details for EXIT_RPCV00A2_BGR

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

CT_DATUMSANGABEN -

Data type: PC2DATES
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_BGR 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_p_pernr  TYPE P_PERNR, "   
lv_warning  TYPE P_PERNR, "   
lt_ct_ptext  TYPE STANDARD TABLE OF PLOG_TEXT, "   
lv_c_flag_hbg  TYPE C, "   
lv_error  TYPE C, "   
lv_v_beitr  TYPE P03_BEITR, "   
lv_c_flag_mbg  TYPE C, "   
lt_ct_error_ptext  TYPE STANDARD TABLE OF PLOG_TEXT, "   
lv_v_molga  TYPE T001P-MOLGA, "   
lv_c_hbg_betrg  TYPE MAXBT, "   
lt_ct_datumsangaben  TYPE STANDARD TABLE OF PC2DATES, "   
lv_c_mbg_betrg  TYPE MAXBT, "   
lv_v_calccurrency  TYPE T500C-WAERS, "   
lv_c_bg_runden  TYPE T5APBS08-RDGBG, "   
lv_v_protokoll  TYPE T52C0-PARM4, "   
lv_v_sv_endda  TYPE P0044-ENDDA, "   
lv_v_sv_bi  TYPE PC20V. "   

  CALL FUNCTION 'EXIT_RPCV00A2_BGR'  "
    EXPORTING
         P_PERNR = lv_p_pernr
         V_BEITR = lv_v_beitr
         V_MOLGA = lv_v_molga
         V_CALCCURRENCY = lv_v_calccurrency
         V_PROTOKOLL = lv_v_protokoll
         V_SV_ENDDA = lv_v_sv_endda
         V_SV_BI = lv_v_sv_bi
    CHANGING
         C_FLAG_HBG = lv_c_flag_hbg
         C_FLAG_MBG = lv_c_flag_mbg
         C_HBG_BETRG = lv_c_hbg_betrg
         C_MBG_BETRG = lv_c_mbg_betrg
         C_BG_RUNDEN = lv_c_bg_runden
    TABLES
         CT_PTEXT = lt_ct_ptext
         CT_ERROR_PTEXT = lt_ct_error_ptext
         CT_DATUMSANGABEN = lt_ct_datumsangaben
    EXCEPTIONS
        WARNING = 1
        ERROR = 2
. " EXIT_RPCV00A2_BGR




ABAP code using 7.40 inline data declarations to call FM EXIT_RPCV00A2_BGR

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 MOLGA FROM T001P INTO @DATA(ld_v_molga).
 
 
 
 
"SELECT single WAERS FROM T500C INTO @DATA(ld_v_calccurrency).
 
"SELECT single RDGBG FROM T5APBS08 INTO @DATA(ld_c_bg_runden).
 
"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!