06-14-2007 8:42 AM
Hi,
I am using call transaction twice in my bdc program. It is using pa30.
I want to schedule this program in back ground but unable to do so.
The function moodule which I have used to upload the file is GUI_UPLOAD.
please tell if open dataset close dataset can be used for files on windows platform
Kindly suggest something, it's urgent
06-14-2007 8:48 AM
hi shraddha,
If the file is in the presentation server then u can use GUI_UPLOAD for foreground.
If the file is in the application server then u have to use open dataset for background.
Regards...
Arun.
Reward points if useful.
Message was edited by:
Arun kumar
06-14-2007 8:48 AM
hi shraddha,
If the file is in the presentation server then u can use GUI_UPLOAD for foreground.
If the file is in the application server then u have to use open dataset for background.
Regards...
Arun.
Reward points if useful.
Message was edited by:
Arun kumar
06-14-2007 8:49 AM
Hi,
We can not run the Program which is using the UPLoad and download function modules in the Background programs, You need to use the OPEN DATASETS to run the program in the background mode
Regards
Sudheer
06-14-2007 10:52 AM
hi shraddha..
use open and close dataset.
OPEN DATASET FILE_NAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
CLOSE DATASET FILE_NAME..
i am using call transaction twice in my bdc program....???
why are you using two time?
06-14-2007 1:05 PM
If you are scheduling your program in background mode u should not upload the files from the presentation server. You will have to upload/ download the file from the application server when running the program in background mode.Gui_ fm's would be used for the file from the presentation server (online mode)
In order to upload/ download the file use
Open dataset
...................
close dataset statements.
Reward with points if it helps!
06-14-2007 1:11 PM
Hi,
use open and close dataset.
OPEN DATASET FILE_NAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
Regards