on 08-25-2009 6:32 PM
Hi All,
In my Scenario , i have to trigger the whole interface only when the Input message XPATH condition value of a field is say "Product". But it can come in any case(Upper or Lower) or even mixed cases.
I am not able to handle this condition at Receiver Determination .
Experts, please suggest me what i have to do in order to handle it in the Receiver Determination.
Thanks,
Siva
Hi Siva,
I am not really sure if the option I am mentioning would help.
Probably you may give it a try.
We have XPATH Function "upper-case(string)". Please use it and convert the incoming field value to "upper case" and then check for "PRODUCT".
I guess this should work.
Thanks,
Jaya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishna,
If your input field is KZABS for example and if it is like this in your payload:
/ZXORDRSP/IDOC/E1EDK01/KZABS
then you should write your xpath like this:
(/ZXORDRSP/IDOC/E1EDK01/upper-case(KZABS) = PRODUCT)
and
Try this and let us know the output.
You can see some help on upper-case or lower-case function here:
http://www.w3schools.com/Xpath/xpath_functions.asp
Regards,
---Satish
Hi Satish,
I did as you said . I am getting the following error . Can you please suggest me what i have to do now .
Error when determining the receiver: Problem evaluating a condition: Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160). Problem evaluating a condition: Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160). Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160). Exception CX_SWF_RLS_OPERAND_MISSING occurred (program: CL_SWF_RLS_COMPARISON=========CP, include: CL_SWF_RLS_COMPARISON=========CM002, line: 63). Exception CX_SWF_RLS_OPERAND_MISSING occurred (program: SAPMSSY1, include: , line: 0). Exception CX_SWF_EXP_EVALUATE occurred (program: CL_SWF_EXP_EXPRESSION=========CP, include: CL_SWF_EXP_EXPRESSION=========CM027, line: 38). Exception CX_SWF_EXP_EXPRESSION occurred (program: CL_SWF_EXP_EXPRESSION=========CP, include: CL_SWF_EXP_EXPRESSION=========CM01Z, line: 520). Exception CX_SWF_EXP_EXPRESSION occurred (program: CL_SAI_SWF_RULE_ENGINE========CP, include: CL_SAI_SWF_RULE_ENGINE========CM00S, line: 42). Problem when processing the XPath expression /ns0:pivotalEnv/ns0:Body/ns0:intbComplaint_Settlement_form/upper-case(ns0:@recordId)
Thanks,
Siva
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.