on 08-09-2006 5:58 AM
Hi all;
While trigerring an alert from BPM is it necessary to select Dynamic Text in ALRTCATDEF .
Can we use the container variables defined by us in ALRTCATDEF as part of alert message in BPM.
Hi Mudit,
You will be able to trigger alerts in BPM, with container variable-values defined in ALRTCATDEF, only by checking the dynamic text option in ALRTCATDEF and by defining a simple type variable in the the BPM.
Regards,
Sushumna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mduit,
Take a look at Michal's blog . He has used a variable called DOCNUMBER . In a Container Step, he is assigning a value to that DOCNUMBER.
Like wise, you need to define a container elelment in your BPM , initlialize it in your CONTAINSER step and then in the CONTROL step, you can use this varable using & & along with the Dynamic text.
Regards,
Bhavesh
Mudit,
If you want the container elements to be filled by values by default like it happens in normal Alerts , then it cant be done.
All values you want to pass to the Alert has to come from the BPM. Define any container elelment , assign it a value using a container peration and then use it in the control step --> text .
Regards,
Bhavesh
Mudit,
> From this discussion i got two points cleared.
> 1 If trigerring alerts from BPM we have to use
> dynamic text box checked
> 2 When using BPM all alert message values should come
> from BPM .
> am i correct??
Yes you are correct. Just use Michal's blog as a templater and go ahead.
Regards,
Bhavesh
Hi Mudit,
Although you cannot use the container variables while trigerring alerts from the BPM, you can always <b>assign "context objects"</b> to the simple type container element that you have defined in the BPM(to capture the alert being raised). These context objects are actually a way of <b>accessing a particular field of the message.</b> Therefore, you can capture variables like SNDPRN, MESTYP, etc from the payload of an Idoc...for which you would''ve probably used variables like SXMS_FROM_PARTY,SXMS_TO_NAMESPACE, etc. You can even create your own context objects.
For more, go through the following documentation:-
http://help.sap.com/saphelp_nw04/helpdata/en/43/1b9259fb002be8e10000000a11466f/frameset.htm
Here, read in detail about container operation->using the expression editor->context objects.
Regards,
Sushumna
Mudit, yes, you need to select Dynamic Text in ALRTCATDEF for your Alerts in BPM.
Take a look at this blog,
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.