IAOMSEL_CPR 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 IAOMSEL_CPR 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: AUART = D Order Type
Selection Text: AUFEX = D External Order Number
Selection Text: AUFNR = D Request
Selection Text: BEZEICH = D Description
Selection Text: BUKRS = D Company Code
Selection Text: CAUSE = D Project Reason
Selection Text: CUSTOMER = D Sold-To Party
Selection Text: FKBER = D Functional Area
Selection Text: GROUPING = D Grouping
Selection Text: GSBER = D Business Area
Selection Text: KOKRS = D Controlling Area
Selection Text: PRCTR = D Profit Center
Selection Text: PRIORITY = D Priority
Selection Text: PRO_ID = D Project Number in cProjects
Selection Text: PRO_TYPE = D Project Type
Selection Text: RESPUNIT = D Object ID
Selection Text: SEARCHFD = D Search field
Selection Text: TEMP_NO = D Number
Selection Text: WERKS = D Plant
Title: Selection Criteria: Internal Orders
Text Symbol: 001 = Select Using User-Defined Fields
Text Symbol: 007 = Investment Management
Text Symbol: 050 = Tips for Order Selection
Text Symbol: 100 = Status
Text Symbol: 101 = System Status
Text Symbol: 102 = Selection Rule
Text Symbol: 103 = Crtd;;Created
Text Symbol: 104 = Rel;;Released
Text Symbol: 105 = TCl;;Technically completed
Text Symbol: 106 = Cls;;Closed
Text Symbol: 108 = Assignments
Text Symbol: 109 = General Data
Text Symbol: 110 = Control Data
Text Symbol: 111 = Period-End Closing
Text Symbol: 112 = Settlement to a Receiver (Order Master)
Text Symbol: 114 = Process.
Text Symbol: 116 = KeyFigures
Text Symbol: 117 = Settlement Receiver (Settlement Rule)
INCLUDE LCOKOTYP.
No SAP DATABASE tables are accessed within this REPORT code!
RS_SUBMIT_INFO CALL FUNCTION 'RS_SUBMIT_INFO' IMPORTING p_submit_info = rssubinfo.
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING i_kokrs = kokrs IMPORTING e_kokrs = kokrs EXCEPTIONS not_found = 1.
RS_SET_SELSCREEN_STATUS * CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' * EXPORTING * p_status = pfkey * TABLES * p_exclude = p_exclude.
DDIF_NAMETAB_GET * CALL FUNCTION 'DDIF_NAMETAB_GET' * EXPORTING * TABNAME = dfies-tabname * LFIELDNAME = DFIES-LFIELDNAME * TABLES * DFIES_TAB = DFIES * EXCEPTIONS * NOT_FOUND = 1 * OTHERS = 2.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = dfies-tabname * FIELDNAME = * LANGU = SY-LANGU LFIELDNAME = DFIES-LFIELDNAME * ALL_TYPES = ' ' IMPORTING * X030L_WA = * DDOBJTYPE = DFIES_WA = dfies_wa * LINES_DESCR = * TABLES * DFIES_TAB = DFIES * FIXED_VALUES = EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3 **************************AX8K018172********************************* .
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING i_kokrs = kokrs IMPORTING e_kokrs = kokrs.
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING i_kokrs = kokrs popup = '1' IMPORTING e_kokrs = kokrs.
RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = gc_this_report TABLES selection_table = t_params.
RS_LIST_SELECTION_TABLE CALL FUNCTION 'RS_LIST_SELECTION_TABLE' EXPORTING report = gc_this_report seltext = 'X' TABLES sel_tab = t_params EXCEPTIONS sel_tab_empty = 01.
RS_VARIANT_CONTENTS CALL FUNCTION 'RS_VARIANT_CONTENTS' EXPORTING report = gc_this_report variant = p_variant move_or_write = 'M' TABLES valutab = lt_params.
OBJECT_NUMBER_READ_OR CALL FUNCTION 'OBJECT_NUMBER_READ_OR' EXPORTING AUFNR = aufnr-low IMPORTING OBJNR = lr_object_no-low.
OBJECT_NUMBER_READ_OR CALL FUNCTION 'OBJECT_NUMBER_READ_OR' EXPORTING AUFNR = aufnr-high IMPORTING OBJNR = lr_object_no-high.
OBJECT_NUMBER_TYPE_GET CALL FUNCTION 'OBJECT_NUMBER_TYPE_GET' EXPORTING objnr =
-objnr IMPORTING obart = ld_obart.
OBJECT_KEY_GET_OR CALL FUNCTION 'OBJECT_KEY_GET_OR' EXPORTING objnr =
-objnr IMPORTING aufnr = -aufnr EXCEPTIONS OTHERS = 1.
OBJECT_KEY_GET_PR CALL FUNCTION 'OBJECT_KEY_GET_PR' EXPORTING objnr =
-objnr IMPORTING PSPNR = -pspnr EXCEPTIONS OTHERS = 1.
RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = gc_this_report TABLES selection_table = t_params.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.