RKEB0902 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used for the conversion of CO-PA report data...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 RKEB0902 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_UMR = Translate
Selection Text: P_ERKRS = Operating concern
Selection Text: PREPID = Name of report
Title: Translation of CO-PA Report Data to Euro and Report Conversion
Text Symbol: 041 = Data checked
Text Symbol: 040 = Form defective
Text Symbol: 039 = Regenerate reports in application class
Text Symbol: 038 = Generation flag could not be set
Text Symbol: 037 = Will be skipped
Text Symbol: 036 = Operating concern not active:
Text Symbol: 035 = Start: Conversion of CO-PA reps
Text Symbol: 034 = Status of last run: Warning
Text Symbol: 033 = Status of last run: Error
Text Symbol: 032 = Repeated start: Conversion of CO-PA reports
Text Symbol: 031 = Status of last run: OK
Text Symbol: 030 = Last run was successful
Text Symbol: 029 = Log cannot be initialized.
Text Symbol: 027 = Data deleted.
Text Symbol: 026 = (Costing-based)
Text Symbol: 025 = (Account-based)
Text Symbol: 024 = No authorization to delete the report data.
Text Symbol: 023 = for euro not found.
Text Symbol: 022 = Exchange rate
Text Symbol: 021 = Error reading the generated program.
Text Symbol: 019 = Frozen data or summarization levels translated.
Text Symbol: 017 = could not be marked as translated.
Text Symbol: 016 = Report regenerated.
Text Symbol: 014 = has data.
Text Symbol: 013 = has no data.
Text Symbol: 012 = Generated program for report was not found. No translation.
Text Symbol: 011 = is locked. Frozen data or summarization remain unchanged.
Text Symbol: 010 = has already been processed.
Text Symbol: 007 = Currency for company code not found.
Text Symbol: 006 = No currency conversion exists for key date.
Text Symbol: 004 = Euro translation and conversion of reports for an oper. concern
Text Symbol: 003 = No operating concern found.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
EWU_GET_CUKEY_ORG * CALL FUNCTION 'EWU_GET_CUKEY_ORG' * EXPORTING * WAEHRUNGSURSPRUNG = '25' " für *CO-PA * AUSPRAEGUNG = G_WA_TKEB-ERKRS * GUELTIGKEITSDATUM = G_BEFORE_DATE * IMPORTING * WAEHRUNGSSCHLUESSEL = G_REP_WAERS ** datum = * EXCEPTIONS * TYPE_NOT_FOUND = 1 * NO_CONVERSION_FOUND = 2 * OBJECT_NOT_FOUND = 3 * OTHERS = 4.
RKD_REPORT_IMPORT_C * CALL FUNCTION 'RKD_REPORT_IMPORT_C' * EXPORTING * I_RKB1X = G_RKB1X * IMPORT_MODE = '1' * GENERATE_SUPPRESS = 'X' * IMPORTING * E_REPORT = G_REPORT * CHANGING * C_RKB1D = G_RKB1D * EXCEPTIONS * OTHERS = 1.
RKD_SET_DEFAULT_KOKRS * CALL FUNCTION 'RKD_SET_DEFAULT_KOKRS' * CHANGING * KOKRS = G_REPORT-RKB1X-KOKRS.
RKD_REPORT_IMPORT_C ** CALL FUNCTION 'RKD_REPORT_IMPORT_C' ** EXPORTING ** i_rkb1x = g_rkb1x ** import_mode = '1' ** generate_newgen = '2' *** importing *** e_report = g_report " KEIN *IMPORT ** CHANGING ** c_rkb1d = g_rkb1d ** EXCEPTIONS ** OTHERS = 1.
RKD_REPORT_IMPORT_C * CALL FUNCTION 'RKD_REPORT_IMPORT_C' * EXPORTING * I_RKB1X = G_RKB1X * IMPORT_MODE = '1' * GENERATE_SUPPRESS = 'X' * IMPORTING * E_REPORT = G_REPORT * CHANGING * C_RKB1D = G_RKB1D * EXCEPTIONS * OTHERS = 1.
RKD_REPORT_IMPORT_C ** CALL FUNCTION 'RKD_REPORT_IMPORT_C' ** EXPORTING ** i_rkb1x = g_rkb1x ** import_mode = '1' ** generate_newgen = '2' ** CHANGING ** c_rkb1d = g_rkb1d ** EXCEPTIONS ** OTHERS = 1.
RKD_REPORT_IMPORT_C ** CALL FUNCTION 'RKD_REPORT_IMPORT_C' ** EXPORTING ** i_rkb1x = g_rkb1x ** import_mode = '1' ** generate_newgen = '2' ** CHANGING ** c_rkb1d = g_rkb1d ** EXCEPTIONS ** OTHERS = 1.
RKD_REPORT_IMPORT_C * CALL FUNCTION 'RKD_REPORT_IMPORT_C' * EXPORTING * I_RKB1X = G_RKB1X * IMPORT_MODE = '1' * GENERATE_NEWGEN = '2' * CHANGING * C_RKB1D = G_RKB1D * EXCEPTIONS * OTHERS = 1.
ENQUEUE_EKCREPORT * CALL FUNCTION 'ENQUEUE_EKCREPORT' * EXPORTING * APPLCLASS = G_RKB1D-APPLCLASS * SUBCLASS = G_RKB1D-SUBCLASS * TABNAME = I_TABNAME * REPID = I_REPID * EXCEPTIONS * FOREIGN_LOCK = 01 * SYSTEM_FAILURE = 02.
DEQUEUE_EKCREPORT * CALL FUNCTION 'DEQUEUE_EKCREPORT' * EXPORTING * MANDT = SY-MANDT * APPLCLASS = G_RKB1D-APPLCLASS * SUBCLASS = G_RKB1D-SUBCLASS * TABNAME = I_TABNAME * REPID = I_REPID.
RKE_COIXID_GET * CALL FUNCTION 'RKE_COIXID_GET' * EXPORTING * APPL = G_RKB1D-APPLCLASS * DTYPE = L_DATYPD * PAKOM = L_LNUM * REPID = G_RKB1D-REPID * SUBCL = G_RKB1D-SUBCLASS * TABLE = G_RKB1D-TABNAME * IMPORTING * COIXID = L_COIXID.
RKE_COIXID_GET * CALL FUNCTION 'RKE_COIXID_GET' * EXPORTING * APPL = G_RKB1D-APPLCLASS * DTYPE = L_DATYPD * PAKOM = L_LNUM * REPID = G_RKB1D-REPID * SUBCL = G_RKB1D-SUBCLASS * TABLE = G_RKB1D-TABNAME * IMPORTING * COIXID = L_COIXID.
RKE_COIXID_GET * CALL FUNCTION 'RKE_COIXID_GET' * EXPORTING * APPL = G_RKB1D-APPLCLASS * DTYPE = L_DATYPD * PAKOM = L_LNUM * REPID = G_RKB1D-REPID * SUBCL = G_RKB1D-SUBCLASS * TABLE = G_RKB1D-TABNAME * IMPORTING * COIXID = L_COIXID.
RKD_DATA_DELETE_BY_KEY * CALL FUNCTION 'RKD_DATA_DELETE_BY_KEY' * EXPORTING * I_APPLCLASS = CONST_APPLCLASS ** I_SUBCLASS = '01' * I_TABNAME = I_TABNAME * I_REPID = I_REPID ** i_delete_mode = " default ist Verdichtung + *Sicherung * EXCEPTIONS * NO_AUTHORITY = 1 * OTHERS = 2.
GET_EWWU_WAERS_40 * CALL FUNCTION 'GET_EWWU_WAERS_40' * exporting * confirm_cust = ' ' * importing * eurowaers = p_eurowaers * eurokurst = eurokurst ** EURODATUM = ** EUROINVDT = ** KTEXT_INCOMPLETE = ** LTEXT_INCOMPLETE = ** TEXT_INCOMPLETE = * tables * ewucurrs = ewucurrs * exceptions * customizing_not_found = 1 * customizing_not_confirmed = 2 * no_waers_found = 3 * others = 4.
EWU_STATUS_INITIALIZE * call function 'EWU_STATUS_INITIALIZE' * exporting * PROGRAMM = 'RKEB0902' * importing * aufsetzarg = aufarg * exceptions * no_program_entry = 1 * wrong_phase = 2 * precessor_not_ok = 3 * program_already_started = 4 * program_already_finished = 5 * no_paket_entry = 6 * foreign_lock = 7 * system_failure = 8 * active_paket_not_found = 9 * others = 10.
EWU_PROTOCOL_APPEND * call function 'EWU_PROTOCOL_APPEND' * exporting * level = level ** MSGTY = ' ' ** LANGU = SY-LANGU * msgid = 'KH' * msgno = 392 ** NEWOBJ = ' ' * msgv1 = text1 * msgv2 = text2 * msgv3 = text3 * msgv4 = text4 * exceptions * protocol_error = 1 * others = 2.
EWU_STATUS_UPDATE * call function 'EWU_STATUS_UPDATE' * exporting * status = status * AUFSETZARG = STATUS * exceptions * no_paket_entry = 1 * foreign_lock = 2 * system_failure = 3 * no_program_entry = 4 * wrong_call = 5 * active_paket_not_found = 6 * update_denied = 7 * others = 8.
* call function 'EWU_PROTOCOL_WRITE' ** EXPORTING ** CLEAR_OLD_PROT = ' ' * exceptions * error_in_function_call = 1 * table_empty = 2 * sql_error = 3 * wrong_call = 4 * others = 5.
RKE_FILL_FIELD_TABLE * CALL FUNCTION 'RKE_FILL_FIELD_TABLE' * EXPORTING * erkrs = i_erkrs * tabname = l_tabname * pa_type = '1' * TABLES * fieldtab = l_fieldtab * EXCEPTIONS * table_not_found = 1 * ledger_not_def = 2 * ledger_not_found = 3 * OTHERS = 4.
RKE_FILL_FIELD_TABLE * CALL FUNCTION 'RKE_FILL_FIELD_TABLE' * EXPORTING * erkrs = i_erkrs * tabname = l_tabname * pa_type = '2' * TABLES * fieldtab = l_fieldtab * EXCEPTIONS * table_not_found = 1 * ledger_not_def = 2 * ledger_not_found = 3 * OTHERS = 4.
MESSAGE_EXPORT_IMPORT * CALL FUNCTION 'MESSAGE_EXPORT_IMPORT' * EXPORTING * ex_or_if = 'IF' * EXCEPTIONS * empty = 01.
MESSAGES_STOP * CALL FUNCTION 'MESSAGES_STOP' * EXCEPTIONS * OTHERS = 01.
MESSAGES_GIVE * CALL FUNCTION 'MESSAGES_GIVE' * TABLES t_mesg = itab.
MESSAGES_INITIALIZE * CALL FUNCTION 'MESSAGES_INITIALIZE'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name RKEB0902 or its description.
RKEB0902 - Translation of CO-PA Report Data to Euro and Report Conversion RKEB0902 - Translation of CO-PA Report Data to Euro and Report Conversion RKEB0901 - Display the Maintained Variable Groups RKEB0901 - Display the Maintained Variable Groups RKEB0801 - Transport: Planning Layout RKEB0801 - Transport: Planning Layout