This website is not affiliated with, sponsored by, or approved by SAP AG.

Output of Background Job download to PC automatically

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Output of Background Job download to PC automatically

Postby Rich.Tz » Sat Nov 30, 2002 12:55 am

It's might possible to download output of a background schedule job to Excel or other PC file format by ABAP programming effort.

But is it possible to let end-users to schedule a standard SAP transaction run at background and download to PC file automatically? Then I can use 3rd party utility move it to user's local PC.

- Richard
Rich.Tz
 

Postby Rich » Mon Dec 02, 2002 3:42 am

You can download a file to a PC in the background, but it's a hell of a job because the session is no longer attached to the PC that created it.

You will have to write the data to the application server using OPEN DATASET (so you're Excel option is limited to CSV or TAB delimited files), then transfer the file using the *FTP* functions to the PC, in the meantime hoping that the end user has not switched the PC off.....

An easier option would be to make the current GUI invisible and give the user a new one, so that the program is running in the foreground on the PC - he just can't see it.

Have a look at the function module 'SAPGUI_SET_PROPERTY'

Regards,

Rich
Rich
 
Posts: 7112
Joined: Thu Oct 31, 2002 4:47 pm
Location: Liverpool


Return to ABAP

Who is online

Users browsing this forum: Google [Bot], Google Adsense [Bot] and 8 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.