cancel
Showing results for 
Search instead for 
Did you mean: 

Building a file name dynamically and schedule the same

former_member183990
Active Contributor
0 Kudos

Hi friends,

Currently i am learning data services migration tool of business objects,

I have a question here ...

i need to write a script which build the file name at run time say...

c:\desktop\DS_<Date>.txt and need to schedule the job same if the file exists.

i have an idea to schedule the job and how the build the file name dynamically in DS i am not aware of ,

Can you people guide me through the process.

Thanks and Regards

S.Janagar

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You can accomplish this in Data Services with some scripting.

The basic idea is that you run a job with a WHILE loop and check for the existence of the file. As long as the file is not there, you keep checking...

See this page on the wiki for some ideas : http://wiki.sdn.sap.com/wiki/display/BOBJ/Eventbasedscheduling and more details in the referenced page : http://wiki.sdn.sap.com/wiki/display/BOBJ/SelectiveReadingand+Postprocessing