Job Execution and BDC Session related problem
In my program, I need to update IT0003 and IT0221.
For doing this, i m using the SUBMIT for submitting the BDC Session.
What i have done is,
For IT0003 i m calling another program which internally creates the BDC and submits also.
When the control comes to my main program, it process ahead and submits the BDC sessions for IT0221.
So the problem is, if the execution of 1 of the session is in progress and other is also getting executed, it gives error, as pernr already being updated by the user...
Is there any way to overcome such problem. SO as, only after the completion of BDC Session for IT0003, IT0221 should be started.
Also, the program have the logic of splitting the BDC Sessions into slots to improve the performance.Example, suppose i have 100 records and on screen i have limit of 50 records in 1 session, it would create 2 sessions....
For IT0003 and IT0221 both have same logic. In such case how to process all the sessions one after the other...
Please provide me with some inputs...
Thanks in advance