
Reading a Multiline Object Reference from a Container
Prerequisites
The following prerequisites must be fulfilled to read an object reference from a container:

This prerequisite is always fulfilled if you are in the

Containers passed using a function module interface always contain persistent object references. Before you read an object reference from a container and store it in a variable, you must make all object references in the container into runtime references. To do this, execute the following macro instruction:
SWC_CONTAINER_TO_RUNTIME <Container>

You must process a container with this macro if you:
Procedure
DATA <ObjectList> TYPE SWC_OBJECT OCCURS 0.
DATA <Object> TYPE SWC_OBJECT.
SWC_GET_TABLE <Container> <ContainerElement> <ObjectList>.
READ TABLE <ObjectList> <Index> <Object>.
You can read the object type and the key from the object reference. To do this, use the macros
SWC_GET_OBJECT_TYPE and SWC_GET_OBJECT_KEY. For more information, see Macro Instructions for Accessing Objects, Attributes and Methods