on 08-17-2015 1:52 AM
HI experts,
I have a scenario where XML is coming from one Party and based on Interface determination condition it should create either of the one IDOC.
I have used the below consdition
/p1:MT_InvoiceGeneration/HeaderRecord/OrderType = ZOR AND /p1:MT_InvoiceGeneration/HeaderRecord/InvoiceIndicator = OC OR /p1:MT_InvoiceGeneration/HeaderRecord/OrderType = ZXOR AND /p1:MT_InvoiceGeneration/HeaderRecord/InvoiceIndicator = OC
for one Idoc ----- should create ORDERS for this
and no condition for other one .... should create COND for that.
However it looks like not working and it is creating both IDOCs every time.
Attach is the screenshot as well.
Can you please suggest a solution for the same.
HI Chandra,
Can you let us know the PI version you are working on.
Also, did you cross check whether the condition is not met for the issue payload.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
However it looks like not working and it is creating both IDOCs every time.
i think you sending data is matching with condition which you maintain in Interface determination and the reason other one creating Idoc always is you did not maintain condition for that.
so while u doing test that condition, which u shared that should not be matched with data and try to trigger. it will not create idoc(invoice) for that.
in case that you planning either of IDoc should be created, then you can create condition like exact same for other one also(COND) but instead of '=' use 'not eqaul'
BR,
Maheswarareddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.