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

FOPC_DEFIC_ISSUE_COPY SAP ABAP Report - Copy Issues and Set Threshold







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FOPC_DEFIC_ANA_COPY - Copy Issues for Deficiency Analysis


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_DEFIC_ISSUE_COPY. "Basic submit
SUBMIT FOPC_DEFIC_ISSUE_COPY AND RETURN. "Return to original report after report execution complete
SUBMIT FOPC_DEFIC_ISSUE_COPY 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: THRVALUE = D .
Selection Text: TF_YEAR = D .
Selection Text: TF = D .
Selection Text: STATUS = D .
Selection Text: PRIORITY = D .
Selection Text: MATERIAL = D .
Selection Text: INCONSEQ = D .
Selection Text: ENDREQ = D .
Selection Text: DESC = D .
Selection Text: CURR = D .
Selection Text: BEGDA = D .
Selection Text: R_NOW = Execute Immediately
Selection Text: R_JOB = Schedule
Selection Text: JOBTIME = Execution Time
Selection Text: JOBDATE = Execution Date
Selection Text: CATEGORY = Issue Type
Selection Text: ANADATE = Start Date
Title: Copy Issues and Set Threshold
Text Symbol: 006 = Settings for Materiality Threshold (Relevant for Later Analysis)
Text Symbol: 005 = Name of Deficiency Analysis
Text Symbol: 004 = Start Time
Text Symbol: 003 = Submit Task for Analysis
Text Symbol: 002 = Schedule Job for Copying
Text Symbol: 001 = Issues to Be Copied


INCLUDES used within this REPORT FOPC_DEFIC_ISSUE_COPY

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:

FOPC_ISSUE_RANGE_BUILD CALL FUNCTION 'FOPC_ISSUE_RANGE_BUILD' IMPORTING et_category = lt_is_category_r et_priority = lt_is_priority_r et_status = lt_is_status_r.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = ana_id.

FOPC_CASE_READ_PARENT CALL FUNCTION 'FOPC_CASE_READ_PARENT' EXPORTING im_guid = -case_guid im_case_type = cl_fopc_cnst_case=>gc_case_type_is im_category = -category IMPORTING ex_timeframe = -timeframe ex_tf_year = -tf_year.

FOPC_GET_NOTE_TEXT * CALL FUNCTION 'FOPC_GET_NOTE_TEXT' * EXPORTING * im_guid = -case_guid * im_model_id = cl_fopc_cnst_case=>gc_is_desc * IMPORTING * ex_content = -issue_desc.

FOPC_GET_NOTE_TEXT * CALL FUNCTION 'FOPC_GET_NOTE_TEXT' * EXPORTING * im_guid = -case_guid * im_model_id = cl_fopc_cnst_case=>gc_is_comp_ctrl * IMPORTING * ex_content = -comp_control.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = l_jobname IMPORTING jobcount = l_jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = l_jobcount jobname = l_jobname sdlstrtdt = jobdate sdlstrttm = jobtime EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 invalid_target = 8 OTHERS = 9.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = l_jobcount jobname = l_jobname strtimmed = 'X' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 invalid_target = 8 OTHERS = 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 FOPC_DEFIC_ISSUE_COPY or its description.