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
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.
Title: Include: Access printer
INCLUDE RCNCOKOA.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.