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

Background processing problem

Former Member
0 Likes
477

Hi all ,

Need some help regarding processing an upload in the background.

Actually I am picking a file daily from the presentation server by using the GUI_UPLOAD FM and also I am downloading the file for all data which cud not be uploaded using GUI_DOWNLOAD.

The program is working fine in the frontend.

But when I am scheduling I am unable to upload any data .

The job is gettin cancelled stating the frontend operations cud not be carried out in the background .

At this stage what am i supposed to do ,

I now need to know are there some Function modules which can be used for the same purpose in the background .

Or there is some workaround by reading data from the application server and then creating the file at the application server.

any inputs will be helpful .

3 REPLIES 3
Read only

ferry_lianto
Active Contributor
0 Likes
454
Read only

Former Member
0 Likes
454

GUI_UPLOAD & GUI_DOWNLOAD works fine in foreground. These function modules do not work in background as suggested by SAP. So, U need to always run the program in foreground.

if u want to run the program in background, u need to use data on Application Server...Using DATASET concepts u can read data from Application server & even u can transfer data to Application server.

still if u need u can transfer data from presentation server to application server and use in ur program...then once data gets transffered to application server, u can retrieve data to presentation server...

use <b>CG3Y</b> -- EHS: Download Appl. to Front End

<b>CG3Z</b> -- EHS: Upload from Front End to Appl.

Message was edited by:

Ramesh Babu Chirumamilla

Read only

0 Likes
454

I got ur point ,

that we need to first bring down the data file to the application server , for which we need to run the cg3z transaction .

But can't we schedule this presentation to application transition .

Like in my case the file is getting appended every 30 minutes .

My program needs to pick this file data and upload the newly added entries into SAP.

Now even if my program is running to pick the file from application layer.

Still theres got to be an interface scheduled , which needs to bring the data file from the presentation to the application .

Can u brief me , how to go about it.