SAP Reports / Programs | Project System | Information System | Accounting(PS-IS-REP-ACC) SAP PS

RCNCC020 SAP ABAP Report - Analysis of Value Category Assignments







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

CJVC - Value Category Checking Program
OIVC - Check Report for Value Categories


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 RCNCC020. "Basic submit
SUBMIT RCNCC020 AND RETURN. "Return to original report after report execution complete
SUBMIT RCNCC020 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: R_KOKRS = Controlling area
Selection Text: P_FIKRS = With all FM areas
Selection Text: P_APPL = D User component
Title: Analysis of Value Category Assignments
Text Symbol: 242 = Stat.key figure assignments
Text Symbol: 241 = Commitment item assignments
Text Symbol: 240 = Cost elements assginments
Text Symbol: 237 = Debit type
Text Symbol: 236 = DC
Text Symbol: 235 = Un
Text Symbol: 234 = Unit of meas.
Text Symbol: 233 = WB
Text Symbol: 232 = Stat. Key Fig.
Text Symbol: 231 = To st.KF
Text Symbol: 230 = Frm st.KF
Text Symbol: 229 = Value range constraints
Text Symbol: 228 = Financial management area
Text Symbol: 227 = Controlling area
Text Symbol: 226 = Both
Text Symbol: 225 = Analysis in controlling area and/or FM area
Text Symbol: 224 = FD
Text Symbol: 223 = Commitment item
Text Symbol: 222 = To CI
Text Symbol: 221 = From CI
Text Symbol: 220 = Financial management area
Text Symbol: 214 = Description
Text Symbol: 213 = KFC
Text Symbol: 212 = Cost element
Text Symbol: 211 =
Text Symbol: 210 = Cost element group
Text Symbol: 209 = To CstElem
Text Symbol: 208 = From CElem
Text Symbol: 207 = Assigned more than once
Text Symbol: 206 = Not assigned
Text Symbol: 205 = Assigned
Text Symbol: 204 = Text
Text Symbol: 203 = SNo
Text Symbol: 202 = Value category





Text Symbol: 201 = Controlling area
Text Symbol: 200 = Assignments to value categories


INCLUDES used within this REPORT RCNCC020

No INCLUDES are used within this REPORT code!


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:

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = iv_tcode EXCEPTIONS OK = 0 NOT_OK = 1 OTHERS = 2.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = iv_tcode EXCEPTIONS OK = 0 NOT_OK = 1 OTHERS = 2.

G_SET_ENCRYPT_SETID * CALL FUNCTION 'G_SET_ENCRYPT_SETID' * EXPORTING * SETCLASS = '0101' * SHORTNAME = P_SETNR * KOKRS = P_KOKRS ** KTOPL = * IMPORTING * SETID = P_SETID * EXCEPTIONS * NO_CO_AREA_SPECIFIED = 1 * ILLEGAL_SETCLASS = 2 * OTHERS = 3.

G_SET_GET_INFO * CALL FUNCTION 'G_SET_GET_INFO' * EXPORTING * SETNAME = P_SETID * EXCEPTIONS * SET_NOT_FOUND = 1 * OTHERS = 2.

G_SET_INSERT * CALL FUNCTION 'G_SET_INSERT' * EXPORTING * SETNAME = P_SETID * IMPORTING * INDEX = P_INDEX * EXCEPTIONS * SET_NOT_FOUND = 1 * OTHERS = 2.

G_INTERVAL_GET_NEXT * CALL FUNCTION 'G_INTERVAL_GET_NEXT' * EXPORTING * CONTROL_BLOCK = 1 * INDEX = P_INDEX * IMPORTING * ENTRY = P_RGSMV_TAB ** HEADER = ** FORMULA = * EXCEPTIONS * END_OF_INTERVALS = 1 * INVALID_INDEX = 2 * OTHERS = 3.

G_INTERVAL_GET_NEXT * CALL FUNCTION 'G_INTERVAL_GET_NEXT' * EXPORTING * CONTROL_BLOCK = 1 * INDEX = P_INDEX * IMPORTING * ENTRY = P_RGSMV_TAB ** HEADER = ** FORMULA = * EXCEPTIONS * END_OF_INTERVALS = 1 * INVALID_INDEX = 2 * OTHERS = 3.

G_SET_AVAILABLE ** call function 'G_SET_AVAILABLE' ** exporting ** class = p_class ** setname = p_setnr ** table = p_settb ** importing ** subrc = loc_subrc.

G_SET_INSERT ** call function 'G_SET_INSERT' ** exporting ** class = p_class ** setname = p_setnr ** table = p_settb ** importing ** index = loc_index.

G_OBJECT_GET ** call function 'G_OBJECT_GET' ** exporting ** control_block = 1 ** index = loc_index ** importing ** entry = loc_rgsmv ** subrc = loc_subrc.

G_OBJECT_GET ** call function 'G_OBJECT_GET' ** exporting ** control_block = 1 ** index = loc_index ** importing ** entry = loc_rgsmv ** subrc = loc_subrc.

CONVERSION_EXIT_ALPHA_INPUT * CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' * EXPORTING * INPUT = LOC_TPIK2-KSTRF * IMPORTING * OUTPUT = LOC_TPIK2-KSTRF.

CONVERSION_EXIT_ALPHA_INPUT * CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' * EXPORTING * INPUT = LOC_TPIK2-KSTRT * IMPORTING * OUTPUT = LOC_TPIK2-KSTRT.

HF_FIND_BELTP_FOR_KSTAR * CALL FUNCTION 'HF_FIND_BELTP_FOR_KSTAR' * EXPORTING * I_KOKRS = LOC_TPIK2-KOKRS * I_KSTAR = LOC_CSKB-KSTAR * IMPORTING * E_BELTP = LOC_INOUT * EXCEPTIONS * BELTP_NOT_FOUND = 1.

HF_FIND_BELTP_FOR_KSTAR * CALL FUNCTION 'HF_FIND_BELTP_FOR_KSTAR' * EXPORTING * I_KOKRS = LOC_TPIK2-KOKRS * I_KSTAR = LOC_CSKB-KSTAR * IMPORTING * E_BELTP = LOC_INOUT * EXCEPTIONS * BELTP_NOT_FOUND = 1.

HF_FIND_INOUT_KZ ** call function 'HF_FIND_INOUT_KZ' ** exporting ** kokrs = loc_tpik2-kokrs ** kstar = loc_cskb-kstar ** importing ** inout = loc_inout ** exceptions ** inout_not_found = 1.

HF_FIND_BELTP_FOR_KSTAR * CALL FUNCTION 'HF_FIND_BELTP_FOR_KSTAR' * EXPORTING * I_KOKRS = LOC_TPIK2-KOKRS * I_KSTAR = LOC_CSKB-KSTAR * I_DATE = SY-DATLO * IMPORTING * E_BELTP = LOC_INOUT * EXCEPTIONS * BELTP_NOT_FOUND = 1 * INPUT_ERROR = 2 * OTHERS = 3.






HF_FIND_BELTP_FOR_KSTAR * CALL FUNCTION 'HF_FIND_BELTP_FOR_KSTAR' * EXPORTING * I_KOKRS = LOC_TPIK2-KOKRS * I_KSTAR = LOC_CSKB-KSTAR * IMPORTING * E_BELTP = LOC_INOUT * EXCEPTIONS * BELTP_NOT_FOUND = 1.

CONVERSION_EXIT_ALPHA_OUTPUT * CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' * EXPORTING * INPUT = LOC_CSKB_M-KSTAR * IMPORTING * OUTPUT = LOC_CSKB_M-KSTAR.

CONVERSION_EXIT_ALPHA_OUTPUT * CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' * EXPORTING * INPUT = LOC_CSKB_M-KSTAR * IMPORTING * OUTPUT = LOC_CSKB_M-KSTAR.

CONVERSION_EXIT_ALPHA_OUTPUT * CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' * EXPORTING * INPUT = LOC_TPIF2-FIPSF * IMPORTING * OUTPUT = LOC_TPIF2-FIPSF.

CONVERSION_EXIT_ALPHA_OUTPUT * CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' * EXPORTING * INPUT = LOC_TPIF2-FIPST * IMPORTING * OUTPUT = LOC_TPIF2-FIPST.

HF_FIND_BELTP_FOR_FIPOS * CALL FUNCTION 'HF_FIND_BELTP_FOR_FIPOS' * EXPORTING * I_FIKRS = LOC_FMFPO-FIKRS * I_FIPOS = LOC_FMFPO-FIPOS * IMPORTING * E_BELTP = LOC_INOUT * EXCEPTIONS * BELTP_NOT_FOUND = 1.

HF_FIND_BELTP_FOR_FIPOS * CALL FUNCTION 'HF_FIND_BELTP_FOR_FIPOS' * EXPORTING * I_FIKRS = LOC_FMFPO-FIKRS * I_FIPOS = LOC_FMFPO-FIPOS * IMPORTING * E_BELTP = LOC_INOUT * EXCEPTIONS * BELTP_NOT_FOUND = 1.

CONVERSION_EXIT_ALPHA_OUTPUT * CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' * EXPORTING * INPUT = LOC_FMFPO_M-FIPOS * IMPORTING * OUTPUT = LOC_FMFPO_M-FIPOS.

RS_TREE_CONSTRUCT * CALL FUNCTION 'RS_TREE_CONSTRUCT' ** importing ** INSERT_ID = '000000' ** RELATIONSHIP = ' ' * TABLES * NODETAB = LOC_SNODETEXT * EXCEPTIONS * TREE_FAILURE = 1 * ID_NOT_FOUND = 2 * WRONG_RELATIONSHIP = 3 * OTHERS = 4.

RS_TREE_PUSH * CALL FUNCTION 'RS_TREE_PUSH' * EXCEPTIONS * OTHERS = 1.

RS_TREE_CONSTRUCT * CALL FUNCTION 'RS_TREE_CONSTRUCT' ** importing ** INSERT_ID = '000000' ** RELATIONSHIP = ' ' * TABLES * NODETAB = LOC_SNODETEXT * EXCEPTIONS * TREE_FAILURE = 1 * ID_NOT_FOUND = 2 * WRONG_RELATIONSHIP = 3 * OTHERS = 4.

RS_TREE_EXPAND * CALL FUNCTION 'RS_TREE_EXPAND' * EXPORTING ** ALL = ' ' * NODE_ID = LOC_SNODETEXT-ID * EXCEPTIONS * NOT_FOUND = 1 * OTHERS = 2.

RS_TREE_LIST_DISPLAY * CALL FUNCTION 'RS_TREE_LIST_DISPLAY' * EXPORTING * CALLBACK_PROGRAM = 'RCNCC020' * CALLBACK_USER_COMMAND = 'CALLBACK' ** callback_text_display = ' ' ** callback_moreinfo_display = ' ' ** callback_color_display = ' ' ** callback_top_of_page = ' ' * STATUS = 'OWN' "'IMPLICIT' ** check_duplicate_name = '1' ** color_of_link = '1' ** color_of_node = '4' ** color_of_mark = '3' ** lower_case_sensitive = ' ' ** modification_log = ' ' ** node_length = 30 ** text_length = 75 ** text_length1 = 0 ** text_length2 = 0 ** return_marked_subtree = ' ' ** screen_start_column = 0 ** screen_start_line = 0 ** screen_end_column = 0 ** screen_end_line = 0 ** suppress_node_output = ' ' ** importing ** f15 = * EXCEPTIONS * OTHERS = 1.

RS_TREE_POP * CALL FUNCTION 'RS_TREE_POP' * EXCEPTIONS * EMPTY_STACK = 1 * OTHERS = 2.

HELP_START * CALL FUNCTION 'HELP_START' * EXPORTING * HELP_INFOS = L_HELP_INFO * TABLES * DYNPSELECT = L_DSELC * DYNPVALUETAB = L_DVAL * EXCEPTIONS * OTHERS = 1.



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