01-25-2007 3:29 PM
can u tell me wat is the problem that BDC uploading is going on fine while doing in FOREGROUND,but getting errors while doing in BACK GROUND..Program is same..
01-25-2007 4:08 PM
uploading data from presentation server using GUI_UPLOAD and running BDC in foreground works fine but when using GUI_UPLOAD and running BDC doesnot work in background.
Use <b>CG3Z</b> to upload data from presentation server to application server.
now use Open Dataset........Read Dataset.......Close Dataset concepts to read data from Application server and run BDC in background...it will work.
01-25-2007 3:36 PM
Run in the mode, background with errors. You should see on what screen the error occurs.
When run in the foreground, hitting the enter key can have an effect.
01-25-2007 3:37 PM
hi Balu,
Try avoiding making use of any GUI related function modules like GUI_UPLOAD/DOWNLOAD while running the program in background ...
Regards,
Santosh
01-25-2007 3:41 PM
Hi!
There is a half automatic way to this...
Run the BDC in foreground and put a heavy object on your numpad ENTER button
Once we had an old BDC, which could run only this way... Requires a dedicated PC...
Regards
Tamá
01-25-2007 3:44 PM
Hi BalU,
We can not use the WS_UPLOAD, UPLOAD, GUI_UPLOAD Function modules in the backgroun, this is definetly give the error, and the Enjoyee transactiona alos, you can do the BDC in the Foreground but not in the Background, example is VA22N, the last charecter is N, menas this is a Enjoyee transaction.
Regards
Sudheer
01-25-2007 4:03 PM
Put the file on the application server and use OPEN DATASET and READ DATASET to do the upload.
Rob
01-25-2007 4:07 PM
Balu,
Do you have a problem uploading a file or a problem runnning a BDC.
01-25-2007 4:08 PM
uploading data from presentation server using GUI_UPLOAD and running BDC in foreground works fine but when using GUI_UPLOAD and running BDC doesnot work in background.
Use <b>CG3Z</b> to upload data from presentation server to application server.
now use Open Dataset........Read Dataset.......Close Dataset concepts to read data from Application server and run BDC in background...it will work.
01-25-2007 4:28 PM
you can check this even in foreground.
while running in foreground ensure that you always ineract with the command box shown and that it is always present till the end of transaction.
if it vanishes at some point before the end it means that you miss some input in code.