Application Development and Automation 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: 
Read only

Auto run BDC program

Former Member
0 Likes
1,121

hi,

I Generated one BDC program. Its running properly. But what our client requirement means when data come in Flat file (TEXT file or Excel file) these BDC program should start automatically. How i will do this auto run functionality. If any one knows about this plz let me inform immediately.

regards

bab

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,022

Hi

What do u mean?

If you mean the BDC session starts automatically, u need to submit the report RSBDCSUB,

If you mean the BDC program should start automatically, u should create a job witan event, and this event is triggered if a certain file in stored in a certain directory.

Max

5 REPLIES 5
Read only

Former Member
0 Likes
1,023

Hi

What do u mean?

If you mean the BDC session starts automatically, u need to submit the report RSBDCSUB,

If you mean the BDC program should start automatically, u should create a job witan event, and this event is triggered if a certain file in stored in a certain directory.

Max

Read only

0 Likes
1,022

hi,

Actual requirement is When data comes in flat file i need to trigger my BDC program.

Example : A person reading a Barcode through barcode reader. Barcode data comes in Flat file(text file). Once these flat file generate, with in not time BDC program should trigger automatically.

regards

bab

Read only

0 Likes
1,022

Hi,

just process the session after your read the file using the program RSBDCSUB.

In your program after the file is read ; create the BDC session and then process it by submitting the program RSBDCSUB.

Use SUBMIT statement.

Regards.,

Ankur Parab

Read only

0 Likes
1,022

Hi

That means your BDC program should be schedulated and the job should be submitted by an event (see trx SM64), this event should be triggered if the file is updated.

Now the problem is to understand how the file is updated, because the program updates the file should trigger the event too.

If the file is updated by a user, u can schedule your program periodically, and if the files is updated u run the BDC

Max

Read only

Former Member
0 Likes
1,022

Hi,

Incase your BDC program is generating a session the process the same by submittting program RSBDCSUB.

RSBDCSUB can be used to process the session directly without going to SM35.

Regards,

Ankur Parab