on 05-02-2013 12:46 AM
Hi,
I have a scenario to invoke 2 different operation maps based on a date condition in the incoming idoc. I have tried setting up an XPATH condition in the interface determination similar to INVOIC02/IDOC/E1EDK03/[IDDAT = 13 and DATUM > 2013-05-01] to pick OP map A and another condition INVOIC02/IDOC/E1EDK03/[IDDAT = 13 and DATUM < 2013-05-01] to pick OP MAP B.
But during runtime, I am able to get only OP Map A picked even if the DATUM in the Idoc is less than 2013-05-01. Am I missing something ?? I even tried using paranthesis like INVOIC02/IDOC/E1EDK03/[(IDDAT = 13) and (DATUM > 2013-05-01)] but that doesnt seem to help.
Any help is appreciated.
Teresa
I think greater than /less than will not work for YYYY-MM-DD format, try to change date format to numeric format and try.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi teresa,
can you please check this blog
regards,
Loordh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
INVOIC02/IDOC/E1EDK03/[(IDDAT = 13) AND (DATUM > 2013-05-01)]
You need to use AND keyword. Please see below for how to do usage for doing AND operation
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/ca/fc6e91d1a945cf9c9b462b69bf15e9/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Teresa,
Date format in the IDoc should be YYYYMMDD. Try to put date value in this format in the condition editor and see if it works.
Hope it helps.
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.