SAP FOPC_PRT_BUILD_STAT_OVER Function Module for Status Overview









FOPC_PRT_BUILD_STAT_OVER is a standard fopc prt build stat over SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Status Overview processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for fopc prt build stat over FM, simply by entering the name FOPC_PRT_BUILD_STAT_OVER into the relevant SAP transaction such as SE37 or SE38.

Function Group: FOPC_PRINT
Program Name: SAPLFOPC_PRINT
Main Program: SAPLFOPC_PRINT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FOPC_PRT_BUILD_STAT_OVER pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'FOPC_PRT_BUILD_STAT_OVER'"Status Overview
EXPORTING
IS_PARA = "Parameter for Print Used in PC-UI
IS_LAYOUT = "Layout of Print 'Status Overview'
IO_DATA = "Class with Reporting Data

IMPORTING
EV_MC_OU = "Checkbox
ET_PS_DATA = "Table of Print
ES_GLOBAL_DATA = "Line of Printing
EV_MC_PG = "Checkbox
EV_CTRL_PROC = "Checkbox
ET_MC_COLUMNS = "Table of Print
ET_PR_COLUMNS = "Table of Print
ET_MC_OU_DATA = "Table of Print
ET_PG_DATA = "Table of Print
ET_MC_PG_DATA = "Table of Print
ET_PR_DATA = "Table of Print
.



IMPORTING Parameters details for FOPC_PRT_BUILD_STAT_OVER

IS_PARA - Parameter for Print Used in PC-UI

Data type: FOPT_BSP_PRINT_PARA
Optional: No
Call by Reference: Yes

IS_LAYOUT - Layout of Print 'Status Overview'

Data type: FOPT_BSP_STATUS_OVERVIEW
Optional: No
Call by Reference: Yes

IO_DATA - Class with Reporting Data

Data type: CL_FOPC_REPORT_DATA
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for FOPC_PRT_BUILD_STAT_OVER

EV_MC_OU - Checkbox

Data type: XFELD
Optional: No
Call by Reference: Yes

ET_PS_DATA - Table of Print

Data type: FOPC_T_PRT_LINE
Optional: No
Call by Reference: Yes

ES_GLOBAL_DATA - Line of Printing

Data type: FOPC_S_PRT_LINE
Optional: No
Call by Reference: Yes

EV_MC_PG - Checkbox

Data type: XFELD
Optional: No
Call by Reference: Yes

EV_CTRL_PROC - Checkbox

Data type: XFELD
Optional: No
Call by Reference: Yes

ET_MC_COLUMNS - Table of Print

Data type: FOPC_T_COLUMN
Optional: No
Call by Reference: Yes

ET_PR_COLUMNS - Table of Print

Data type: FOPC_T_COLUMN
Optional: No
Call by Reference: Yes

ET_MC_OU_DATA - Table of Print

Data type: FOPC_T_PRT_LINE
Optional: No
Call by Reference: Yes

ET_PG_DATA - Table of Print

Data type: FOPC_T_PRT_LINE
Optional: No
Call by Reference: Yes

ET_MC_PG_DATA - Table of Print

Data type: FOPC_T_PRT_LINE
Optional: No
Call by Reference: Yes

ET_PR_DATA - Table of Print

Data type: FOPC_T_PRT_LINE
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FOPC_PRT_BUILD_STAT_OVER Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_is_para  TYPE FOPT_BSP_PRINT_PARA, "   
lv_ev_mc_ou  TYPE XFELD, "   
lv_et_ps_data  TYPE FOPC_T_PRT_LINE, "   
lv_es_global_data  TYPE FOPC_S_PRT_LINE, "   
lv_ev_mc_pg  TYPE XFELD, "   
lv_is_layout  TYPE FOPT_BSP_STATUS_OVERVIEW, "   
lv_io_data  TYPE CL_FOPC_REPORT_DATA, "   
lv_ev_ctrl_proc  TYPE XFELD, "   
lv_et_mc_columns  TYPE FOPC_T_COLUMN, "   
lv_et_pr_columns  TYPE FOPC_T_COLUMN, "   
lv_et_mc_ou_data  TYPE FOPC_T_PRT_LINE, "   
lv_et_pg_data  TYPE FOPC_T_PRT_LINE, "   
lv_et_mc_pg_data  TYPE FOPC_T_PRT_LINE, "   
lv_et_pr_data  TYPE FOPC_T_PRT_LINE. "   

  CALL FUNCTION 'FOPC_PRT_BUILD_STAT_OVER'  "Status Overview
    EXPORTING
         IS_PARA = lv_is_para
         IS_LAYOUT = lv_is_layout
         IO_DATA = lv_io_data
    IMPORTING
         EV_MC_OU = lv_ev_mc_ou
         ET_PS_DATA = lv_et_ps_data
         ES_GLOBAL_DATA = lv_es_global_data
         EV_MC_PG = lv_ev_mc_pg
         EV_CTRL_PROC = lv_ev_ctrl_proc
         ET_MC_COLUMNS = lv_et_mc_columns
         ET_PR_COLUMNS = lv_et_pr_columns
         ET_MC_OU_DATA = lv_et_mc_ou_data
         ET_PG_DATA = lv_et_pg_data
         ET_MC_PG_DATA = lv_et_mc_pg_data
         ET_PR_DATA = lv_et_pr_data
. " FOPC_PRT_BUILD_STAT_OVER




ABAP code using 7.40 inline data declarations to call FM FOPC_PRT_BUILD_STAT_OVER

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!