on 03-02-2020 5:57 AM
Hi,
File to IDOC scenario.
Date has to be converted from YYYY-MM-DD to YYYYMMDD. Error is coming as Unparseable date.
Conversion is happening, but when empty tag is sent, the mapping fails with unparseable date ""
If measurement date exists, then transform it to above said condition, if not exists then assign empty string(Empty tag).
Hi Subin,
the problem in your solution lies in the "exists" block. The block gives only a false, if the Measure...-tag doesn't exist at all. If it is just empty, it still exists and thus the exists block returns true. Better try to compare if the the string inside the Measure-tag is empty. In addition add a mapwithDefault, so that your mapping doesn't break if the element doesn't exist at all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
9 | |
9 | |
7 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.