on 05-23-2009 8:28 PM
Could anyone of you help me regarding below problem
My requirement is
If billing type is "ZF2" or ZG2 and order reason is not equal to "T02", then need to place the ship to number(PARTN where PARVW = u201CAGu201D ).
Else need to place the end customer number PARTN where PARVW = u201CZEu201D, If end customer is not available then need to place ship to number (PARTN where PARVW = u201CAGu201D ).
My scenario is multiple IDOCs to multiple Files
I am experiencing the problem in the Else condition when there are multiple IDOCs coming with the same Queue
Example:
In the first IDOC, different partners are coming like, (E1EDKA1 Segment is repeating based on partners.)
Partners PartnetNos
RS 0238232082
AG 0238232086
KL 0238232083
MN 0238232082
LN 0238232082
BK
In the second IDOC, different partners are coming like, (E1EDKA1 Segment is repeating based on partners).
RS 0238232082
AG 0238232088
KL 0238232082
MN 0238232082
ZE 0238232087
BK 0238232082
In the third IDOC, different partners are coming like, (E1EDKA1 Segment is repeating based on partners.)
RS 0238232082
AG 0238232089
KL 0238232082
MN 0238232082
BK 0238232082
For the above input, I am not getting the proper output.
Example:
For the first IDOC , If condition is satisfied and the output is coming well.
For the second IDOC also I am getting the correct output ( If condition fails in this case.. so enters in else block ).
For the third IDOC, I am not getting proper output, it is placing the second IDOCu2019s ZE partner number in third file.
Output:
ZE 0238232087
My analysis:
Whenever my condition is enter into the else part, it is finding for ZE value. Even though in third IDOC partner ZE is not available it is presenting ZE value (in this case AG partner is available in the third IDOC) from second IDOC value because Queue is mismatching.
Could some one validate my analysis and provide solution for this problem.
Please let me know if you need any further information.s
If billing type is "ZF2" or ZG2 and order reason is not equal to "T02", then need to place the ship
to number(PARTN where PARVW = u201CAGu201D ).
Else need to place the end customer number PARTN where PARVW = u201CZEu201D, If end customer is not
available then need to place ship to number (PARTN where PARVW = u201CAGu201D ).
My scenario is multiple IDOCs to multiple Files
I am experiencing the problem in the Else condition when there are multiple IDOCs coming with the
same Queue
For the third IDOC, I am not getting proper output, it is placing the second IDOCu2019s ZE partner number in
third file.
The input to else condition seems improper....to configure the else condition you should have two different ifWithoutElse conditions configured...one each to check for ZE and AG respectively
For the Else part you can have logic as:
PARVW
------equalS ---- ifWithoutElse
Constant(ZE) Then(XYZSourceNode) --------
OR -------- Else
PARVW
------equalS ---- ifWithoutElse
Constant(AG) Then(XYZSourceNode) ------
Check if this works....
Regards,
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hey
It looks like you haven't maintained proper contexts....... check with context changes, if you still have the problem then its better to post your mapping along with context changes and display queues.
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.