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: 

Back ground scheduling of BDC using call transaction(

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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?

0 Kudos

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!

Former Member
0 Kudos

Hi,

use open and close dataset.

OPEN DATASET FILE_NAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.

Regards