SAP Reports / Programs

RKEANAT2 SAP ABAP Report - Test Report: Read from Summarization Levels







RKEANAT2 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 RKEANAT2 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RKEANAT2. "Basic submit
SUBMIT RKEANAT2 AND RETURN. "Return to original report after report execution complete
SUBMIT RKEANAT2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: OE46 = Segment level, 4.6
Selection Text: OEDEF = Segment level, defined
Selection Text: OEJ = CEJ
Selection Text: OEOLD = Segment level, old
Selection Text: PA_TYPE = Type of Profitability Analysis
Selection Text: P_EDSEL = Edit SELTAB
Selection Text: P_EDSF = Edit SFTAB
Selection Text: P_GROUP = Activate GROUP BY/SUM
Selection Text: TR46 = Summarization level, 4.6
Selection Text: TRACT46 = Summarization lvl, current,4.6
Selection Text: TRACTOLD = Summarization lvl, current,old
Selection Text: TRCATNR = summarization level
Selection Text: TRFIX = Summarization level, specified
Selection Text: TROLD = Summarization level, old
Selection Text: ERKRS = D Operating concern
Selection Text: EPOSTOLD = Line items, as posted
Selection Text: EPOST46 = Line items, as posted, 4.6
Selection Text: EPACTOLD = Line items, current, old
Selection Text: EPACT46 = Line items, current, 4.6
Selection Text: DEBUG = Activate breakpoints
Selection Text: AUTO46 = Automatic selectn, current,4.6
Selection Text: ARCHIVE = Archive data
Title: Test Report: Read from Summarization Levels
Text Symbol: 119 = Line items according to structure as posted, 4.6
Text Symbol: 118 = Segment level, 4.6
Text Symbol: 117 = Line items according to current structure, 4.6
Text Symbol: 116 = Archive data
Text Symbol: 115 = Line items according to structure as posted, old
Text Symbol: 120 = Automatic selection, current, 4.6
Text Symbol: 121 = Summarization level, 4.6
Text Symbol: 122 = Summarization level, current, 4.6
Text Symbol: 200 = Source of data:
Text Symbol: 201 = No summarization level exists
Text Symbol: 202 = Summarization level
Text Symbol: 203 = Segment level
Text Symbol: 204 = Line Items
Text Symbol: 210 = Currentness of the data:
Text Symbol: 001 = Control





Text Symbol: 002 = Choice of read methods
Text Symbol: 101 = No suitable summarization level could be found
Text Symbol: 103 = Summarization level, old
Text Symbol: 105 = Summarization level, specified
Text Symbol: 106 = Summarization level:
Text Symbol: 107 = Summarization level, current, old
Text Symbol: 108 = Not valid for account-based Profitability Analysis
Text Symbol: 109 = JOIN product CEJ
Text Symbol: 110 = Segment level, old
Text Symbol: 111 = Segment level, defined
Text Symbol: 112 = Summarization levels read:
Text Symbol: 113 = Status of the summarization level:
Text Symbol: 114 = Line items according to current structure, old
Text Symbol: 904 = Time needed to read the data:
Text Symbol: 903 = Records read:
Text Symbol: 902 = Add value fields
Text Symbol: 901 = List of characteristics
Text Symbol: 900 = Selection Condition


INCLUDES used within this REPORT RKEANAT2

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

RKE_DATA_READ_CALLBACK CALL FUNCTION 'RKE_DATA_READ_CALLBACK' EXPORTING i_erkrs = erkrs i_pa_type = pa_type i_read_mode = '10' i_db_aggregation = p_group i_summ_level_lock = ' ' i_t_sel = sel[] i_t_sf = sftab[] i_program_name = this_report i_form_name = form_name_get IMPORTING e_info = info EXCEPTIONS no_sum_level_found = 1.

RKE_DATA_READ_CALLBACK CALL FUNCTION 'RKE_DATA_READ_CALLBACK' EXPORTING i_erkrs = erkrs i_pa_type = pa_type i_read_mode = '20' i_db_aggregation = p_group i_summ_level_lock = ' ' i_t_sel = sel[] i_t_sf = sftab[] i_program_name = this_report i_form_name = form_name_get IMPORTING e_info = info EXCEPTIONS no_sum_level_found = 1.

RECHERCHE_READ_TR_PREPARE CALL FUNCTION 'RECHERCHE_READ_TR_PREPARE' EXPORTING applclass = 'KE' subclass = '01' tabname = tabname IMPORTING handle = handle TABLES selection_table = sel selected_fields = sftab.

RECHERCHE_READ_TR_READ CALL FUNCTION 'RECHERCHE_READ_TR_READ' EXPORTING handle = handle i_use_db_aggregation = p_group s_program_name = this_report s_form_name = form_name_get .

RECHERCHE_READ_TR_HANDLE_INFO CALL FUNCTION 'RECHERCHE_READ_TR_HANDLE_INFO' EXPORTING handle = handle IMPORTING trcatnr = t_trcatnr timestmp = t_timestmp timestmp_date = t_timestmp_date timestmp_time = t_timestmp_time.

RECHERCHE_READ_TR_CLOSE CALL FUNCTION 'RECHERCHE_READ_TR_CLOSE' EXPORTING handle = handle.

RKE_DATA_READ_CALLBACK CALL FUNCTION 'RKE_DATA_READ_CALLBACK' EXPORTING i_erkrs = erkrs i_pa_type = pa_type i_read_mode = '21' i_db_aggregation = p_group i_summ_level_lock = ' ' i_t_sel = sel[] i_t_sf = sftab[] i_program_name = this_report i_form_name = form_name_get IMPORTING e_info = info EXCEPTIONS no_sum_level_found = 1.

RECHERCHE_READ_TR_PREPARE CALL FUNCTION 'RECHERCHE_READ_TR_PREPARE' EXPORTING applclass = 'KE' subclass = '01' tabname = tabname IMPORTING handle = handle TABLES selection_table = sel selected_fields = sftab.

RECHERCHE_READ_TR_READ CALL FUNCTION 'RECHERCHE_READ_TR_READ' EXPORTING handle = handle read_actual = 'X' i_use_db_aggregation = p_group s_program_name = this_report s_form_name = form_name_get.






RECHERCHE_READ_TR_HANDLE_INFO CALL FUNCTION 'RECHERCHE_READ_TR_HANDLE_INFO' EXPORTING handle = handle IMPORTING trcatnr = t_trcatnr timestmp = t_timestmp timestmp_date = t_timestmp_date timestmp_time = t_timestmp_time.

RECHERCHE_READ_TR_CLOSE CALL FUNCTION 'RECHERCHE_READ_TR_CLOSE' EXPORTING handle = handle.

RKD_TR_LEVEL_READ CALL FUNCTION 'RKD_TR_LEVEL_READ' EXPORTING applclass = 'KE' subclass = '01' tabname = tabname trcatnr = trcatnr s_form_name = form_name_getx s_program_name = this_report TABLES selection_table = seltr EXCEPTIONS catalog_not_found = 1 trcatnr_not_found = 2 request_invalid = 3 trcatnr_not_active = 4 foreign_lock = 5 OTHERS = 6.

RKE_DATA_READ_CALLBACK CALL FUNCTION 'RKE_DATA_READ_CALLBACK' EXPORTING i_erkrs = erkrs i_pa_type = pa_type i_read_mode = '30' i_db_aggregation = p_group i_t_sel = sel[] i_t_sf = sftab[] i_program_name = this_report i_form_name = form_name_get IMPORTING e_info = info.

RKE_READ_OBJECTS CALL FUNCTION 'RKE_READ_OBJECTS' EXPORTING erkrs = erkrs s_form_name = form_name_get s_program_name = this_report pa_type = pa_type TABLES selection_table = sel EXCEPTIONS no_record_found = 0.

RKE_READ_OBJECTS CALL FUNCTION 'RKE_READ_OBJECTS' EXPORTING erkrs = erkrs read_defined = '2' s_program_name = this_report s_form_name = form_name_get s_form_name_timestamp = 'TIMESTMP' s_form_name_syncpoint = 'SYNCPOINT' pa_type = pa_type TABLES selection_table = sel EXCEPTIONS no_record_found = 0.

RKE_DATA_READ_CALLBACK CALL FUNCTION 'RKE_DATA_READ_CALLBACK' EXPORTING i_erkrs = erkrs i_pa_type = pa_type i_read_mode = '31' i_db_aggregation = p_group i_t_sel = sel[] i_t_sf = sftab[] i_program_name = this_report i_form_name = form_name_get IMPORTING e_info = info.

RKE_READ_OBJECTS CALL FUNCTION 'RKE_READ_OBJECTS' EXPORTING erkrs = erkrs pa_type = pa_type s_form_name = form_name_get s_program_name = this_report read_source = '1' TABLES selection_table = sel EXCEPTIONS no_record_found = 0.

RKE_DATA_READ_CALLBACK CALL FUNCTION 'RKE_DATA_READ_CALLBACK' EXPORTING i_erkrs = erkrs i_pa_type = pa_type i_read_mode = '40' i_db_aggregation = p_group i_t_sel = sel[] i_t_sf = sftab[] i_program_name = this_report i_form_name = form_name_get IMPORTING e_info = info.

RKE_READ_OBJECTS CALL FUNCTION 'RKE_READ_OBJECTS' EXPORTING erkrs = erkrs pa_type = pa_type s_form_name = form_name_get s_program_name = this_report read_source = '1' method = '2' TABLES selection_table = sel EXCEPTIONS no_record_found = 0.

RKE_READ_ARCHIVE CALL FUNCTION 'RKE_READ_ARCHIVE' EXPORTING i_erkrs = erkrs i_pa_type = pa_type i_t_seltab = sel[] i_callback_program = this_report i_callback_routine = form_name_get.

RKE_READ2_READ_FROM_JOIN CALL FUNCTION 'RKE_READ2_READ_FROM_JOIN' EXPORTING erkrs = erkrs form = form_name_get program = this_report TABLES seltab = sel sftab = sftab EXCEPTIONS program_error = 1 syntax_check = 2 db_failure = 3 field_catalog_mismatch = 4 OTHERS = 5.

RKE_FILL_FIELD_TABLE CALL FUNCTION 'RKE_FILL_FIELD_TABLE' EXPORTING erkrs = erkrs tabname = tabname pa_type = pa_type TABLES fieldtab = fieldtab.

RKE_TIMESTAMP_CONVERT_OUTPUT CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_OUTPUT' EXPORTING i_dayst = sy-dayst i_tzone = sy-tzone i_timestmp = i_info-timestmp IMPORTING e_date = l_date e_time = l_time.



Contribute (Add Comments)

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 RKEANAT2 or its description.