RKTARCHK is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Threshhold value check for activity prices during conversion to euro This report determines activity prices for cost centers and business processes, for which conversion from the original currency to euros leads to amounts that are smaller than or equal to a user-defined threshhold value...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RKTARCHK into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: P_GJAHR = Fiscal Year
Selection Text: P_VARNC = Threshhold Value in Euros
Selection Text: S_KOKRS = Controlling Area
Title: Threshhold Check for Activity Prices After Euro Conversion
Text Symbol: CCE = Unexpected error in CURRENCY CONVERT TO EURO. Please contact SAP.
Text Symbol: GLG = Unexpected error in K GJAHR LIMITS GET. Please contact SAP.
Text Symbol: KNV = Controlling area does not exist.
Text Symbol: NEC = You have no euro translation in use.
Text Symbol: NOE = No activity prices were found for which deletion is required.
Text Symbol: OVF = Overflow during currency translation into euro. Enter a smaller variance.
Text Symbol: USC = Unexpected error in K COSTA READ MULTI. Please contact SAP.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
K_COSTA_READ_MULTI CALL FUNCTION 'K_COSTA_READ_MULTI' EXPORTING * VON_PERIODE = 001 * BIS_PERIODE = 500 MODUS = 1 * PROGNAME = * FORMNAME = TABLES T_COSEL = T_COSEL T_COSTA = T_COSTA * T_FGR = EXCEPTIONS OTHERS = 1.
K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING * GJAHR = '0000' KOKRS = P_KOKRS IMPORTING * e_tka00 = E_TKA01 = I_TKA01 EXCEPTIONS NOT_FOUND = 1 NOT_FOUND_GJAHR = 2 OTHERS = 3.
K_GJAHR_LIMITS_GET CALL FUNCTION 'K_GJAHR_LIMITS_GET' EXPORTING GJAHR = P_GJAHR I_TKA01 = I_TKA01 * KOKRS = ' ' IMPORTING GJBEGDAT = CONV_DATE * gjenddat = EXCEPTIONS INCONSISTENT_INPUT = 1 INSUFFICIENT_INPUT = 2 KOKRS_NOT_FOUND = 3 PERIV_NOT_FOUND = 4 OTHERS = 5.
CURRENCY_CONVERT_TO_EURO CALL FUNCTION 'CURRENCY_CONVERT_TO_EURO' EXPORTING AMOUNT = P_VARIANCE CURRENCY = I_TKA01-WAERS IMPORTING AMOUNT_EURO = L_VALUE * exchange_rate = * factor_currency = * factor_euro = EXCEPTIONS NO_EURO_CURRENCY = 1 OVERFLOW = 2 OTHERS = 3.
K_KKB_LIST_DISPLAY CALL FUNCTION 'K_KKB_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = 'RKTARCHK' * I_CALLBACK_USER_COMMAND = * I_CALLBACK_TOP_OF_PAGE = * I_CALLBACK_END_OF_PAGE = * I_CALLBACK_END_OF_LIST = * I_CALLBACK_PF_STATUS_SET = * I_CALLBACK_LAYOUT_SAVE = * I_CALLBACK_FIELDCAT_SAVE = I_TABNAME = 'T_COSTA_ERRORS' * IS_LAYOUT = IT_FIELDCAT = FIELD_TAB * I_FCTYPE = 'R' * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 TABLES T_OUTTAB = T_COSTA_ERRORS EXCEPTIONS OTHERS = 1.
CURRENCY_CONVERT_TO_EURO CALL FUNCTION 'CURRENCY_CONVERT_TO_EURO' EXPORTING AMOUNT = TKGXXX CURRENCY = KWAER IMPORTING AMOUNT_EURO = T_COSTA_ERRORS-BETR_EURO * exchange_rate = * factor_currency = * factor_euro = EXCEPTIONS NO_EURO_CURRENCY = 1 OVERFLOW = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.