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

FOPC_AS_REORG_RELATION SAP ABAP Report - Check and Repair Relationships Between Cases







FOPC_AS_REORG_RELATION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Use the selection options to select a case and check whether all relationships listed for this case are valid and whether the other case exists...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_RELATION 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_RELATION. "Basic submit
SUBMIT FOPC_AS_REORG_RELATION AND RETURN. "Return to original report after report execution complete
SUBMIT FOPC_AS_REORG_RELATION 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: CASE_CAT = D Category
Selection Text: CASE_ID = D Case Key
Selection Text: CASE_REF = D External Reference
Selection Text: CASE_TYP = D Case Type
Selection Text: ORGUNIT = D Organizational Unit
Title: Check and Repair Relationships Between Cases
Text Symbol: 010 = Yes
Text Symbol: 011 = No
Text Symbol: 012 = Delete?
Text Symbol: G01 = Cases being read
Text Symbol: G02 = Attributes for &NR& cases being read
Text Symbol: TA1 = Organizational Unit
Text Symbol: TA2 = Case Key


INCLUDES used within this REPORT FOPC_AS_REORG_RELATION

No INCLUDES are used within this REPORT code!


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:

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_report_name i_callback_user_command = 'CALL_UCOMM_WILIST' i_callback_pf_status_set = 'CALL_STATUS' is_layout = is_layout it_fieldcat = field_lst it_sort = it_sort i_buffer_active = 'X' * i_save = 'A' * is_variant = is_variant TABLES t_outtab = gt_case_list EXCEPTIONS OTHERS = 1.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = structure_name i_buffer_active = 'X' i_bypassing_buffer = 'X' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = 'Löschen?'(012) text_button_1 = 'Ja'(010) icon_button_1 = 'ICON_DELETE' text_button_2 = 'Nein'(011) default_button = '2' display_cancel_button = ' ' IMPORTING answer = l_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

FOPC_CASE_TYPE_CATEGORY_BUILD CALL FUNCTION 'FOPC_CASE_TYPE_CATEGORY_BUILD' EXPORTING i_type = case_typ i_category = case_cat IMPORTING et_type = lt_range_case_type et_category = lt_range_case_category.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 0 text = text-g01.

RH_GET_PLVAR CALL FUNCTION 'RH_GET_PLVAR' EXPORTING no_message = abap_true IMPORTING plvar = ls_hrorg-plvar EXCEPTIONS no_plvar = 1.

FOPC_CASE_EXT_REF_BUILD CALL FUNCTION 'FOPC_CASE_EXT_REF_BUILD' EXPORTING is_hrorg = ls_hrorg IMPORTING et_ext_ref = lt_range_case_ext_ref.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 20 text = l_indicator.

FOPC_CASE_RELATION_READ CALL FUNCTION 'FOPC_CASE_RELATION_READ' EXPORTING i_guid = ls_case_attr-case_guid IMPORTING et_used = lt_used et_user = lt_user.



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