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

regarding GUI_UPLOAD in background

Former Member
0 Likes
1,513

Hi frnds,

As we know that when we run a program in background and if it contains GUI_UPLOAD then it doesnt work.So apart from GUI_UPLOAD is there any way to upload as well as need to run the program in background.

frnds help me regarding this.

regards,

satish

Hi frnds,

As we know that when we run a program in background and if it contains GUI_UPLOAD then it doesnt work.So apart from GUI_UPLOAD is there any way to upload as well as need to run the program in background.

frnds help me regarding this.

regards,

satish

12 REPLIES 12
Read only

Former Member
0 Likes
1,329

Do it in the application server

OPEN DATASET

...

READ DATASET

...

CLOSE DATASET

Read only

Former Member
0 Likes
1,329

hi,

Any GUI functions don't work in background ... as an alternative use OPEN DATASET ..READ DATASET / TRANSFER DATASET... CLOSE DATASET ... statements

Refer

http://www.sapdev.co.uk/file/file_uploadsap.htm

Regards,

Santosh

Edited by: Santosh Kumar Patha on Feb 11, 2008 9:27 PM

Read only

Former Member
0 Likes
1,329

The solution is to use DATASET.

1) OPEN DATASET <dsn> FOR INPUT IN TEXT MODE.

2) Within statement Do... Enddo use READ DATASET <dsn> INTO internal table

Hope this helps.

Shane

Read only

Former Member
0 Likes
1,329

Frnds actually the file is there in the presentation server so how can i use open dataset .

Frnds its urgent do help me.

regards,

satish

Read only

0 Likes
1,329

Move it to the application server and get it from there.

rob

Read only

0 Likes
1,329

Upload the file to application server with the below mentioned transaction and access with those statements

CG3Y - to download file from application server.

CG3Z - to upload file from presentation server to application server.

Read only

0 Likes
1,329

Hi Santosh,

CG3Z AND CG3Y will not work in background bcoz they are using GUI_UPLOAD function modules.

so any help frnds.

regards,

satish

Read only

0 Likes
1,329

As far as I know, this is the only thing that will help:

[Communication to Presentation Server in Background Mode|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2]

I believe it to be difficult to use, but you can try it.

Rob

Read only

0 Likes
1,329

Bob the above link is not opening.

can u plz help me regarding that.

i tried a lot.

regards,

satish

Read only

0 Likes
1,329

https://www.sdn.sap.com/irj/sdn/advancedsearch?query=presentationserverbackground+mode&cat=sdn_all

and see the first link.

Read only

0 Likes
1,329

@a®s - that just points to the link I suggested which doesn't open,

Anyway, I don't know of anyone who has actually tried this. It'd be better to look at the other suggestion.

Rob

Read only

0 Likes
1,329

I tried its working . Its a pdf document.

The same file content i find in a different link

http://sapabap.iespana.es/sap/info/rfcexec/rfcexec_e.htm