SAP Reports / Programs | Controlling | Overhead Cost Controlling(CO-OM) SAP CO

FK21RC02 SAP ABAP INCLUDE - Include: Access printer







FK21RC02 is a standard ABAP INCLUDE 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 FK21RC02 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 FK21RC02. "Basic submit
SUBMIT FK21RC02 AND RETURN. "Return to original report after report execution complete
SUBMIT FK21RC02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include: Access printer


INCLUDES used within this REPORT FK21RC02

INCLUDE RCNCOKOA.


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:

G_CONTROL_BLOCK_RESET CALL FUNCTION 'G_CONTROL_BLOCK_RESET' EXPORTING control_block = 40 EXCEPTIONS OTHERS = 1.

G_INTERVAL_GET_NEXT CALL FUNCTION 'G_INTERVAL_GET_NEXT' EXPORTING control_block = 40 index = p_e_settab-setindex IMPORTING entry = setline EXCEPTIONS end_of_intervals = 1 invalid_index = 2 OTHERS = 3.

K_REPO_CCA_AUTHORITY_CHECK CALL FUNCTION 'K_REPO_CCA_AUTHORITY_CHECK' EXPORTING kokrs = kokrs kostl = kostl kostl_flag = 'X' kstar = kstar kstar_flag = 'X' actvt = actvt_stored_data EXCEPTIONS user_not_authorized = 8 "no authority OTHERS = 4. "authority undefined

K_REPO_CCA_AUTHORITY_CHECK CALL FUNCTION 'K_REPO_CCA_AUTHORITY_CHECK' EXPORTING kokrs = kokrs kostl = kostl kostl_flag = 'X' kstar = kstar kstar_flag = 'X' actvt = actvt_stored_data EXCEPTIONS user_not_authorized = 8 "no authority OTHERS = 4. "authority undefined

K_REPO_OPA_AUTHORITY_CHECK CALL FUNCTION 'K_REPO_OPA_AUTHORITY_CHECK' EXPORTING actvt = actvt_stored_data i_aufk = i_aufk auart = i_aufk-auart kokrs = kokrs kstar = kstar EXCEPTIONS system_error = 1 user_not_authorized = 2 OTHERS = 3.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'COAS_BUF' TABLES dfies_tab = i_nametab EXCEPTIONS OTHERS = 1.

K_REPO_OPA_AUTHORITY_CHECK CALL FUNCTION 'K_REPO_OPA_AUTHORITY_CHECK' EXPORTING actvt = actvt_stored_data i_aufk = i_aufk auart = i_aufk-auart kokrs = kokrs kstar = kstar EXCEPTIONS system_error = 1 user_not_authorized = 2 OTHERS = 3.

K_REPO_OPA_AUTHORITY_CHECK CALL FUNCTION 'K_REPO_OPA_AUTHORITY_CHECK' EXPORTING actvt = actvt_stored_data i_aufk = i_aufk auart = i_aufk-auart kokrs = kokrs kstar = kstar EXCEPTIONS system_error = 1 user_not_authorized = 2 OTHERS = 3.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'COAS_BUF' TABLES dfies_tab = i_nametab EXCEPTIONS OTHERS = 1.

K_REPO_OPA_AUTHORITY_CHECK CALL FUNCTION 'K_REPO_OPA_AUTHORITY_CHECK' EXPORTING actvt = actvt_stored_data i_aufk = i_aufk auart = i_aufk-auart kokrs = kokrs kstar = kstar EXCEPTIONS system_error = 1 user_not_authorized = 2 OTHERS = 3.

K_ABC_AUTHORITY_CHECK CALL FUNCTION 'K_ABC_AUTHORITY_CHECK' EXPORTING i_kokrs = kokrs i_prznr = prznr i_vrgng = 'REPP' i_actvt = actvt_stored_data i_kstar = kstar IMPORTING e_authrc = p_subrc EXCEPTIONS missing_parameters = 1 too_much_parameters = 2 OTHERS = 3.

PSRE_AUTH_CHECK_OBJ_KSTAR CALL FUNCTION 'PSRE_AUTH_CHECK_OBJ_KSTAR' EXPORTING i_gjahr = gjahr i_kstar = kstar i_objnr = objnr i_kokrs = kokrs EXCEPTIONS no_authority = 8 OTHERS = 4.

K_REPO_CCA_AUTHORITY_CHECK CALL FUNCTION 'K_REPO_CCA_AUTHORITY_CHECK' EXPORTING kokrs = i_object_kostl-kokrs kostl = i_object_kostl-kostl kostl_flag = 'X' kstar = kstar kstar_flag = 'X' actvt = actvt_stored_data EXCEPTIONS user_not_authorized = 8 OTHERS = 4.

K_ABC_AUTHORITY_CHECK CALL FUNCTION 'K_ABC_AUTHORITY_CHECK' EXPORTING i_kokrs = i_object_prznr-kokrs i_prznr = i_object_prznr-prznr i_vrgng = 'REPP' i_actvt = actvt_stored_data i_kstar = kstar IMPORTING e_authrc = p_subrc EXCEPTIONS missing_parameters = 1 too_much_parameters = 2 OTHERS = 3.



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