RKE_KENC_UNDO_CHGRUN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RKE_KENC_UNDO_CHGRUN 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: G_TEST = Test mode
Selection Text: G_PKGSIZ = Package size for segment table
Selection Text: G_MAXMEM = Maximum Memory Usage
Selection Text: G_ERKRS = Operating Concern
Selection Text: G_CHGRUN = Realignment run
Title: CO-PA Realignments: Restore Segments to State Before Realignment Run
Text Symbol: 060 = Finish Time
Text Symbol: 059 = End date
Text Symbol: 058 = Start time
Text Symbol: 057 = Start date
Text Symbol: 055 = Restore
Text Symbol: 054 = Test run of restore
Text Symbol: 053 = Operating concern
Text Symbol: 052 = Realignment run
Text Symbol: 050 = Information
Text Symbol: 040 = Flow trace
Text Symbol: 030 = Error messages for derivation
Text Symbol: 020 = Changed characteristics
Text Symbol: 015 = Number of Profitability Segments Changed to HANA
Text Symbol: 013 = Profitability Segments
Text Symbol: 010 = Statistics Record
Text Symbol: 009 = Number of profitability segments selected
Text Symbol: 008 = Number of profitability segments changed
Text Symbol: 007 = Number of profitability segments read
INCLUDE RKE_KENC_OPTIONS.
INCLUDE RKE_KENC_SCHEDMAN_INTERFACE .
No SAP DATABASE tables are accessed within this REPORT code!
RKE_NC_EXEC_GET_TKENC5_LFDNR CALL FUNCTION 'RKE_NC_EXEC_GET_TKENC5_LFDNR' EXPORTING i_erkrs = g_erkrs i_chgrun = g_chgrun IMPORTING e_lfdnr = g_s_tkenc5-lfdnr EXCEPTIONS OTHERS = 1.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
RKE_NC_EXEC_SET_REPORT_NAME47 CALL FUNCTION 'RKE_NC_EXEC_SET_REPORT_NAME47' EXPORTING i_erkrs = g_erkrs IMPORTING e_programm = g_prog47.
RKE_NC_EXEC_CHGRUN_IS_CRITICAL CALL FUNCTION 'RKE_NC_EXEC_CHGRUN_IS_CRITICAL' EXPORTING i_erkrs = g_erkrs i_chgrun = g_chgrun IMPORTING e_is_critical = g_is_critical.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
RKE_SUMMARIZATION_DATA_INVALID CALL FUNCTION 'RKE_SUMMARIZATION_DATA_INVALID' EXPORTING applclass = g_applclass subclass = g_subclass tabname = g_tabname_ce1 TABLES crits_modified = g_th_invsum_tab[] EXCEPTIONS OTHERS = 1.
RKE_SUMMARIZATION_DATA_INVALID CALL FUNCTION 'RKE_SUMMARIZATION_DATA_INVALID' EXPORTING applclass = g_applclass subclass = g_subclass tabname = g_tabname_ce0 TABLES crits_modified = g_th_invsum_tab[] EXCEPTIONS OTHERS = 1.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
ENQUEUE_EKCND CALL FUNCTION 'ENQUEUE_EKCND' EXPORTING mode_tkenc1 = enqmode mandt = sy-mandt erkrs = g_erkrs chgrun = g_chgrun x_erkrs = ' ' x_chgrun = ' ' _scope = '3' _wait = 'X' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
ENQUEUE_EKCNC CALL FUNCTION 'ENQUEUE_EKCNC' EXPORTING mode_tkenc6 = enqmode mandt = sy-mandt erkrs = g_erkrs chgrun = g_chgrun x_erkrs = ' ' x_chgrun = ' ' _scope = '3' _wait = 'X' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RKE_KENC_UNDO_CHGRUN - CO-PA Realignments: Restore Segments to State Before Realignment Run RKE_KENC_UNDO_CHGRUN - CO-PA Realignments: Restore Segments to State Before Realignment Run RKE_KENC_TEST_CHGRUN - CO-PA Realignments: Test Realignment Run RKE_KENC_TEST_CHGRUN - CO-PA Realignments: Test Realignment Run RKE_KENC_SCHEDMAN_INTERFACE - RKEKENCSCHEDMANINTERFACE RKE_KENC_OPTIONS - Settings for CO-PA Realignments