Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BDC--its different....

Former Member
0 Likes
366

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..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
344

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

2 REPLIES 2
Read only

Former Member
0 Likes
345

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

Read only

Former Member
0 Likes
344

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.