Skip to Content

ccBPM integration process Condition Editor XPATH question

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Mar 04, 2013 at 12:17 PM

    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

    Add comment
    10|10000 characters needed characters exceeded