SAP Reports / Programs

RKETRERV SAP ABAP Report - Build Summarization Levels for Profitability Analysis







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

KEDW - CO-PA: Fill Summ. Levels (Expert)


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 RKETRERV. "Basic submit
SUBMIT RKETRERV AND RETURN. "Return to original report after report execution complete
SUBMIT RKETRERV 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: PERKRS = D .
Selection Text: USEDBAGG = Use GROUP BY/SUM
Selection Text: PTYPE = Type of Profitability Analysis
Selection Text: PTSRTFLD = Field sequence for sorting
Selection Text: PTRNEW = Rebuild
Selection Text: PTRFIRST = Build new levels
Selection Text: PTRCATNR = Summarization levels
Selection Text: PTRACT = Refresh
Selection Text: PMAX_MEM = Buffer size (bytes)
Selection Text: PDROPIDX = Delete indexes during rebuild
Title: Build Summarization Levels for Profitability Analysis
Text Symbol: W38 = Field sequence for sorting
Text Symbol: W37 = Delete indexes during rebuild
Text Symbol: W36 = GROUP BY/SUM used
Text Symbol: W35 = Buffer size (bytes):
Text Symbol: W33 = Rebuild
Text Symbol: W32 = Refresh
Text Symbol: W31 = Build new levels
Text Symbol: W30 = Data in summarization levels:
Text Symbol: W21 = All levels
Text Symbol: W20 = Summarization levels:
Text Symbol: W13 = Account-based
Text Symbol: W12 = Costing-based
Text Symbol: W11 = Type:
Text Symbol: W10 = Operating concern:
Text Symbol: W01 = Call parameter
Text Symbol: 002 = Selections
Text Symbol: 001 = Data in the summarization levels


INCLUDES used within this REPORT RKETRERV

INCLUDE RKASMAWF.


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:

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = restrict.

DYNP_VALUES_READ * CALL FUNCTION 'DYNP_VALUES_READ' * EXPORTING * dyname = repid * dynumb = '1000' * TABLES * dynpfields = dynpfields * EXCEPTIONS * invalid_abapworkarea = 01 * invalid_dynprofield = 02 * invalid_dynproname = 03 * invalid_dynpronummer = 04 * invalid_request = 05 * no_fielddescription = 06 * undefind_error = 07.

HELP_VALUES_GET_FROM_LIST * CALL FUNCTION 'HELP_VALUES_GET_FROM_LIST' * EXPORTING fieldname = 'TRCATNR' * tabname = 'TKETRLF' * shrink = 'X' * IMPORTING select_value = svalue * TABLES shrinkfields = sfields * EXCEPTIONS no_table_in_dictionary = 1 * no_fields_in_table = 2 * OTHERS = 3.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'TKETRLF' fieldname = 'TRCATNR' * SEARCHHELP = ' ' * SHLPPARAM = ' ' dynpprog = sy-repid dynpnr = '1000' dynprofield = 'PTRCATNR-LOW' * STEPL = 0 * VALUE = ' ' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * SUPPRESS_RECORDLIST = ' ' callback_program = sy-repid callback_form = 'SHRINK' selection_screen = 'X' TABLES return_tab = lt_return EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5 .

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = repid dynumb = '1000' TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.



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