‎2007 Apr 20 2:57 PM
Hi,
I have developed a program which will create a batch input session.
When the program is executed, the session should get processed . ie. the user need not have to go to sm35 to process the session. I am facing some problem in this.
I am using BDC_INSERT by passing the tcode . The session is getting processed, but when i go to sm35, i noticed that the session is still listed under the "New" tab instead of the "Processed" tab.
Also I am not getting the final window with the buttons " Session overview" and "Exit Batch Input".
Please help me out in this.
‎2007 Apr 20 3:03 PM
Hi
U have to submit the program RSBDCSUB:
SUBMIT RSBDCSUB WITH MAPPE = <session>
WITH VON = SY-DATUM
WITH BIS = SY-DATUM
WITH FEHLER = ' '
EXPORTING LIST TO MEMORY
AND RETURN.Max
‎2007 Apr 20 3:02 PM
Hi,,
To process the session directly from the program you need to submt the program RSBDCSUB using the session group name.
Regards,
Ravi
‎2007 Apr 20 3:03 PM
Hi
U have to submit the program RSBDCSUB:
SUBMIT RSBDCSUB WITH MAPPE = <session>
WITH VON = SY-DATUM
WITH BIS = SY-DATUM
WITH FEHLER = ' '
EXPORTING LIST TO MEMORY
AND RETURN.Max
‎2007 Apr 25 9:52 AM
Hi,
This is working fine , but in case of All screen mode ( 'A' ) , i need to show the screens to the user. Currently, the submit RSBDCSUB is getting scheduled in background . Can you please help me on this ..
Thanking you in advance,
Shankar
‎2007 Apr 20 3:24 PM
Hi,
After completing the Session method, you can use RSBDCSUB Program to run the Session automatically
SUBMIT RSBDCSUB WITH MAPPE = SESSION NAME
WITH VON = SY-DATUM
WITH BIS = SY-DATUM
WITH FEHLER = ' '
EXPORTING LIST TO MEMORY
AND RETURN.
Regards
Sudheer
‎2007 Apr 20 3:29 PM
Why don't you CALL TRANSACTION and only use BDC_INSERT if there is an error?