HCNUSAC_OMS 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 HCNUSAC_OMS 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: OLD_REP = Classic Output
Selection Text: RECURS = Recursion Check
Selection Text: TDEPTH = Technical depth
Title: Organizational Structure Selection
Text Symbol: 001 = Further conditions
Text Symbol: 002 = Execute program for all objects?
Text Symbol: 014 = Recursion Occurred
Text Symbol: 027 = Information
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = repid TABLES selection_table = sel_table EXCEPTIONS not_found = 1 no_report = 2 OTHERS = 3.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Information'(027) text_question = text-002 display_cancel_button = ' ' IMPORTING answer = answer EXCEPTIONS text_not_found = 1 OTHERS = 2.
RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = repid TABLES selection_table = sel_table EXCEPTIONS not_found = 1 no_report = 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.