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

Downloading .xml/.tx data to presentation server while running background.

Former Member
0 Likes
536

Hi experts,

I have a requiremnt to downloading .xml/.txt data to presentation server while running background.

when i run the program in foreground with use of GUI_upload/ Gui_download its working fine but not working in background.

i can't use email/data download to database file and than get it option as data can be huge.

Can anybody help me out regarding this.

Thanks

Anuj jain

Hi experts,

I have a requiremnt to downloading .xml/.txt data to presentation server while running background.

when i run the program in foreground with use of GUI_upload/ Gui_download its working fine but not working in background.

i can't use email/data download to database file and than get it option as data can be huge.

Can anybody help me out regarding this.

Thanks

Anuj jain

2 REPLIES 2
Read only

AlessandroSpadoni
Contributor
0 Likes
500

Hi anjui,

it'snt possible to download a file in background using gui_download.

You could try to create a Shell Command (transaction SM69) to transfer data in a shared directory.

You can execute Os Commands using function module SXPG_COMMAND_EXECUTE

Alessandro

Read only

Former Member
0 Likes
500

write your data to database file using open....transfer....close. Then transfer to desktop via GUI_DOWNLOAD in foreground, or research how to FTP (to a folder/file system accessible to SAP and to desktop) from SAP program. Search the forum.