‎2009 Aug 10 11:09 AM
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
‎2009 Aug 10 11:15 AM
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
‎2009 Aug 10 11:15 AM
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
‎2009 Aug 10 11:30 AM
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
‎2009 Aug 10 11:35 AM
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
‎2009 Aug 10 11:42 AM
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
‎2009 Aug 10 11:16 AM
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