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

automatic upload

Former Member
0 Likes
894

hi guys.

i am writting an ABAP upload program to process payments made automatically. I need to know how to make my program pick the file on my C drive automatically without a user having to pick it up, that is, to do away with the use of a parameter.

Thank you

Regards,

Willard

4 REPLIES 4
Read only

Former Member
0 Likes
761

Hi willard,

1. If the Z Program is to be run thru front-end,

then u can always

specify the path name along with the file name,

in the abap code itself.

(the path /filename can be stored or

constructed dynamically in a variable,

using some logic and prefix/suffix)

2. BUT,

if the program is supposed to run in the background,

then we cannot access front-end server,

neither its files.

(in that case, the files need to be stored on application server,

and we need to use OPEN DATASET, read, CLOSE DATASET )

regards,

amit m.

Read only

dani_mn
Active Contributor
0 Likes
761

HI,

PARAMETERS: file(30) default 'C:
filename.xls'.

Regards,

Wasim Ahmed

Read only

Former Member
0 Likes
761

It si beter if you have the fiel on the application server instead of the presentation server.

Chances are that if you run the program when the PC is shut down, then it will lead ro errors and more over gui_upload function module will not work in background.

But if you still want there is a work around for this.

There is a document with me. Give me your email id, i'll send it to you.

Regards,

Ravi

Read only

0 Likes
761

Hi Kanth.

Thank you for the information.

My email address is willardchingarande@yahoo.com

Best regards