cancel
Showing results for 
Search instead for 
Did you mean: 

File Adapater - How to pick a file dynmically at run time

Former Member
0 Kudos

Hi Folks ,

i am reading a file from location uisng file adapater .

Now i need to pick file at tun time eg

my file can be

<From DUNS>_<To DUNS>_<doc name>_<Time Stamp>_<uniqueID>_*.txt

I think when we write to a location we can write the file name dynamically

Not sure can we do the same while reading .

Thanks

Amit

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Amit,

You can use <b>*.txt</b> to pick up all the files dumped into the directory.

If you have some fixed document name in the dynamic filename you can give the file name scheme like <b>DOCNAMEXYZ.txt</b> .

Regards,

Ananth

Former Member
0 Kudos

HI,

You can try achieving this using

<i>Advanced Selection for Source File

If you want to set an exclusion mask for the File Name specified above, or if you want to specify multiple directories using a file name mask and exclusion mask, set the Advanced Selection for Source File indicator.

Specify an Exclusion Mask for the file name specified above.</i>

FILE ACCESS PARAMETERS

http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm

Regards

Vijaya

Former Member
0 Kudos

Hi,

You can do it for sender adapter also . For details go through this link.

http://help.sap.com/saphelp_nw2004s/helpdata/en/ee/c9f0b4925af54cb17c454788d8e466/frameset.htm

Regards,

Sudheer.

Former Member
0 Kudos

hi

chk out this link

regards

jithesh

former_member8655
Active Participant
0 Kudos