Application Development 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: 

BDC

Former Member
0 Kudos

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..

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

8 REPLIES 8

Former Member
0 Kudos

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.

Former Member
0 Kudos

hi Balu,

Try avoiding making use of any GUI related function modules like GUI_UPLOAD/DOWNLOAD while running the program in background ...

Regards,

Santosh

Former Member
0 Kudos

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á

Former Member
0 Kudos

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

Former Member
0 Kudos

Put the file on the application server and use OPEN DATASET and READ DATASET to do the upload.

Rob

Former Member
0 Kudos

Balu,

Do you have a problem uploading a file or a problem runnning a BDC.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.