SAP Reports / Programs

RKCREOFC SAP ABAP Report - Aspect-specific reorganization of field catalog TKCF / TKCFD / TKCFA







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

OKCP - Reorganize EIS field catalog


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 RKCREOFC. "Basic submit
SUBMIT RKCREOFC AND RETURN. "Return to original report after report execution complete
SUBMIT RKCREOFC 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: GENR = ?...(GENR)
Selection Text: DISP = ?...(DISP)
Selection Text: CLII = For all clients
Selection Text: ASPET = Aspect
Selection Text: ALLASP = All aspects
Title: Aspect-specific reorganization of field catalog TKCF / TKCFD / TKCFA
Text Symbol: WRK = Options
Text Symbol: SFR = Compare field catalog
Text Symbol: SFL = List Format
Text Symbol: SFD = Delete Non-Referenced Fields
Text Symbol: SAT = Reorganize comments
Text Symbol: SAS = Create aspect catalog
Text Symbol: SAR = Reorganize aspect-field-relation
Text Symbol: SAI = Initialization
Text Symbol: SAF = Collect aspect fields
Text Symbol: RFA = > Reorganized entries in TKTFR for aspect
Text Symbol: REO = Execute reorganization
Text Symbol: OPT = Options
Text Symbol: NON = No new entries
Text Symbol: NOF = No entries found
Text Symbol: NOD = No entries deleted
Text Symbol: NEW = > Entries in TKCF/TKCFD (new entries highlighed):
Text Symbol: NDT = > (List of entries to be deleted only during execute func.)
Text Symbol: INV = > Invalid currencies / quantity units:
Text Symbol: INC = > Fields without an assignable currency/unit reference field
Text Symbol: IN2 = > (Please enter reference field using TA SM31 in table TKCF!)
Text Symbol: IN1 = > (Debug Currency/Un. of meas. using TA SM31 in table TKCF!)
Text Symbol: FCT = Select one option only
Text Symbol: DSR = > Newly entered currency/unit fields
Text Symbol: DL4 = > Objects with gen. components to be deleted in TKCF and TKCFD:
Text Symbol: DL3 = > Deleted entries in TKCFD (invalid fields):
Text Symbol: DL2 = > Deleted entries in TKCF with TKCFD (invalid fields):
Text Symbol: DL1 = > Deleted entries in TKTFR (invalid aspect):
Text Symbol: DIS = Display only
003 | Check tab.flds/fixed values |
002 | U C/Q Data elem. Check fld Text fld Curr. Unit |
001 |Field Description Check table Text table View |


INCLUDES used within this REPORT RKCREOFC

INCLUDE FKCGNTYP.




INCLUDE FKCGNVAR.
INCLUDE FKCFCINC.


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:

APPEND_PROTOCOL CALL FUNCTION 'APPEND_PROTOCOL' EXPORTING accept_not_init = ' ' TABLES xmsg = t01 EXCEPTIONS file_not_found = 01 prot_not_initialized = 02 wrong_call = 03.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 100 text = text-sas.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 100 text = text-sai.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 100 text = text-sat.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 100 text = text-saf.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 100 text = text-sar.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 100 text = text-sfr.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 100 text = text-sfd.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 100 text = text-sfl.

RKC_DOMA_GET CALL FUNCTION 'RKC_DOMA_GET' EXPORTING domnm = doma_aggdi state = a_state TABLES dd07v = dd07v_tab.

RKC_DOMA_GET CALL FUNCTION 'RKC_DOMA_GET' EXPORTING domnm = doma_aggtm state = a_state TABLES dd07v = dd07v_tab.

TEXT_REORG_INTERNAL CALL FUNCTION 'TEXT_REORG_INTERNAL' EXPORTING table_name = tabnm_tkcf EXCEPTIONS not_all_texts_reorganized = 4.

RKC_FTAB_SET CALL FUNCTION 'RKC_FTAB_SET' EXPORTING tabnm = tabnm func = 'DDIC' state = 'M' applc = 'KC' EXCEPTIONS OTHERS = 4.

RKC_FTAB_READ_NEXT CALL FUNCTION 'RKC_FTAB_READ_NEXT' EXPORTING tabnm = space state = 'M' applc = 'KC' func = 'DDIC' IMPORTING last_entry_found = lef cdifie = cdifie_led EXCEPTIONS OTHERS = 4.

RKC_GET_FORKEY_CHFIE CALL FUNCTION 'RKC_GET_FORKEY_CHFIE' EXPORTING fienm = cat_tab-fienm tabnm = tabnm IMPORTING chfie = cat_tab-chfie timlc = cat_tab-timlc TABLES fky_tab = fky_tmp EXCEPTIONS OTHERS = 4.

RKC_GET_RETAB_REFIE CALL FUNCTION 'RKC_GET_RETAB_REFIE' EXPORTING chtab = cat_tab-chtab chfie = cat_tab-chfie retab_inp = cat_tab-retab refie_inp = cat_tab-refie refil_inp = cat_tab-refil IMPORTING retab = cat_tab-retab refie = cat_tab-refie refil = cat_tab-refil refll = cat_tab-refll EXCEPTIONS OTHERS = 4.

RKC_GET_VIEW CALL FUNCTION 'RKC_GET_VIEW' EXPORTING chtab = cat_tab-chtab tvdir_check = space * tvdir_check = 'X' gen_check = space IMPORTING viewn = cat_tab-viewn.

RKC_ASPET_INFO





CALL FUNCTION 'RKC_ASPET_INFO' EXPORTING aspet = fm_aspet IMPORTING atext = r_atext EXCEPTIONS OTHERS = 6.

RKC_FTAB_SET CALL FUNCTION 'RKC_FTAB_SET' EXPORTING tabnm = instr func = 'DDIC' state = 'M' applc = 'KC' EXCEPTIONS OTHERS = 4.

RKC_FTAB_READ_NEXT CALL FUNCTION 'RKC_FTAB_READ_NEXT' EXPORTING tabnm = space state = 'M' applc = 'KC' func = 'DDIC' IMPORTING last_entry_found = lef cdifie = cdifie_led EXCEPTIONS OTHERS = 4.

RKC_DTEL_GET CALL FUNCTION 'RKC_DTEL_GET' EXPORTING rolnm = ikcf-rolnm state = m_state IMPORTING cdirol = cdirol_led EXCEPTIONS OTHERS = 4.

RKC_DTEL_GET CALL FUNCTION 'RKC_DTEL_GET' EXPORTING rolnm = del_fie_tab-rolnm state = m_state IMPORTING cdirol = cdirol_led EXCEPTIONS domain_not_found = 2 OTHERS = 4.

RKC_CDITAH_GET CALL FUNCTION 'RKC_CDITAH_GET' EXPORTING tabnm = del_fie_tab-chtab state = m_state IMPORTING cditah = cditah_led EXCEPTIONS OTHERS = 4.

RKC_CDITAH_GET CALL FUNCTION 'RKC_CDITAH_GET' EXPORTING tabnm = del_fie_tab-retab state = m_state IMPORTING cditah = cditah_led EXCEPTIONS OTHERS = 4.

RKC_CDITAH_GET CALL FUNCTION 'RKC_CDITAH_GET' EXPORTING tabnm = del_fie_tab-viewn state = m_state IMPORTING cditah = cditah_led EXCEPTIONS OTHERS = 4.

RKC_DTEL_GET CALL FUNCTION 'RKC_DTEL_GET' EXPORTING rolnm = del_fie_tab-rolnm state = m_state IMPORTING cdirol = cdirol_led EXCEPTIONS domain_not_found = 2 OTHERS = 4.

TEXT_DELETE_INTERNAL * call function 'TEXT_DELETE_INTERNAL' * exporting table_key = del_fie_tab-fienm * table_name = 'TKCF' * exceptions not_all_texts_deleted = 4.

RKC_DTEL_GET CALL FUNCTION 'RKC_DTEL_GET' EXPORTING rolnm = del_fie_tab-rolnm state = m_state IMPORTING cdirol = cdirol_led EXCEPTIONS OTHERS = 4.

RKC_DTEL_GET CALL FUNCTION 'RKC_DTEL_GET' EXPORTING rolnm = del_fie_tab-rolnm state = m_state IMPORTING cdirol = cdirol_led EXCEPTIONS OTHERS = 4.

RKC_MSG_STRING CALL FUNCTION 'RKC_MSG_STRING' EXPORTING mtype = lc_type number = lc_numb par1 = lc_par1 par2 = lc_par2 par3 = lc_par3 par4 = lc_par4 IMPORTING msg_lin = lc_msg.

RKC_ENQ_TAB CALL FUNCTION 'RKC_ENQ_TAB' TABLES tab_list = enq_tab EXCEPTIONS enq_failed = 4.

RKC_DEQ_TAB CALL FUNCTION 'RKC_DEQ_TAB' TABLES tab_list = enq_tab.

RKC_ASPET_POPUP CALL FUNCTION 'RKC_ASPET_POPUP' EXPORTING status = 'M' IMPORTING aspet = aspet-low.

RKC_ASPET_POPUP CALL FUNCTION 'RKC_ASPET_POPUP' EXPORTING status = 'M' IMPORTING aspet = aspet-high.



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