Hi,
In my scenario,my IDOC is having several segments.Each segment is having same fields,say FieldA,FieldB.
I want to do in mapping in such a way that whenever the value of FieldA is 'Customer',I want to retrieve the corresponding value of FieldB and pass it to the target .
Similarly,when the Value of fieldA is 'Vendor',I want to retrieve the corresponding value of FieldB and pass it to the target .
Here,the IDOC may have 7-8 segments and each segment will have two fields and these fields may contain any value.But,I would like to pass the corresponding values of only those segments which contain 'Customer' and 'Vendor' which is coming as first instance to my target.
My required value 'Customer' and 'vendor' may occur in any of the segements.
Please give your ideas on how to do designing of this scenario.it would be great if I can get some screenshots .
Regards,
Alex.