on 05-21-2014 2:05 AM
I have an IDoc to File scenario.
Idoc structure is like this
Idoc
EDI_DC40
Segment One
Field A
Field B
Field C
Field D
Field E
Field F
Segment Two
Field X
Field Y
Field Z
Now I have to send two fields in Target File which are not there in Idoc. Field GG and HH. The condition is like this.
For GG, if fields D, E and F in Idoc do not comes in the payload of it they come with an empty value, GG should be there at Target with a blank value or if any of the fields come with a value we need to send constant R.
For HH, if fields in F and Field Z do not comes in the payload of it they come with an empty value, GG should be there at Target with a blank value or if any of the fields come with a value we need to send constant R.
How do I achieve it?
Hi Midhun,
For GG
D--> Map with Default blank --> Equals Blank
AND
E--> Map with Default blank --> Equals Blank
AND
F--> Map with Default blank --> Equals Blank
input to IF then map Blank constant to Target
Else Map R to target (in else part)
For HH
F--> Map with Default blank --> Equals Blank
AND
Z (Context to parent node)--> Map with Default blank --> Equals Blank
input to IF then map Blank constant to Target
Else Map R to target (in else part)
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.