cancel
Showing results for 
Search instead for 
Did you mean: 

Container Element in ALERT

Former Member
0 Kudos

Dear Experts,

Can you plz explain, when it is required to create a CONTAINER ELEMENT in Alert Configuration.? As we can use the System Defined Variables like SXMS_ERROR_CODE, SXMS_FROM_INTERFACE etc, what is the need for the container element?

The System Defined Variables are filled by the System during Runtime, when such an error happens. But who ‘ll fill the Customized Container Variable and how??

Also while creating a Container Element for ALERT, the data type can be of OBJECT TYPE/ ABAP DICT.REFERENCE/ABAP DICT DATA TYPE. What is the significance of each?

Plz explain.

Regards,

Navneet

Accepted Solutions (0)

Answers (4)

Answers (4)

GabrielSagaya
Active Contributor
0 Kudos

1) what is the need for container element

The alert container is a container for the exchange of application-specific variables

alert is the interface between the application that triggers the alert and the central Alert Framework.

When you use application-specific variables in your container definition, you supply the values for these variables by writing them into the container as name-value pairs.

2)

You cannot create Customized Container Variable

Former Member
0 Kudos

Dear Gabriel,

If we cant create our Container Variable, why such an option is present unde TCODE :- ALRTCATDEF ( Container Tab). Please give an scenario, where the container variables are created and used .

In the Long Text I am writing “&SXMS_ERROR_CODE& was found from interface &SXMS_FROM_INTERFACE& “ . The System variables SXMS_ERROR_CODE and SXMS_FROM_INTERFACE are filled by System during Runtime.

But My intention is to create a Container Element , say CNTR1, and I want to use it in Long Text and want that it will be dynamically filled.

Regards,

Navneet

vijay_b4
Active Contributor
0 Kudos

Hi Navneet,

The container element contains all the control information required at run time in the form of constants and object references.

To inform the WF which object was created in the step via the method the reference to the bus object is passed via the binding definition from the task container to the Wf container. An appropriate element was therefore created automatically in the WF container with the correct data type.

The workflow container contains an element which is defined with a data type reference to the same object type that is created in the referenced task, this binding definition is proposed automatically when an activity is defined.

If no element with an appropriate data type reference is available in the workflow container, a suitable element is added to the workflow container and the binding entered.

For more info pz go through the link given below,u will get the useful info regarding creation of container element and much more .

http://saptechnical.com/Tutorials/Workflow/Workflow.htm

Reward points if this helps

Regards

Vani.

former_member556603
Active Contributor
0 Kudos
Former Member
0 Kudos

Hey

in ALRTCATDEF you can't use custom container variables,you can only use the system defined variables

Thanx

Aamir