SAP Reports / Programs | Financials | Financials | Management of Internal Controls(FIN-CGV-MIC) SAP FIN

FOPC_AS_REORG SAP ABAP Report - Reorganize Cases and Workflows







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


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


Text pool values


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&


INCLUDES used within this REPORT FOPC_AS_REORG

INCLUDE FOPC_AS_REORGTOP.
INCLUDE FOPC_AS_REORGO01.
INCLUDE FOPC_AS_REORGI01.


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:

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.



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