on 08-28-2015 2:40 PM
Hi Experts,
I am not good at Mapping levels
I got one requirement Please can any one help me in Mapping.
Component is a Segment
if A or B or C is not present do not send that component to SAP proxy and at least one of those three must be present to send to SAP proxy
Mapping table:
Component (Segment ) | |
P | P - only send if either A or B or C are not blank |
Q | Q - only send if either A or B or C are not blank |
R | R - only send if either A or B or C are not blank |
S | S - only send if either A or B or C are not blank |
T | T - only send if either A or B or C are not blank |
U | U - only send if either A or B or C are not blank |
V | V - only send if either A or B or C are not blank |
Please help me with Screenshots for achieving this Mapping logic.
Thanks in Advance,
Regards,
Kamal S.
Hi,
what are A, B, or C are they some value or some field can you share the source target structure
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A, B, or C are they are Source field
A small change in Mapping table
Mapping table:
Component (Segment ) | |
P | P - only send if either A or B or C are not blank |
Q | Q - only send if either A or B or C are not blank |
R | R - only send if either A or B or C are not blank |
A | S - only send if either A or B or C are not blank |
B | T - only send if either A or B or C are not blank |
C | U - only send if either A or B or C are not blank |
V | V - only send if either A or B or C are not blank |
Hi! I would have done it the same and I got a little trick to do it shorter:
Use "fixedValues"-Conversion instead of "equalsS/constant/not" and convert "" to false and anything else to true.
A-->mapWithDefault-->fixedValues-->or--\
B-->mapWithDefault-->fixedValues-->or----\
C-->mapWithDefault-->fixedValues---------->or---->if without else-->target
P--/
By the way, MapWithDefault is only nessesary if the fields might not exist.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.