Hi all,
I am writing a program which will pull data from the flat file placed on the application server using the Read dataset command.
Then I am populating the internal table having structure similar to BDCDATA with the data from the flat file.
Then, I will be using BDC OPEN GROUP
BDC INSERT
BDC CLOSE GROUP
Now , a session gets created.
Usually, we need to go to SM35 and run that session.
My requirement is --1. This zprogram I am writing has to be scheduled to run in background.
2. The session generated has to be run in background mode. I want to handle that too in the zprogram I am writing.
My solution is -- I believe, I will have to schedule my zprogram in SM36.
It will then run in background and the session will be generated by the program.
I would like you all to tell me how to add code in the program to make this session generated run in background.
I don't know if I am supposed t use RSBDCSUB or function modules like
JOB OPEN , JOB CLOSE or 'SIMPLE_BATCH_JOB_SUBMIT'
I would like to be given a broader pic .
I need to make the session run in background or taken care of from the zprogram itself.
I dont want to got to SM35 to do that.
Warm regards
and thanking you all in advance,
Hari Kiran