on 03-05-2009 7:17 PM
Say source message is an IDOC which has the E1EDK14 segment repeated:
example:
E1EDK14-QUALF=006
E1EDK14-ORGID=01
E1EDK14-QUALF=007
E1EDK14-ORGID=02
I need to route this to System1 if ORGID=01 where corresponding QUALF=006 and System2 if ORGID=02 where corresponding QUALF=006.
Regular condition as follows does not work because it does not take into account that the two fields should be on the same index. Following routes it to both because ORGID=02 exists as well when QUALF=006 though on different index.
(/INVOIC02/IDOC/E1EDK14/QUALF = 006 AND /INVOIC02/IDOC/E1EDK14/ORGID = 01) - System1
(/INVOIC02/IDOC/E1EDK14/QUALF = 006 AND /INVOIC02/IDOC/E1EDK14/ORGID = 02) - System2
How to incorporate the index in the condition so that above logic goes to a particular system when the corresponding QUALF and ORGID on same index (or node occurence) only satisfies?
Hi
This has to work (this is the syntax)
/INVOIC02/IDOC/E1EDK14<QUALF = 006>/ORGID = 01 (or any value)
the < angular brackets > have to be considered as square bracktes [ ]
the editor does not represent sqaure brackets correctly in the code above
other additional info for trials
you can try giving single quotes etc (like '006')
first make it work for a direct condition, then try the above with similar syntax
Regards
Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.