ROUTING_CREATE_SAMPLE_FILE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report reads routing data from the database and writes it into a file as test data for the initial data transfer...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter ROUTING_CREATE_SAMPLE_FILE 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.
Title: Export Task List Data as a File
Text Symbol: TXT = Long Text
Text Symbol: TST = Test Run Without Data Backup with Extended Log at Data Import
Text Symbol: TSK = Header
Text Symbol: SUO = Suboperation
Text Symbol: SEQ = Sequence
Text Symbol: PRT = Production Resources and Tools
Text Symbol: OPR = Operation
Text Symbol: MTK = Material-Task List Assignment
Text Symbol: DPS = Dependencies for Sequencees
Text Symbol: DPP = Dependencies for PRTs
Text Symbol: DPO = Dependencies for Operations
Text Symbol: COM = Component Assignment
Text Symbol: CHV = Insp. Characteristic Value
Text Symbol: CHA = Inspection Characteristic
Text Symbol: 016 = BOM Explosion
Text Symbol: 015 = BOM Usage
Text Symbol: 014 = Extras
Text Symbol: 013 = Archive
Text Symbol: 012 = File Name
Text Symbol: 011 = Group Counter
Text Symbol: 010 = Group
Text Symbol: 009 = Plant
Text Symbol: 008 = Material
Text Symbol: 007 = To
Text Symbol: 006 = Change Number
Text Symbol: 005 = Key Date
Text Symbol: 004 = Selection Range
Text Symbol: 003 = Objects to be Processed
Text Symbol: 002 = Selection Criteria
INCLUDE: CPCC_DT_CONST,
QP_CONST.
No SAP DATABASE tables are accessed within this REPORT code!
CP_CC_S_LOAD_CHECK CALL FUNCTION 'CP_CC_S_LOAD_CHECK' EXPORTING i_classes_in_workarea = classes_to_process EXCEPTIONS odp_cannot_be_loaded = 1 cla_cannot_be_loaded = 2 sui_to_be_loaded = 3 itm_to_be_loaded = 4 bom_to_be_loaded = 5 com_to_be_loaded = 6 cha_to_be_loaded = 7 opr_to_be_loaded = 8 seq_to_be_loaded = 9 tsk_to_be_loaded = 10 mtk_to_be_loaded = 11 no_entries = 12 itm_selobj_wrong = 13 bom_selobj_wrong = 14 opr_selobj_wrong = 15 tsk_selobj_wrong = 16 .
CP_CC_S_LOAD_COMPLEX_BY_TSK CALL FUNCTION 'CP_CC_S_LOAD_COMPLEX_BY_TSK' EXPORTING i_class = workarea_class-manufacturing "P * i_profile = '1' i_classes_in_workarea = classes_to_process i_cpsc_mtk_sel = mtk_sel i_cpsc_tsk_sel = tsk_sel i_date_from = val_from i_date_to = val_to i_message_handler = 'X' EXCEPTIONS workarea_not_found = 1 class_wrong_type = 2 workarea_wrong_type = 3 class_in_workarea_inconsistent = 4 workarea_not_specified = 5 tsk_not_found = 6 no_selection_criteria = 7 invalid_selection_period = 8 key_date_required_for_ecm = 9.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
ROUTING_CREATE_SAMPLE_FILE - Export Task List Data as a File ROUTING_CREATE_SAMPLE_FILE - Export Task List Data as a File ROUTE_DURATIONS - Display the route stages and connection points with timings ROUTE_DURATIONS - Display the route stages and connection points with timings ROUND=========================FT - documentation and ABAP source code ROUDATA - Include for Routing IDoc Generation