CREATE_DYNAMIC_TABLE SAP Method Create Dynamic Data Table









Below is documentation, parameters and attributes of ABAP Method CREATE_DYNAMIC_TABLE within SAP class CL_ALV_TABLE_CREATE. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_ALV_TABLE_CREATE into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method CREATE_DYNAMIC_TABLE can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method CREATE_DYNAMIC_TABLE

.

NameTypeData TypeDescriptionDefault Value
IT_FIELDCATALOGImportingTYPE
LVC_T_FCAT
Field Catalog
I_LENGTH_IN_BYTEImportingTYPE
BOOLEAN
Boolean Variable (X=True, Space=False)
I_STYLE_TABLEImportingTYPE
CHAR01
Add Style Table
EP_TABLEExportingTYPE REF TO
DATA
Pointer to Dynamic Data Table
E_STYLE_FNAMEExportingTYPE
LVC_FNAME
ALV Control: Field Name of Internal Table Field



Exceptions of Method CREATE_DYNAMIC_TABLE

EP_TABLEExportingTYPE REF TO
DATAPointer to Dynamic Data TableE_STYLE_FNAMEExportingTYPE
LVC_FNAMEALV Control: Field Name of Internal Table FieldGENERATE_SUBPOOL_DIR_FULL - At Most 36 Subroutine Pools Can Be Generated Temporarily

Example ABAP coding


DATA: lv_EP_TABLE TYPE DATA,
lv_E_STYLE_FNAME TYPE LVC_FNAME,
lv_IT_FIELDCATALOG TYPE LVC_T_FCAT,
lv_I_LENGTH_IN_BYTE TYPE BOOLEAN,
lv_I_STYLE_TABLE TYPE CHAR01,
lv_other TYPE c.

CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE(
EXPORTING
IT_FIELDCATALOG = lv_IT_FIELDCATALOG
I_LENGTH_IN_BYTE = lv_I_LENGTH_IN_BYTE
I_STYLE_TABLE = lv_I_STYLE_TABLE
IMPORTING
EP_TABLE = lv_EP_TABLE
E_STYLE_FNAME = lv_E_STYLE_FNAME ).

Links to Related Class(s)

CL_ALV_T...
Full list of available SAP object classes

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!