RQ_PLAN_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 RQ_PLAN_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 Inspection Plan Data as File
Text Symbol: TXT = Long Text
Text Symbol: TST = Test Run Without Data Backup with Extended Log at Data Import
Text Symbol: TSK = Task List Header
Text Symbol: PRT = Production Resources and Tools
Text Symbol: OPR = Operation
Text Symbol: MTK = Material-Task List Assignment
Text Symbol: DPS = Dependencies for Sequences
Text Symbol: DPP = Dependencies for PRTs
Text Symbol: DPO = Dependencies for Operations
Text Symbol: CHV = Dependent characteristic specs
Text Symbol: CHA = Inspection Characteristic
Text Symbol: 013 = Fldrs
Text Symbol: 012 = File Name
Text Symbol: 011 = Group Counter
Text Symbol: 010 = Task List 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 Area
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 * I_FLG_OPR_FOCUS_CLASS = CONST-FLG_NO * I_FLG_TSK_FOCUS_CLASS = CONST-FLG_NO * I_FLG_ITM_FOCUS_CLASS = CONST-FLG_NO * I_FLG_BOM_FOCUS_CLASS = CONST-FLG_NO 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-QUALITY_CHECK i_class = '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.