SAP G_PP_GENERATE_LAYOUT3 Function Module for
G_PP_GENERATE_LAYOUT3 is a standard g pp generate layout3 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 g pp generate layout3 FM, simply by entering the name G_PP_GENERATE_LAYOUT3 into the relevant SAP transaction such as SE37 or SE38.
Function Group: KPP_FISL
Program Name: SAPLKPP_FISL
Main Program: SAPLKPP_FISL
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function G_PP_GENERATE_LAYOUT3 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 'G_PP_GENERATE_LAYOUT3'".
EXPORTING
APPLCLASS = "
* EXCEL_INPLACE = ' ' "
SUBCLASS = "
TABNAME = "
PLPROF = "
FORM = "
POSIT = "
TEXT = "
* UNIT_FLAG = 'X' "
* SPREAD_FLAG = 'X' "
TABLES
DIMS = "
ITKES2 = "
ITKA50 = "
ITKA51 = "
ITKA52 = "
ITKA54 = "
IT8PL03 = "
VALS = "
ICEFORMV = "
ICEFORMF = "
ICEFORMS = "
ICEFORMT = "
ICEFORMW = "
ICEPRINT = "
ITKES1 = "
IMPORTING Parameters details for G_PP_GENERATE_LAYOUT3
APPLCLASS -
Data type: APPLCLASSOptional: No
Call by Reference: No ( called with pass by value option)
EXCEL_INPLACE -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: Yes
SUBCLASS -
Data type: SUBCLASSOptional: No
Call by Reference: No ( called with pass by value option)
TABNAME -
Data type: TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
PLPROF -
Data type: KPP_PLPROFOptional: No
Call by Reference: No ( called with pass by value option)
FORM -
Data type: RKE_CFORMOptional: No
Call by Reference: Yes
POSIT -
Data type: KPP_POSITOptional: No
Call by Reference: No ( called with pass by value option)
TEXT -
Data type: GLPL_JOBTEXTOptional: No
Call by Reference: No ( called with pass by value option)
UNIT_FLAG -
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: Yes
SPREAD_FLAG -
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: Yes
TABLES Parameters details for G_PP_GENERATE_LAYOUT3
DIMS -
Data type: GPPDIMENSIONSOptional: No
Call by Reference: No ( called with pass by value option)
ITKES2 -
Data type: TKES2Optional: No
Call by Reference: No ( called with pass by value option)
ITKA50 -
Data type: TKA50Optional: No
Call by Reference: No ( called with pass by value option)
ITKA51 -
Data type: TKA51Optional: No
Call by Reference: No ( called with pass by value option)
ITKA52 -
Data type: TKA52Optional: No
Call by Reference: No ( called with pass by value option)
ITKA54 -
Data type: TKA54Optional: No
Call by Reference: No ( called with pass by value option)
IT8PL03 -
Data type: T8PL03Optional: No
Call by Reference: No ( called with pass by value option)
VALS -
Data type: GPPVALUESOptional: No
Call by Reference: No ( called with pass by value option)
ICEFORMV -
Data type: CEFORMVOptional: No
Call by Reference: No ( called with pass by value option)
ICEFORMF -
Data type: CEFORMFOptional: No
Call by Reference: No ( called with pass by value option)
ICEFORMS -
Data type: CEFORMSOptional: No
Call by Reference: No ( called with pass by value option)
ICEFORMT -
Data type: CEFORMTOptional: No
Call by Reference: No ( called with pass by value option)
ICEFORMW -
Data type: CEFORMWOptional: No
Call by Reference: No ( called with pass by value option)
ICEPRINT -
Data type: CEPRINTOptional: No
Call by Reference: No ( called with pass by value option)
ITKES1 -
Data type: TKES1Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for G_PP_GENERATE_LAYOUT3 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_dims | TYPE STANDARD TABLE OF GPPDIMENSIONS, " | |||
| lv_applclass | TYPE APPLCLASS, " | |||
| lt_itkes2 | TYPE STANDARD TABLE OF TKES2, " | |||
| lv_excel_inplace | TYPE CHAR1, " ' ' | |||
| lt_itka50 | TYPE STANDARD TABLE OF TKA50, " | |||
| lt_itka51 | TYPE STANDARD TABLE OF TKA51, " | |||
| lt_itka52 | TYPE STANDARD TABLE OF TKA52, " | |||
| lt_itka54 | TYPE STANDARD TABLE OF TKA54, " | |||
| lt_it8pl03 | TYPE STANDARD TABLE OF T8PL03, " | |||
| lt_vals | TYPE STANDARD TABLE OF GPPVALUES, " | |||
| lv_subclass | TYPE SUBCLASS, " | |||
| lv_tabname | TYPE TABNAME, " | |||
| lt_iceformv | TYPE STANDARD TABLE OF CEFORMV, " | |||
| lv_plprof | TYPE KPP_PLPROF, " | |||
| lt_iceformf | TYPE STANDARD TABLE OF CEFORMF, " | |||
| lv_form | TYPE RKE_CFORM, " | |||
| lt_iceforms | TYPE STANDARD TABLE OF CEFORMS, " | |||
| lv_posit | TYPE KPP_POSIT, " | |||
| lt_iceformt | TYPE STANDARD TABLE OF CEFORMT, " | |||
| lv_text | TYPE GLPL_JOBTEXT, " | |||
| lt_iceformw | TYPE STANDARD TABLE OF CEFORMW, " | |||
| lt_iceprint | TYPE STANDARD TABLE OF CEPRINT, " | |||
| lv_unit_flag | TYPE CHAR1, " 'X' | |||
| lt_itkes1 | TYPE STANDARD TABLE OF TKES1, " | |||
| lv_spread_flag | TYPE CHAR1. " 'X' |
|   CALL FUNCTION 'G_PP_GENERATE_LAYOUT3' " |
| EXPORTING | ||
| APPLCLASS | = lv_applclass | |
| EXCEL_INPLACE | = lv_excel_inplace | |
| SUBCLASS | = lv_subclass | |
| TABNAME | = lv_tabname | |
| PLPROF | = lv_plprof | |
| FORM | = lv_form | |
| POSIT | = lv_posit | |
| TEXT | = lv_text | |
| UNIT_FLAG | = lv_unit_flag | |
| SPREAD_FLAG | = lv_spread_flag | |
| TABLES | ||
| DIMS | = lt_dims | |
| ITKES2 | = lt_itkes2 | |
| ITKA50 | = lt_itka50 | |
| ITKA51 | = lt_itka51 | |
| ITKA52 | = lt_itka52 | |
| ITKA54 | = lt_itka54 | |
| IT8PL03 | = lt_it8pl03 | |
| VALS | = lt_vals | |
| ICEFORMV | = lt_iceformv | |
| ICEFORMF | = lt_iceformf | |
| ICEFORMS | = lt_iceforms | |
| ICEFORMT | = lt_iceformt | |
| ICEFORMW | = lt_iceformw | |
| ICEPRINT | = lt_iceprint | |
| ITKES1 | = lt_itkes1 | |
| . " G_PP_GENERATE_LAYOUT3 | ||
ABAP code using 7.40 inline data declarations to call FM G_PP_GENERATE_LAYOUT3
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_excel_inplace) | = ' '. | |||
| DATA(ld_unit_flag) | = 'X'. | |||
| DATA(ld_spread_flag) | = 'X'. | |||
Search for further information about these or an SAP related objects