RKKOASEL 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 RKKOASEL 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.
Selection Text: USNAM = D Created By
Selection Text: MSEHI = D Internal Unit/Measure
Selection Text: MGEFL = D Record Quantity
Selection Text: KSTAR = D Cost Element
Selection Text: KOSTL = D Cost Center
Selection Text: KATYP = D Cost Element Category
Selection Text: FKBER = D Functional Area
Selection Text: ERSDA = D Entered On
Selection Text: EIGEN = D Attribute Mix
Selection Text: AUFNR = D Order
Title: Cost Element Selection
Text Symbol: 023 = Select Joint Venture Fields
Text Symbol: 022 = Additional Fields
Text Symbol: 021 = Joint Venture
Text Symbol: 020 = Additional Field Selection
Text Symbol: 009 = Joint Venture
Text Symbol: 006 = Names
Text Symbol: 005 = Default Account Assignment
Text Symbol: 004 = Basic Data
Text Symbol: 003 = History
Text Symbol: 002 = To
Text Symbol: 001 = Date
INCLUDE RKKOATOP.
INCLUDE KASEL0BL.
INCLUDE KASEL0CH.
No SAP DATABASE tables are accessed within this REPORT code!
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' IMPORTING E_KOKRS = GD_KOKRS.
K_FIELD_TEXT_READ CALL FUNCTION 'K_FIELD_TEXT_READ' EXPORTING FIELD = LS_KDFIT-FIELDNAME LANGU = SY-LANGU TAB = LS_KDFIT-TABNAME WITH_DOTS = ' ' IMPORTING EX_KDFIT = LS_KDFIT.
MODX_FUNCTION_ACTIVE_CHECK CALL FUNCTION 'MODX_FUNCTION_ACTIVE_CHECK' EXPORTING CPROGNAME = 'SAPLKMA4' FUNCNUMBER = '001' IMPORTING ACTIVE = LD_CI_ACTIVE EXCEPTIONS OTHERS = 0.
JV_KOKRS_ACTIVE CALL FUNCTION 'JV_KOKRS_ACTIVE' EXPORTING KOKRS = GD_KOKRS IMPORTING ACTIVE = LD_JV_ACTIVE EXCEPTIONS OTHERS = 0.
FREE_SELECTIONS_RANGE_2_EX CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX' EXPORTING FIELD_RANGES = TRANGE IMPORTING EXPRESSIONS = TEXPR EXCEPTIONS OTHERS = 0.
FREE_SELECTIONS_INIT CALL FUNCTION 'FREE_SELECTIONS_INIT' EXPORTING EXPRESSIONS = TEXPR KIND = 'T' FIELD_GROUPS_KEY = QCAT IMPORTING SELECTION_ID = SELID_FOR_FS EXPRESSIONS = TEXPR FIELD_RANGES = TRANGE * number_of_active_fields = actnum TABLES TABLES_TAB = TABS FIELDS_TAB = FIELDS.
FREE_SELECTIONS_DIALOG CALL FUNCTION 'FREE_SELECTIONS_DIALOG' EXPORTING SELECTION_ID = SELID_FOR_FS TITLE = TITLE AS_WINDOW = 'X' IMPORTING EXPRESSIONS = TEXPR FIELD_RANGES = TRANGE * number_of_active_fields = actnum TABLES FIELDS_TAB = FIELDS EXCEPTIONS NO_ACTION = 2.
FREE_SELECTIONS_RANGE_2_EX CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX' EXPORTING FIELD_RANGES = TRANGE IMPORTING EXPRESSIONS = TEXPR EXCEPTIONS OTHERS = 0.
FREE_SELECTIONS_INIT CALL FUNCTION 'FREE_SELECTIONS_INIT' EXPORTING EXPRESSIONS = TEXPR KIND = 'T' FIELD_GROUPS_KEY = QCAT IMPORTING SELECTION_ID = SELID_FOR_FS EXPRESSIONS = TEXPR FIELD_RANGES = TRANGE * number_of_active_fields = actnum TABLES TABLES_TAB = TABS FIELDS_TAB = FIELDS.
FREE_SELECTIONS_DIALOG CALL FUNCTION 'FREE_SELECTIONS_DIALOG' EXPORTING SELECTION_ID = SELID_FOR_FS TITLE = TITLE AS_WINDOW = 'X' IMPORTING EXPRESSIONS = TEXPR FIELD_RANGES = TRANGE * number_of_active_fields = actnum TABLES FIELDS_TAB = FIELDS EXCEPTIONS NO_ACTION = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.