SAP CO_VG_GRAPHIK Function Module for NOTRANSL: Aufruf der Netzplangraphik
CO_VG_GRAPHIK is a standard co vg graphik SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Aufruf der Netzplangraphik 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 co vg graphik FM, simply by entering the name CO_VG_GRAPHIK into the relevant SAP transaction such as SE37 or SE38.
Function Group: COVG
Program Name: SAPLCOVG
Main Program: SAPLCOVG
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CO_VG_GRAPHIK 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 'CO_VG_GRAPHIK'"NOTRANSL: Aufruf der Netzplangraphik.
EXPORTING
CAUFVD_IMP = "Request Header Structure
* T185V_SS = ' ' "
* T185_SS = ' ' "
TCN41_IMP = "
* TCA11_IMP = "
* GESAMTNETZ_IMP = ' ' "
GRAPH_TYP = "Graphic application: network (N) or bar (B)
RC271_IMP = "
RC27I_IMP = "
RC27S_IMP = "
RC27X_IMP = "
* REPORTING_IMP = ' ' "
* T185F_SS = ' ' "
IMPORTING
T185F_SS_EXP = "
T185V_SS_EXP = "
T185_SS_EXP = "
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLCOVG_001 User Exit for Checks of Operation Changes in the Production Order
IMPORTING Parameters details for CO_VG_GRAPHIK
CAUFVD_IMP - Request Header Structure
Data type: CAUFVDOptional: No
Call by Reference: No ( called with pass by value option)
T185V_SS -
Data type: T185VDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
T185_SS -
Data type: T185Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TCN41_IMP -
Data type: TCN41Optional: No
Call by Reference: No ( called with pass by value option)
TCA11_IMP -
Data type: TCA11Optional: Yes
Call by Reference: No ( called with pass by value option)
GESAMTNETZ_IMP -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
GRAPH_TYP - Graphic application: network (N) or bar (B)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
RC271_IMP -
Data type: RC271Optional: No
Call by Reference: No ( called with pass by value option)
RC27I_IMP -
Data type: RC27IOptional: No
Call by Reference: No ( called with pass by value option)
RC27S_IMP -
Data type: RC27SOptional: No
Call by Reference: No ( called with pass by value option)
RC27X_IMP -
Data type: RC27XOptional: No
Call by Reference: No ( called with pass by value option)
REPORTING_IMP -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
T185F_SS -
Data type: T185FDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CO_VG_GRAPHIK
T185F_SS_EXP -
Data type: T185FOptional: No
Call by Reference: No ( called with pass by value option)
T185V_SS_EXP -
Data type: T185VOptional: No
Call by Reference: No ( called with pass by value option)
T185_SS_EXP -
Data type: T185Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CO_VG_GRAPHIK 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_caufvd_imp | TYPE CAUFVD, " | |||
| lv_t185f_ss_exp | TYPE T185F, " | |||
| lv_t185v_ss | TYPE T185V, " SPACE | |||
| lv_t185_ss | TYPE T185, " SPACE | |||
| lv_tcn41_imp | TYPE TCN41, " | |||
| lv_tca11_imp | TYPE TCA11, " | |||
| lv_t185v_ss_exp | TYPE T185V, " | |||
| lv_gesamtnetz_imp | TYPE T185V, " SPACE | |||
| lv_graph_typ | TYPE T185V, " | |||
| lv_t185_ss_exp | TYPE T185, " | |||
| lv_rc271_imp | TYPE RC271, " | |||
| lv_rc27i_imp | TYPE RC27I, " | |||
| lv_rc27s_imp | TYPE RC27S, " | |||
| lv_rc27x_imp | TYPE RC27X, " | |||
| lv_reporting_imp | TYPE RC27X, " SPACE | |||
| lv_t185f_ss | TYPE T185F. " SPACE |
|   CALL FUNCTION 'CO_VG_GRAPHIK' "NOTRANSL: Aufruf der Netzplangraphik |
| EXPORTING | ||
| CAUFVD_IMP | = lv_caufvd_imp | |
| T185V_SS | = lv_t185v_ss | |
| T185_SS | = lv_t185_ss | |
| TCN41_IMP | = lv_tcn41_imp | |
| TCA11_IMP | = lv_tca11_imp | |
| GESAMTNETZ_IMP | = lv_gesamtnetz_imp | |
| GRAPH_TYP | = lv_graph_typ | |
| RC271_IMP | = lv_rc271_imp | |
| RC27I_IMP | = lv_rc27i_imp | |
| RC27S_IMP | = lv_rc27s_imp | |
| RC27X_IMP | = lv_rc27x_imp | |
| REPORTING_IMP | = lv_reporting_imp | |
| T185F_SS | = lv_t185f_ss | |
| IMPORTING | ||
| T185F_SS_EXP | = lv_t185f_ss_exp | |
| T185V_SS_EXP | = lv_t185v_ss_exp | |
| T185_SS_EXP | = lv_t185_ss_exp | |
| . " CO_VG_GRAPHIK | ||
ABAP code using 7.40 inline data declarations to call FM CO_VG_GRAPHIK
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.| DATA(ld_t185v_ss) | = ' '. | |||
| DATA(ld_t185_ss) | = ' '. | |||
| DATA(ld_gesamtnetz_imp) | = ' '. | |||
| DATA(ld_reporting_imp) | = ' '. | |||
| DATA(ld_t185f_ss) | = ' '. | |||
Search for further information about these or an SAP related objects