Start of Content Area

Function documentation Container Operation  Locate the document in its SAP Library structure

Use

You use a container operation (This graphic is explained in the accompanying text) to set a value for a target container element at runtime (see also: Defining the Data of a Process in Containers). The target container element and the assigned value must have the same data type. To specify the value, use the expression editor (see also: Using the Expression Editor .

You can:

·        Assign

Assigns a value to a single line or multi-line container element. This value overwrites the previous value. You can use this container operation to count a counter variable, for example.

·        Append

Appends a value to a multiline container element. For example, you can use this container operation to append individual messages to multiline container elements when gathering messages together.

 

Note

You cannot change a message by using a container operation. To change a message, use a transformation step.

Activities

Assign

You can assign the following as a value:

·        An expression

·        The result of a calculation from two operands (simple XSD data types) and an arithmetic operator

       1.      Choose Assign as the container operation.

       2.      Specify the expression or the arithmetic operation. 

Append

...

       1.      Choose Append as the container operation.

       2.      Choose the expression that gives the value that you want to append.

Example

For examples of how to use a container operation, see:

Example: Collecting and Bundling Messages from One Interface

Example: Multicast – Multiple Receivers (with Response Message)

 

End of Content Area