DISPLAY_TO_MEMORY SAP Method Converts to Memory Layout Including Offset Table
Below is documentation, parameters and attributes of ABAP Method DISPLAY_TO_MEMORY within SAP class CL_ABAP_LIST_UTILITIES. 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_ABAP_LIST_UTILITIES 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 DISPLAY_TO_MEMORY can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method DISPLAY_TO_MEMORY
.| Name | Type | Data Type | Description | Default Value |
| DISPLAY_DATA | Importing | TYPE CSEQUENCE | Data in Display Layout | |
| OFFSET_TAB | Importing | TYPE ABAP_OFFSET_TAB | Table with Offsets | |
| MEMORY_DATA | Exporting | TYPE CLIKE | Data in Memory Layout | |
| TRUNCATION_POS | Exporting | TYPE I | Possibly First Position That Had to Be Truncated |
Exceptions of Method DISPLAY_TO_MEMORY
CLIKE
I
Example ABAP coding
DATA: lv_DISPLAY_DATA TYPE CSEQUENCE,
lv_MEMORY_DATA TYPE CLIKE,
lv_OFFSET_TAB TYPE ABAP_OFFSET_TAB,
lv_TRUNCATION_POS TYPE I,
lv_other TYPE c.
CALL METHOD CL_ABAP_LIST_UTILITIES=>DISPLAY_TO_MEMORY(
EXPORTING
DISPLAY_DATA = lv_DISPLAY_DATA
OFFSET_TAB = lv_OFFSET_TAB
IMPORTING
MEMORY_DATA = lv_MEMORY_DATA
TRUNCATION_POS = lv_TRUNCATION_POS ).
Links to Related Class(s)
CL_ABAP_...Full list of available SAP object classes
Search for further information about these or an SAP related objects