problem changing output row set elements
Posted: Mon Aug 01, 2016 3:52 am
Hi there,
i have an issue addressing the data fields from an excel import named "exceldata".
Before i write this data field (index 9) out into an AS400 file, i want to do a substring but cannot get it to work.
I have tried like ${substring(exceldata[9],1,40)} in the "Map from" definition, but this always throws an error.
I never tried this before, can someone please point me in the right direction here?
XM code is attached.
As a second question, is there any way to have a numeric field rounded to 2 decimals during the mapping if it has more than 2 decimals in the excel cell?
Thank you,
Axel
i have an issue addressing the data fields from an excel import named "exceldata".
Before i write this data field (index 9) out into an AS400 file, i want to do a substring but cannot get it to work.
I have tried like ${substring(exceldata[9],1,40)} in the "Map from" definition, but this always throws an error.
I never tried this before, can someone please point me in the right direction here?
XM code is attached.
As a second question, is there any way to have a numeric field rounded to 2 decimals during the mapping if it has more than 2 decimals in the excel cell?
Thank you,
Axel