FOPC_AS_REORG is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program allows you to delete cases and cancel workflows...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 FOPC_AS_REORG 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: TF_YEAR = D .
Selection Text: TF = D .
Selection Text: CASE_TYP = D .
Selection Text: CASE_ID = D .
Selection Text: CASE_EXT = D .
Selection Text: CASE_CT = D .
Selection Text: CASE_CAT = D .
Title: Reorganize Cases and Workflows
Text Symbol: TA2 = Case (overwrites object selection)
Text Symbol: TA1 = Organizational Unit
Text Symbol: G03 = Collect Workflows
Text Symbol: G02 = Attributes for &NR& cases being read
Text Symbol: G01 = Cases being read
Text Symbol: BL3 = Timeframe
Text Symbol: BL2 = Case Attributes
Text Symbol: B10 = Remove Deletion Indicator
Text Symbol: B09 = Set Deletion Flag
Text Symbol: B08 = Display Workflow Log
Text Symbol: B07 = Work Items
Text Symbol: B06 = Display Cases
Text Symbol: B05 = Cases
Text Symbol: B04 = Display Case
Text Symbol: B03 = Case
Text Symbol: B02 = Deselect All
Text Symbol: B01 = Select All
Text Symbol: 021 = Object Name
Text Symbol: 020 = Case ID/Subordinate Cases
Text Symbol: 012 = Delete?
Text Symbol: 011 = No
Text Symbol: 010 = Yes
Text Symbol: 002 = &NR& Cases
Text Symbol: 001 = Organizational Unit &OBJID&
INCLUDE FOPC_AS_REORGTOP.
INCLUDE FOPC_AS_REORGO01.
INCLUDE FOPC_AS_REORGI01.
No SAP DATABASE tables are accessed within this REPORT code!
FOPC_CASE_TYPE_CATEGORY_BUILD CALL FUNCTION 'FOPC_CASE_TYPE_CATEGORY_BUILD' "Note869526 EXPORTING "Note869526 i_type = l_type "Note869526 i_category = l_category "Note869526 IMPORTING "Note869526 et_type = lt_case_type_range. "Note869526
SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = gs_restrict EXCEPTIONS OTHERS = 0.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'WITH_WF' values = cl_fopc_as_reorg_agent=>if_fopc_as_reorg_ui~st_collect_method.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
FOPC_AS_REORG - Reorganize Cases and Workflows FOPC_AS_REORG - Reorganize Cases and Workflows FOPC_AIS_IMPORT_LANGUAGE - Import of Names for AIS Reports FOPC_AIS_IMPORT_LANGUAGE - Import of Names for AIS Reports FOPC_AIS_GET_REPORTS_DELETEF01 - FOPCAISGETREPORTSDELETEF01 FOPC_AIS_CONTROL_REPORT_GETF01 - FOPCAISCONTROLREPORTGETF01