FOPC_PRINTREPORT_TEST 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_PRINTREPORT_TEST 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: UNAME = User ID for Report Display
Selection Text: LAYOUT = D .
Title: Report FOPC_PRINTREPORT_TEST
Text Symbol: 001 = All
Text Symbol: 002 = Only MIC power users are allowed to generate PDF files using this program
Text Symbol: 003 = Layout does not exist
Text Symbol: 008 = Does Not Exist
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FOPC_REPORT_SHOW_PDF CALL FUNCTION 'FOPC_REPORT_SHOW_PDF' EXPORTING it_otfdata = lt_otf.
DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = 'FOPC_PRT_TYPE' langu = sy-langu TABLES dd07v_tab = lt_dom_val EXCEPTIONS illegal_input = 1 OTHERS = 2.
FOPC_REPORT_PROXY_CALL CALL FUNCTION 'FOPC_REPORT_PROXY_CALL' EXPORTING is_filter = ls_filter is_details = ls_details i_wait = abap_true IMPORTING e_guid = lv_guid.
FOPC_REPORT_PROXY_CHECK CALL FUNCTION 'FOPC_REPORT_PROXY_CHECK' EXPORTING i_guid = lv_guid i_no_wait = abap_false IMPORTING e_done = lv_done e_data = co_data.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.