Declaration and Initialization of a Container
Use
You can use macros to create or initialize a container at runtime.
A container has to be created if you program the event creation yourself and require an event container, for example.
You do not have to create a container in the following programs:
-
Function Module for Rule Resolution
The container is declared in the interface of the function module.
-
Implementation program
The container is called CONTAINER and is already created.
Features
Declaring a container data structure at runtime
An empty internal table is created with the structure SWCONT. Use the macro following macro instruction:
SWC_CONTAINER <Container>.
Initializing a container
You must initialize a container before you use it. This deletes all entries in the internal table. Use the macro following macro instruction:
SWC_CREATE_CONTAINER <Container>.