on 02-15-2008 1:15 PM
Hi All,
My scenario was this, based on the value of the field i need to send the data to the target data structure..
my structure was this..
MT_IN_FILE MT_OUT_FILE
RECORD RECORD
ROW ROW 1
FIELD 1 FIELD 1
FIELD 2 FIELD 2
FIELD 3 FIELD 3
ROW 2
FIELD 1
FIELD 2
FIELD 3
So, if the value of Field1 is 250 then in should deliver to Row1 Fields else if the value is 350 then it should deliver to Row2 Fields.
regards,
Kishore
Kishore,
I hope you might have given the occurrences of Row1 and Row2 as 0..1
Now, map Field1 to Field1 for both Row1 & Row2, similarly Field2 to Field2, Field3 to Field3 for both Row1 & Row2.
Field1&Constant(250)---->eQuals
Field1&Constant(350)---->eQuals
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
My scenario was this, based on the value of the field i need to send the data to the target data structure..
my structure was this..
MT_IN_FILE
RECORD
ROW
FIELD 1
FIELD 2
FIELD 3
MT_OUT_FILE
RECORD
ROW 1
FIELD 1
FIELD 2
FIELD 3
ROW 2
FIELD 1
FIELD 2
FIELD 3
So, if the value of Field1 is 250 then in should deliver to Row1 Fields else if the value is 350 then it should deliver to Row2 Fields.
regards,
Kishore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If source_field1 = 250 then map source_field1 to target_row1node.
source_field1 map to row1_field1.
source_field2 map to row1_field2.
source_field2 map to row1_field3.
If source_field1 = 350 then map source_field1 to target_row2node.
source_field1 map to row2_field1.
source_field2 map to row2_field2.
source_field2 map to row2_field3.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.