on 02-26-2016 10:02 AM
Hi ,
I have to map one source field to a node in IDOC. If say source field is ZWHI and the target node in IDOC is EITXT10(which has many fields under this)
I value is coming in ZWHI then the IDOC node E1TXT10 should be populated otherwise if no value is coming in ZWHI the target should not be populated.
How can I achieve this in mapping.
Will mapwithDefault work for this.
Thanks
$arika
if you use mapwithdefault function, target segment E1TXT10 creates always.
try as vikas suggested.
fyi.
use below 2 node function to generate the target node.
ZWHI - Exist - CreatIf - E1TXT10
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sarika,
instead of using mapwithdefault as vikas sais you can use exists function to resolve your issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sarkia,
You should use exists function and then with a if statement map something to targe node.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.