STRUC_GET_FIELDNAMES SAP Method Determine list of components of a DDIC structure









Below is documentation, parameters and attributes of ABAP Method STRUC_GET_FIELDNAMES within SAP class /SCMTMS/CL_COMMON_HELPER. 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 /SCMTMS/CL_COMMON_HELPER 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 STRUC_GET_FIELDNAMES can also be found below:

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


Parameters of Method STRUC_GET_FIELDNAMES

.

NameTypeData TypeDescriptionDefault Value
IS_STRUCImportingTYPE
ANY
Data structure
IV_STRUCNAMEImportingTYPE
TABNAME
Structure Name
ET_FIELD_NAMEExportingTYPE
/BOBF/T_FRW_NAME
List of Names (e.g. Fieldnames)



Exceptions of Method STRUC_GET_FIELDNAMES

This method does not have any exceptions

Example ABAP coding


DATA: lv_ET_FIELD_NAME TYPE /BOBF/T_FRW_NAME,
lv_IS_STRUC TYPE ANY,
lv_IV_STRUCNAME TYPE TABNAME,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_COMMON_HELPER=>STRUC_GET_FIELDNAMES(
EXPORTING
IS_STRUC = lv_IS_STRUC
IV_STRUCNAME = lv_IV_STRUCNAME
IMPORTING
ET_FIELD_NAME = lv_ET_FIELD_NAME ).

Links to Related Class(s)

/SCMTMS/...
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!