Skip to Content
1
Former Member
Nov 06, 2012 at 05:47 PM

how to populate field value from filename of infopackage??

162 Views

Hi friends,

I have an requirement in which i have to populate 0currency field based on the filename type.

if the file name contains 001 then 0currency should populate USD and if filename contains 002 then it should populate with EUR in 0currency.

here is a example:

File name: abc_001.csv --> 0currency should populate with USD

File name: abc_002.csv --> 0currency should populate with EUR.

i tried with RSSELDONE table but it is not working as we have routine in infopackage and rsseldone pick the filename if there is no routine else it will show the routine name of infopackage.

Please suggest better way how to resolve this issue, if you have any sample code please share with me.

thanks

Om Ambulker