GET_STRUC_DESCR_BY_FIELDLIST SAP Method Get a structure descriptor from a field list
Below is documentation, parameters and attributes of ABAP Method GET_STRUC_DESCR_BY_FIELDLIST within SAP class /SCMTMS/CL_BO_DG_DATA. 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_BO_DG_DATA 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 directlyThe following technical details of method GET_STRUC_DESCR_BY_FIELDLIST can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_STRUC_DESCR_BY_FIELDLIST
.| Name | Type | Data Type | Description | Default Value |
| IT_FIELDLIST | Importing | TYPE DDFIELDS | DD: Field List | |
| ET_MAP_FNAME_LFNAME | Exporting | TYPE TY_T_MAP_FNAME_LFNAME | ||
| ER_STRUCDESCR | Returning | TYPE REF TO CL_ABAP_STRUCTDESCR | Runtime Type Services |
Exceptions of Method GET_STRUC_DESCR_BY_FIELDLIST
CX_SY_CREATE_DATA_ERROR - System-Exception Creating DataExample ABAP coding
DATA: lv_ER_STRUCDESCR TYPE CL_ABAP_STRUCTDESCR,
lv_IT_FIELDLIST TYPE DDFIELDS,
lv_ET_MAP_FNAME_LFNAME TYPE TY_T_MAP_FNAME_LFNAME,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_BO_DG_DATA=>GET_STRUC_DESCR_BY_FIELDLIST(
EXPORTING
IT_FIELDLIST = lv_IT_FIELDLIST
IMPORTING
ET_MAP_FNAME_LFNAME = lv_ET_MAP_FNAME_LFNAME
RECEIVING
ER_STRUCDESCR = lv_ER_STRUCDESCR )
"Alternate coding for Method Call with returning parameter
lv_ER_STRUCDESCR = /SCMTMS/CL_BO_DG_DATA=>GET_STRUC_DESCR_BY_FIELDLIST(
EXPORTING
IT_FIELDLIST = lv_IT_FIELDLIST
IMPORTING
ET_MAP_FNAME_LFNAME = lv_ET_MAP_FNAME_LFNAME ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects