G_PP_READ_AND_PARSE_LAYOUT is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name G_PP_READ_AND_PARSE_LAYOUT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
KPP_FISL
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'G_PP_READ_AND_PARSE_LAYOUT' "
EXPORTING
applclass = " applclass
subclass = " subclass
tabname = " tabname
form = " rke_cform
* plprof = SPACE " kpp_plprof
* posit = " kpp_posit
IMPORTING
text = " glpl_jobtext
text_plprof = " text50
layout_ledger_mis = " char1
docty = " docty
cutyp = " kurst
aggregat = " glpl_aggregat
TABLES
dimensions = " gppdimensions
values = " gppvalues
EXCEPTIONS
NOT_FROM_PLTOOL = 1 "
CONFIG_ERROR = 2 "
. " G_PP_READ_AND_PARSE_LAYOUT
The ABAP code below is a full code listing to execute function module G_PP_READ_AND_PARSE_LAYOUT including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_text | TYPE GLPL_JOBTEXT , |
| ld_text_plprof | TYPE TEXT50 , |
| ld_layout_ledger_mis | TYPE CHAR1 , |
| ld_docty | TYPE DOCTY , |
| ld_cutyp | TYPE KURST , |
| ld_aggregat | TYPE GLPL_AGGREGAT , |
| it_dimensions | TYPE STANDARD TABLE OF GPPDIMENSIONS,"TABLES PARAM |
| wa_dimensions | LIKE LINE OF it_dimensions , |
| it_values | TYPE STANDARD TABLE OF GPPVALUES,"TABLES PARAM |
| wa_values | LIKE LINE OF it_values . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_text | TYPE GLPL_JOBTEXT , |
| ld_applclass | TYPE APPLCLASS , |
| it_dimensions | TYPE STANDARD TABLE OF GPPDIMENSIONS , |
| wa_dimensions | LIKE LINE OF it_dimensions, |
| ld_text_plprof | TYPE TEXT50 , |
| ld_subclass | TYPE SUBCLASS , |
| it_values | TYPE STANDARD TABLE OF GPPVALUES , |
| wa_values | LIKE LINE OF it_values, |
| ld_layout_ledger_mis | TYPE CHAR1 , |
| ld_tabname | TYPE TABNAME , |
| ld_docty | TYPE DOCTY , |
| ld_form | TYPE RKE_CFORM , |
| ld_cutyp | TYPE KURST , |
| ld_plprof | TYPE KPP_PLPROF , |
| ld_aggregat | TYPE GLPL_AGGREGAT , |
| ld_posit | TYPE KPP_POSIT . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name G_PP_READ_AND_PARSE_LAYOUT or its description.