‎2007 May 29 8:06 AM
hi friends...
need ur help again...
act i've a bdc created for uploading IN-time and OUT-time etc. of employees thru TCODE PA61 ...
but now our end users dont want it to be done manually...
They want the BDC to be executed daily at night or in the morning automatically..
a person will be creating file with all the required fields...and he'll save that file on the network drive or at any location...
Now...
Name of the file is like XYZ23.05.07...
the current date is displayed after XYZ....
and this date should be dynamically changed as the BDC will run automatically...
is it possible to change the name of file dynamically?
pls provide detailed answers...
pts wil b rewrded for sure..
‎2007 May 29 8:10 AM
Hi Snehal,
Yes the file name can be generated dynamically.
Use the logical file system concept.
As you are knowing the directory name in advance and the file name will be just a date added to the name. So you can code in your program to concatenate date with the file name.
Then the background job need to be scheduled.
Hope it is clear.
Regards,
Atish
‎2007 May 29 8:10 AM
Hi Snehal,
Yes the file name can be generated dynamically.
Use the logical file system concept.
As you are knowing the directory name in advance and the file name will be just a date added to the name. So you can code in your program to concatenate date with the file name.
Then the background job need to be scheduled.
Hope it is clear.
Regards,
Atish
‎2007 May 29 8:10 AM
Hi,
Filename can be changed by using FM SXPG_COMMAND_EXECUTE. Obviously O/S command that is need to be maintained via TCode SM69.
Hope it helps.