on 03-04-2013 11:52 AM
Hello,
I am splitting a message in a BPM, and calling a BAPI for 'n' messages. I would like to use the response in a switch element to determine that path the process follows.
I am having trouble using XPATH in the Condition Editor and would appreciate some advice.
If I use the following expression in an XPATH editor I get a result :
count(/rfc:BAPI_ACC_DOCUMENT_CHECK.Response/RETURN/item[TYPE!="S"])
In the integration process I have a container variable called 'CheckResponse' that corresponds to 'rfc:BAPI_ACC_DOCUMENT_CHECK.Response', so I am using :
count(CheckResponse/RETURN/item[TYPE!="S"])
The count keyword is coloured red, so I assume that is not supported.
When I tried
(CheckResponse/RETURN/item[TYPE!="S"]) EX
the EX keyword is red.
I would like to know if any items do not have a type of 'S' (Success), so that I can route the process accordingly.
Kind regards
Steve
Hi Steve,
Please check this link:
http://help.sap.com/saphelp_nw04/helpdata/en/ab/13bf7191e73a4fb3560e767a2525fd/content.htm
You need to enter XPATH in expression editor and select EX in condition editor.
Regards,
Beena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Beena
Many thanks for your reply.
I think that link is used for conditions in Integration Builder. I'm trying to create a condition in an integration process in Enterprise Services Builder and I don't think they work in quite the same way.
I should have also mentioned that I'm using PI 7.1.
Kind regards
Steve
Hi Steve,
Please check this link:
http://help.sap.com/saphelp_nwpi71/helpdata/en/44/15981541f7648ee10000000a1553f7/frameset.htm
Regards,
Beena
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.