SAP Reports / Programs | Controlling | Overhead Cost Controlling | Activity-Based Costing(CO-OM-ABC) SAP CO

RKWBSK00 SAP ABAP Report - Master Data Report - Statistical Key Figures







RKWBSK00 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 RKWBSK00 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

KK04 - Stat.Key Figures: Master Data Report


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 RKWBSK00. "Basic submit
SUBMIT RKWBSK00 AND RETURN. "Return to original report after report execution complete
SUBMIT RKWBSK00 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: GRTYP = Key figure category
Selection Text: HKTYP = Value origin
Selection Text: KOKRS = Controlling area
Selection Text: MSEHI = Unit of measure
Selection Text: STAGR = Statistical key figure
Selection Text: STGRU = Statistical key figure group
Title: Master Data Report - Statistical Key Figures
Text Symbol: 009 = Controlling Area
Text Symbol: 001 = Or
Text Symbol: 002 = Report object
Text Symbol: 003 = Selection parameters
Text Symbol: 004 = Stat. key figure group
Text Symbol: 005 = Page:
Text Symbol: 006 = Stat. key figure
Text Symbol: 007 = all statistical key figures
Text Symbol: 008 = To


INCLUDES used within this REPORT RKWBSK00

INCLUDE IRKWBK2.


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:

K_GROUP_SELECT CALL FUNCTION 'K_GROUP_SELECT' EXPORTING field_name = 'STAGR' searchfld = set_s_field IMPORTING set_name = stgru EXCEPTIONS no_set_picked = 01.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = '1000' * P_PROGRAM = ' ' TABLES p_exclude = lt_empty_list EXCEPTIONS OTHERS = 0.

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING display = ' ' i_kokrs = ' ' popup = ' ' IMPORTING e_kokrs = kokrs EXCEPTIONS not_found = 01.

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING display = ' ' i_kokrs = ' ' popup = '1' IMPORTING e_kokrs = kokrs EXCEPTIONS not_found = 01.

K_MD_REPORT CALL FUNCTION 'K_MD_REPORT' EXPORTING call_prog = this_rep "fix ddic_struct = 'KREPSTKE' init_proc = 'INIT_REP' pickup_proc = 'PICKUP' sel_proc = 'SELECTION_PROC' set_call_proc = 'CALL_SET' set_check_proc = 'CHECK_SET' set_class = '0104' set_desc = 'Stat. Kennzahlengruppe'(004)

K_MD_USER_COMMAND CALL FUNCTION 'K_MD_USER_COMMAND' EXPORTING user_comm = sy-ucomm.

K_MD_TOP_MANAGER CALL FUNCTION 'K_MD_TOP_MANAGER' EXPORTING event_type = 'TOP DLS'.

K_MD_TOP_MANAGER CALL FUNCTION 'K_MD_TOP_MANAGER' EXPORTING event_type = 'TOP'.

K_MD_SETENTRIES CALL FUNCTION 'K_MD_SETENTRIES' EXPORTING hier_field = 'STAGR' hier_name = stgru "<- Parameters hier_searchfld = kokrs TABLES group_list = group_list.

K_MD_AUTHORITY_CHECK CALL FUNCTION 'K_MD_AUTHORITY_CHECK' EXPORTING object = 'K_KA03' actvt = '03' chklist = s_list IMPORTING return_flag = retcode EXCEPTIONS object_not_found = 01 field_not_found = 02 object_without_actvt = 03.

K_KA03_SET_AUTHORITY_CHECK CALL FUNCTION 'K_KA03_SET_AUTHORITY_CHECK' EXPORTING actvt = '02' kokrs = kokrs.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = ld_structure_name i_client_never_display = 'X' CHANGING ct_fieldcat = lt_fieldcat.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = ls_variant EXCEPTIONS OTHERS = 1.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' I_BUFFER_ACTIVE = 'X' i_callback_program = lc_self i_callback_pf_status_set = 'PF_STATUS_SET_SHOW_LIST' i_callback_user_command = 'USER_COMMAND_SHOW_LIST' i_callback_top_of_page = 'TOP_OF_PAGE' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = LD_STRUCTURE_NAME * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = is_layout = ls_layout it_fieldcat = lt_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = it_sort = lt_sort * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = 'A' is_variant = ls_variant * IT_EVENTS = LT_EVENT * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = gt_outtab.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_header.

K_FIELD_TEXT_READ CALL FUNCTION 'K_FIELD_TEXT_READ' EXPORTING field = 'STGRU' tab = 'RKPLN' with_dots = space IMPORTING ex_kdfit = ls_kdfit EXCEPTIONS OTHERS = 0.

K_MD_CREATESET CALL FUNCTION 'K_MD_CREATESET' EXPORTING call_prog = con-call_prog set_check_proc = lc_name_of_form set_class = con-set_class set_desc = ld_set_desc set_field = ld_set_field * SET_NAME = * SET_SFIELD = set_table = ld_set_table show_sname = 'X' * SET_TITLE = gd_kokrs = kokrs * GD_KTOPL = set_call_proc = lc_name_of_form2 TABLES settab = lt_settab EXCEPTIONS OTHERS = 0.

K_KA03_SET_AUTHORITY_CHECK CALL FUNCTION 'K_KA03_SET_AUTHORITY_CHECK' EXPORTING actvt = '02' kokrs = tka03-kokrs.

G_SET_ENCRYPT_SETID





CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING SETCLASS = gsetc_statratio_setclass SHORTNAME = pd_setname KOKRS = tka03-kokrs IMPORTING SETID = LD_SETID EXCEPTIONS OTHERS = 0.



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