on 04-02-2016 3:52 PM
Hi Gurus,
We have implemented an IDOC-to-FILE scenario. Now, the requirement is that even when the source field is blank in IDOC (no value), the target field must still have the xml tag (blank) in the file. The requirement goes with segments as well.
If you already have some example/s (nodes/udf/etc), kindly share. Thank you.
Regards,
John
Hello John,
Use the map with default function in the message mapping
Source Field-------------->Map With Default---------------->Target Field.
[]
It will be under Node functions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
You need to provide more information about this, can you provide sample source xml and target required xml, and which field it is giving problem and what is the mapping you applied for that field.
Is your target file is xml file or text file which you converted via FCC??
Regards,
Praveen.
John,
It should work, Please post the input queues and output queues screenshot.
Try the below logic as well using if then else and exists functions.
Source-------------exists--------------------------------IF----------------------------------Target
|
|---------------------------------------------------------Then
Constant-------------------------------------------------Else
[]
Hi Gurus,
Good day. Below is the sample IDOC. Segment E1WBB13 does not appear in WE02 but it should appear in the XML file. Under E1WBB13 there's an extended custom segment ZKONP that should appear as well.
Basic Type: WBBDLD05
Here's the XML output:
In message mapping, I tried the following:
* Same output as above
* Same output as above
Hope the information is okay. Thank you very much in advance.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.