cancel
Showing results for 
Search instead for 
Did you mean: 

container objects

Former Member
0 Kudos

what are container objects , where they are used actually..?

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member556603
Active Contributor
0 Kudos

Hello Chandrakanth,

They are 3 objects are used at user defined functions:

1) Container

2) Global Container

3) Mapping Trace

Container: This object enables you to cache the value, which you want to read again when you next call the same user-defined function.

Global container: This object enables you to cache the value, which you want to read again when you next call the same user-defined function that is in the same message mapping.

Mapping Trace: It gives the information of the messages . Eg: Error , Warning, Message status Etc.

Use

This object enables you to cache the values that you want to read again when you next call the same user-defined function. An instance of the container object is transferred to each user-specific function by using the container parameter.

Integration

When using the container object, you do not just temporarily save values for a user-defined function, you also access the following objects as well:

● GlobalContainer object to exchange values between different user-defined functions.

● Map object to access mapping runtime constants.

The following figure shows how the GlobalContainer and Container objects access mapping runtime constants:

Go through this links:

Refer the weblog by Michal Krawczyk:

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step

Refer teh help for each of the container information:

http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm

Refer the below link for more help:

http://help.sap.com/saphelp_nw04/helpdata/en/e4/028c4057d5701de10000000a1550b0/frameset.htm

Refer the below link how to use container object:

Global container:

http://www.erpgenie.com/netweaver/xi/mapping1.htm

Hope this info is useful to you.

Thanks,

Satya Kumar

Reward points if it is useful..

Former Member
0 Kudos

Hi Chandre kanth

Definition of a Container

Use

The elements of a container are described with ID, data type reference and other properties. Container definition is carried out with the container editor.

The container is stored in an XML table. The structure persistence is still available for workflows that were created before Release 6.10. Here, the tables used until Release 4.6D are used. You are to use the XML tables.

Integration

A container definition is not an independent action. Container definitions are always carried out within a definition tool using the editor provided.

Features

Container definition

To describe which data a container can hold at runtime, of which type and under which ID, the container must first be defined. This container definition defines which container elements a container holds. You can define the following containers as required:

Method container

Event container

Rule container

Task container

Workflow container

Usually containers are already defined. These containers hold standard container elements defined by the workflow system. These container elements will often be adequate for your requirements meaning that a more extensive container definition will not be necessary.

Container instance

A container instance is an instance of a container at runtime. It contains a value of the defined data type for each container element.

If a container contains elements that refer to structures and you use the structure persistence, you can optimize the saving of the container. To do this, condense the containers and check whether these container elements should be saved independently. For more information, see Workflow Runtime Administration

Binding

Values can be assigned to container elements in different ways.

Value assignment using a binding from another container according to a binding definition carried out previously.

Value assignment directly to a container instance in the program of an application.

Value assignment with an initial value determined at definition time when the container instance is created.

If a target container from a source container element is to be filled with a binding at runtime and if the source container element is initial, then determine in the options of the binding instruction whether the target container element is changed.

When processing container instances within a program for object type implementation (write and read accesses), use the macro instructions provided.

Activities

You can perform these activities from the container editor. The editor is called at the following places:

For the method container or the event container in the Business Object Builder

When you create a method parameter or an event parameter, it is automatically stored in the relevant container.

For the task container or the workflow container in the task definition or the workflow definition

For the rule container in the definition of the rules for agent determination

Creating Container Elements

To create a new container element, select .

Editing container elements

Double-click on the relevant table entry to edit a container element.

Copying, cutting, or pasting container elements

You select an element in a container by positioning the cursor on the relevant line and choosing . You can copy or cut selected container elements. If they are pasted in again, you must rename them.

Display conventions

The following conventions apply in the container editor:

Workflow system elements have a green background and are locked for processing

Container elements with import or export indicator set have a gray background

Local container elements have a white background

Container elements have the following symbols in the Workflow Builder:

Local container element

Container element with import indicator set

Container element with import and export indicators set

Container element with export indicator set

for more details folow this link

http://help.sap.com/saphelp_nw04/helpdata/en/c5/e4b06d453d11d189430000e829fbbd/frameset.htm

regards

Sandeep

If helpful kindly reward points

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

This object enables you to cache the values that you want to read again when you next call the same user-defined function. An instance of the container object is transferred to each user-specific function by using the container parameter.

When using the container object, you do not just temporarily save values for a user-defined function, you also access the following objects as well:

● GlobalContainer object to exchange values between different user-defined functions.

● Map object to access mapping runtime constants.

refer the below link for more help:

http://help.sap.com/saphelp_nw04/helpdata/en/e4/028c4057d5701de10000000a1550b0/frameset.htm

refer the below link how to use container object:

Global container:

http://www.erpgenie.com/netweaver/xi/mapping1.htm

chirag

Edited by: Chirag Gohil on Apr 17, 2008 12:50 PM