SAP EXIT_RPCALCA0_KOR Function Module for









EXIT_RPCALCA0_KOR is a standard exit rpcalca0 kor 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 rpcalca0 kor FM, simply by entering the name EXIT_RPCALCA0_KOR 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_RPCALCA0_KOR 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_RPCALCA0_KOR'"
EXPORTING
P_PERNR = "
V_MOLGA = "
V_CALCCURRENCY = "
V_PROTOKOLL = "
V_PN_ENDDA = "

TABLES
CT_PTEXT = "
CT_ERROR_PTEXT = "
CT_WPBP = "
CT_SV = "
CT_SV_BI = "
CT_IT = "
CT_RT = "
* CT_SV_TAB = "
CT_DATUMSANGABEN = "

EXCEPTIONS
WARNING = 1 ERROR = 2
.



IMPORTING Parameters details for EXIT_RPCALCA0_KOR

P_PERNR -

Data type: P_PERNR
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: CHAR1
Optional: No
Call by Reference: Yes

V_PN_ENDDA -

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

TABLES Parameters details for EXIT_RPCALCA0_KOR

CT_PTEXT -

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

CT_ERROR_PTEXT -

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

CT_WPBP -

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

CT_SV -

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

CT_SV_BI -

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

CT_IT -

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

CT_RT -

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

CT_SV_TAB -

Data type: P03P1_SV_TAB_STRUC
Optional: Yes
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: No ( called with pass by value option)

ERROR -

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

Copy and paste ABAP code example for EXIT_RPCALCA0_KOR 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_error  TYPE PLOG_TEXT, "   
lv_v_molga  TYPE T001P-MOLGA, "   
lt_ct_error_ptext  TYPE STANDARD TABLE OF PLOG_TEXT, "   
lt_ct_wpbp  TYPE STANDARD TABLE OF PC205, "   
lv_v_calccurrency  TYPE T500C-WAERS, "   
lt_ct_sv  TYPE STANDARD TABLE OF PC20W, "   
lv_v_protokoll  TYPE CHAR1, "   
lt_ct_sv_bi  TYPE STANDARD TABLE OF PC20V, "   
lv_v_pn_endda  TYPE P0000-ENDDA, "   
lt_ct_it  TYPE STANDARD TABLE OF PC207, "   
lt_ct_rt  TYPE STANDARD TABLE OF PC207, "   
lt_ct_sv_tab  TYPE STANDARD TABLE OF P03P1_SV_TAB_STRUC, "   
lt_ct_datumsangaben  TYPE STANDARD TABLE OF PC2DATES. "   

  CALL FUNCTION 'EXIT_RPCALCA0_KOR'  "
    EXPORTING
         P_PERNR = lv_p_pernr
         V_MOLGA = lv_v_molga
         V_CALCCURRENCY = lv_v_calccurrency
         V_PROTOKOLL = lv_v_protokoll
         V_PN_ENDDA = lv_v_pn_endda
    TABLES
         CT_PTEXT = lt_ct_ptext
         CT_ERROR_PTEXT = lt_ct_error_ptext
         CT_WPBP = lt_ct_wpbp
         CT_SV = lt_ct_sv
         CT_SV_BI = lt_ct_sv_bi
         CT_IT = lt_ct_it
         CT_RT = lt_ct_rt
         CT_SV_TAB = lt_ct_sv_tab
         CT_DATUMSANGABEN = lt_ct_datumsangaben
    EXCEPTIONS
        WARNING = 1
        ERROR = 2
. " EXIT_RPCALCA0_KOR




ABAP code using 7.40 inline data declarations to call FM EXIT_RPCALCA0_KOR

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 ENDDA FROM P0000 INTO @DATA(ld_v_pn_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!