SAP GET_GANTT_PARAM Function Module for Analysis of Feedback from GANTT
GET_GANTT_PARAM is a standard get gantt param SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Analysis of Feedback from GANTT 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 get gantt param FM, simply by entering the name GET_GANTT_PARAM into the relevant SAP transaction such as SE37 or SE38.
Function Group: GANT
Program Name: SAPLGANT
Main Program:
Appliation area:
Release date: 19-Jan-1995
Mode(Normal, Remote etc): Normal Function Module
Update:

Function GET_GANTT_PARAM 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 'GET_GANTT_PARAM'"Analysis of Feedback from GANTT.
IMPORTING
AKT_SVIEW = "
AKT_TMBEG = "
AKT_TMEND = "
AKT_TUNIT = "
CUA_ID = "Key for CUA confirmation
G_TYP = "Confirmation type
TABLES
MSGT = "Table for confirmations
EXCEPTIONS
INV_MCODE = 1
EXPORTING Parameters details for GET_GANTT_PARAM
AKT_SVIEW -
Data type: GGAEL-BEGOptional: No
Call by Reference: No ( called with pass by value option)
AKT_TMBEG -
Data type: GGAEL-BEGOptional: No
Call by Reference: No ( called with pass by value option)
AKT_TMEND -
Data type: GGAEL-BEGOptional: No
Call by Reference: No ( called with pass by value option)
AKT_TUNIT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CUA_ID - Key for CUA confirmation
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
G_TYP - Confirmation type
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for GET_GANTT_PARAM
MSGT - Table for confirmations
Data type: GGABAOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INV_MCODE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for GET_GANTT_PARAM 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: | ||||
| lt_msgt | TYPE STANDARD TABLE OF GGABA, " | |||
| lv_akt_sview | TYPE GGAEL-BEG, " | |||
| lv_inv_mcode | TYPE GGAEL, " | |||
| lv_akt_tmbeg | TYPE GGAEL-BEG, " | |||
| lv_akt_tmend | TYPE GGAEL-BEG, " | |||
| lv_akt_tunit | TYPE GGAEL, " | |||
| lv_cua_id | TYPE GGAEL, " | |||
| lv_g_typ | TYPE GGAEL. " |
|   CALL FUNCTION 'GET_GANTT_PARAM' "Analysis of Feedback from GANTT |
| IMPORTING | ||
| AKT_SVIEW | = lv_akt_sview | |
| AKT_TMBEG | = lv_akt_tmbeg | |
| AKT_TMEND | = lv_akt_tmend | |
| AKT_TUNIT | = lv_akt_tunit | |
| CUA_ID | = lv_cua_id | |
| G_TYP | = lv_g_typ | |
| TABLES | ||
| MSGT | = lt_msgt | |
| EXCEPTIONS | ||
| INV_MCODE = 1 | ||
| . " GET_GANTT_PARAM | ||
ABAP code using 7.40 inline data declarations to call FM GET_GANTT_PARAM
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.| "SELECT single BEG FROM GGAEL INTO @DATA(ld_akt_sview). | ||||
| "SELECT single BEG FROM GGAEL INTO @DATA(ld_akt_tmbeg). | ||||
| "SELECT single BEG FROM GGAEL INTO @DATA(ld_akt_tmend). | ||||
Search for further information about these or an SAP related objects