cancel
Showing results for 
Search instead for 
Did you mean: 

Container Variable in Alert

Former Member
0 Kudos

Daer Experts,

I m trying to configure Alert and in the Long Text, I want to pass the value of an element in the pay load.

What I believe that, I have to create a container variable .

I think that while creating container variable, under D.TYPE Tab, the radio button "Object Type" is to be selected and Object Type should be "XML OBJECT TYPE" . When I m clicking on F4 button,I am getting a list of Objects. How I'll include mine in the list?

Pls let me know, is there any other way to do?

Please give some solution.

Accepted Solutions (1)

Accepted Solutions (1)

VijayKonam
Active Contributor
0 Kudos

Hi,

I do not think we can add our own container variables in the alert text. only SAP predefined Container variables could be used in this case. This is as per my knowledge only.

VJ

Former Member
0 Kudos

Hi VJ,

Thanks for the reply.

Pls make me understand, if such a scope is not possible, why SAP has provided the facility to create the Container element.

While trying in my Server, I am able to find other user defined Interfaces and the elements under the payload structure, but dont know how it came.

former_member194786
Active Contributor
0 Kudos

Hi Navneet,

<<<Pls make me understand, if such a scope is not possible, why SAP has provided the facility to create the Container element.>>>>

Container variables are provided by SAP to access the Runtime variables such as the Message ID, Sender system, Interface etc. I hope its clearer now.

Refer this link to if you have any more doubts:

http://help.sap.com/saphelp_nw04/helpdata/en/04/827440c36ed562e10000000a155106/frameset.htm

You can also create your own container variables, but that is in case of BPM.

Regards,

Sanjeev.

Former Member
0 Kudos

Thanks all. We can use the user Defined container variables in BPM only.Else we can pass our variables to alert and fill the values in User Defined Function ( RFC LOOK UP for RFC :-SALERT_CREATE ) .

Regards,

Navneet

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Look at the below forum links

Thanks

Vikranth

Former Member
0 Kudos

Hi,

check the following links

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

/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated

list of standard container variables:

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

check these too..

1. http://help.sap.com/saphelp_nw04/helpdata/en/53/02153cdcf89e56e10000000a11405a/frameset.htm

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

I don't think we need to create container variables...we can make use of the existing ones.

Thanks,

Vijaya.

former_member181962
Active Contributor
0 Kudos

http://help.sap.com/saphelp_erp2004/helpdata/en/78/62373f58502e48e10000000a114084/frameset.htm

check this link to know more about container variable creation in BPMs.

Regards,

Ravi

Former Member
0 Kudos

Hi,

Are you using BPM for your scenario?I have used container variables for my alerts in BPM.