on 05-23-2009 11:02 PM
Hi Folks,
Could anyone of you help me regarding below problem
My requirement is
If billing type (Qualifier=015)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 at Else Statement. When the multiple IDOCs in the same Queue
Example:
Each IDOC contains the information of different partners(E1EDKA1 Segment is repeating)
IDOC-1
Partners PartnetNos
RS 0238232082
AG 0238232086
KL 0238232083
MN 0238232082
LN 0238232082
BK
IDOC-2
RS 0238232082
AG 0238232088
KL 0238232082
MN 0238232082
ZE 0238232087
BK 0238232082
IDOC-3
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 the 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.
It would be appreciated if you provide the solution ASAP ....
Thanks in Advance..
Kiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.