on 05-28-2014 8:55 AM
I have an IDoc segment SEG03 repeating multiple times. The segment has two fields, QUALF and a field ADD. I have two target fields X and Y. If QUALF is 003 then I have to sent the value to X. If QUALF is 12, then the value should be sent to Y. QUALF comes with six different values.
How do I meet this requirement?
IDoc Target
SEG03 Structure
QUALF X
ADD Y
SEG03
QUALF
ADD
SEG03
QUALF
ADD
SEG03
QUALF
ADD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Midhun,
QUALF -> Equals ->003 -> IfWithoutElse -> Then -> Add -> X
QUALF -> Equals ->012 -> IfWithoutElse -> Then -> Add -> Y
Hope this helps.
-
Sendhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Midhun,
Where should the value of ADD to be mapped if the values other than 003 and 012?
-
Sendhil
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.
No, it will not work. I think you didnt get the requirement. QUALF is 003 is the requirement for one target field. QUALF is 12 is the requirement for another target field.
You can not combine that both.
Also the values of QUALF is coming in different segments
EDIT: The segment has two fields, QUALF and a field ADD. I have two target fields X and Y. If QUALF is 003 then I have to sent the value of ADD to X. If QUALF is 12, then I have to sent the value of ADD to Y. QUALF comes with six different values
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.