on 03-24-2008 11:40 PM
Hi,
I am doing a BPM scenario where I am sending purchase orders(PO) to a 3rd party system.I am using alerts when there is an error,in alert inbox I get a msg of the sender and receiver services etc ,but I also want in which PO the error has occured to be displayed.I came across this good link but not sure how to implement this.Can you help me with this guys,appreciate your help.I mean to ask where exactly I need to use this container and what to give in the properties.
http://help.sap.com/saphelp_nw04/helpdata/en/43/1b9259fb002be8e10000000a11466f/frameset.htm
Points will be awarded
Hi,
In Container Operations you have to assigen the value to the variable maintained in container
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.
Also Refer
Simple Steps to Get Descriptive Alerts from BPM in XI
/people/community.user/blog/2006/10/16/simple-steps-to-get-descriptive-alerts-from-bpm-in-xi
Alerts with variables from the messages payload (XI) UPDATED
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
also refer similar discussions
Thanks
Swarup
Edited by: Swarup Sawant on Mar 25, 2008 4:03 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
to get number of PO wich fail, in the BPM add a new container and assign to it the PO number using a container Object.
ADD a new control Object. In Action Property select THROW ALERT. Put the Alert category you define previously.
in the ALERT MESSAGE add this for example:
THE PO which fails is &PO_FAILS&
where PO_FAILS is the container where you assign the PO number.
this way i use to trigger Fails IDocs Numbers
Rgds
Rodrigo
PS: reward points if useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In my scenario I have a syn send step which sends the POs and then I use a switch step to check the response and throw an alert.So do I need to put the container just before the control.what all do I need to give in the properties in the container.Can you please explain me in more detail if you can
Thanks
hi
IM BPM create a new CONTAINER ELEMENT type string and call it FAIL_PO.
after proxy, add a new CONTAINER OPERATOR.
properties:
TARGET: FAIL_PO
operation: assign
Expresion: <Select the ID field of PO> E.X: Message./p1:MT_PO\orders\ID_ORDER
after container operator add a new control operator:
Properties:
action THROW ALERT
ALERT CATEGORY: Add the name of the alert category
ALERT MESSAGE: Write this for example:
Error In Purchase Order. ID Number: &FAIL_PO&.
Thanks
Rodrigo
I get alerts into my alert inbox but no details are specified
I get this in short text
< SXMS_ERROR_CAT not found> Error on System XID-010 for Msg < SXMS_MSG_GUID not found>
I get this in long text
< SXMS_ERROR_CAT not found> Error - < SXMS_ERROR_CODE not found>
System: XID-010
Message ID: < SXMS_MSG_GUID not found>
Sender: < SXMS_FROM_SERVICE not found>
Interface: < SXMS_FROM_INTERFACE not found>
you must create the containers elements.
go to container elements add press create new
in ELEMENT text box put SXMS_FROM_SERVICE
same in NAME and Description.
later in Abap Dict. Data Type >search for data alement>SXI_TO_SERVICE
see this too
http://help.sap.com/saphelp_nw04s/helpdata/en/d0/d4b54020c6792ae10000000a155106/frameset.htm
later in Long and short Text put the container beetwen && --> &SXMS_FROM_SERVICE&
Thanks
Rodrigo
Edited by: Rodrigo Pertierra on Mar 26, 2008 11:46 AM
Hi,
I have done everything you mentioned above, it does not work.I got this link which says that you cannot use these container variables for alerts of the Business Process Engine (BPE),So you have any idea what we need to use in BPE.
http://help.sap.com/saphelp_nw04s/helpdata/en/d0/d4b54020c6792ae10000000a155106/frameset.htm
Thanks
Hi Rodrigo,
The BPM alert works.
I have not given any expressions in container and left short and long text empty as you said, and checked the dynamic text box in alert category.
I am still working on sending alerts if I have a mapping error or other alerts,I guess I need to create a new category with all expressions in container with short and long text.
Thanks for your help man,appreciate it.I have awarded points.
Thanks Rodrigo,one more question if you can answer
While doing BPM alerts I am displaying PO No into my alert inbox,I also want PO Line No also to be displayed,In BPM container operation do you know how to add more than one XPATH Expression without inserting one more container operation to my BPM.
Thanks
You can take a look in this blog to check on where to put the variables.
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.