cancel
Showing results for 
Search instead for 
Did you mean: 

Background job variant creation - file name change daily

raju_123
Participant
0 Kudos
221

Dear experts, need to setup a back ground job with one parameter "file path" in which file name changes every day, file name will be in the following format-> filename_date&time. how to specify this parameter as dynamic or changes daily in variant? appreciate your responses.

Ryan-Crosby
Active Contributor
0 Kudos
Custom program or standard program?
View Entire Topic
Ryan-Crosby
Active Contributor
0 Kudos

Since it is a custom program you could try generating the value of that single parameter in the INITIALIZATION event.  You mentioned that it includes the time in the file name, which means you'd probably have to resort to using a function module or class method for reading the file system.  The only other option is to use the different formula options for variant creation, but given the input type that's not likely to work.

 

Regards,

Ryan Crosby