SAP Reports / Programs

REFSETOFOPR_CREATE_SAMPLE_FILE SAP ABAP Report - Export Task List Data as a File







REFSETOFOPR_CREATE_SAMPLE_FILE 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 REFSETOFOPR_CREATE_SAMPLE_FILE into the relevant SAP transactions such as SE38 or SE80


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 REFSETOFOPR_CREATE_SAMPLE_FILE. "Basic submit
SUBMIT REFSETOFOPR_CREATE_SAMPLE_FILE AND RETURN. "Return to original report after report execution complete
SUBMIT REFSETOFOPR_CREATE_SAMPLE_FILE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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: 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 Application
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


INCLUDES used within this REPORT REFSETOFOPR_CREATE_SAMPLE_FILE

INCLUDE: CPCC_DT_CONST,
QP_CONST.


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:

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.



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