2008 Feb 11 3:54 PM
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
2008 Feb 11 3:57 PM
Do it in the application server
OPEN DATASET
...
READ DATASET
...
CLOSE DATASET
2008 Feb 11 3:57 PM
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
2008 Feb 11 3:58 PM
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
2008 Feb 11 4:01 PM
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
2008 Feb 11 4:03 PM
2008 Feb 11 4:05 PM
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.
2008 Feb 11 4:30 PM
Hi Santosh,
CG3Z AND CG3Y will not work in background bcoz they are using GUI_UPLOAD function modules.
so any help frnds.
regards,
satish
2008 Feb 11 4:46 PM
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
2008 Feb 11 6:25 PM
Bob the above link is not opening.
can u plz help me regarding that.
i tried a lot.
regards,
satish
2008 Feb 11 6:31 PM
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=presentationserverbackground+mode&cat=sdn_all
and see the first link.
a®
2008 Feb 11 6:36 PM
@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
2008 Feb 11 6:42 PM
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
a®