on 09-09-2016 4:19 PM
Hi,
Is this possible with X-path condition or not. If Yes, How?
I tried writing doing it in several ways and I've seen several blogs in SCN, None of them helped me to meet the requirement.
In Receiver Determination.
If both E1ADRM1 WE and its E1ADRE1 100(sub-element EXTEND_D) exists then send to receiver A
If E1ADRM1 WE exists and it's E1ADRE1 100(sub-element EXTEND_D) not exists then send to receiver B.
Note that E1ADRE1 100 segment occur dynamically based on the information available while creating the idoc. So I can't depended on static counting or something.
I can achieve this using Extended RD however, I'd like to meet the requirement using basic RD.
Regards,
Mahesh.
Solution to my question:
To receiver A:
boolean(not(/ZDELVRY03/IDOC/E1EDL20/E1ADRM1[PARTNER_Q = "WE"]/E1ADRE1[EXTEND_Q = "100" and EXTEND_D != ""])) EX
To receiver B:
boolean(/ZDELVRY03/IDOC/E1EDL20/E1ADRM1[PARTNER_Q = "WE"]/E1ADRE1[EXTEND_Q = "100" and EXTEND_D != ""]) EX
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First question to be asked is:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mahesh,
you can try with the condition
/DELVRY05/IDOC/E1EDL20/E1ADRM1[PARTNER_Q = "WE"]/E1ADRE1[(EXTEND_D)] EX
if this doesnt work, please share the IDoc xml from message logs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.