‎2008 Jan 12 12:36 PM
Hi
I have written a program that creates a background job to execute a BDC on Transaction CKMPRPN. This transaction is used to update future price of Materials. When this program is executed in foreground it works perfect. But when it is executed in background it throws these error messages. Same error messages are displayed when I process the BDC recording in background.
Enter at least one plant
Enter at least one plant
Spool request (number 0000023938 ) created without immediate output
No batch input data for screen SAPMSSY0 0120
Can anyone tell me why this problem is occuring only during background execution?
Or Do I need to find out a Function Module to update the future price of materials?
‎2008 Jan 16 11:17 AM
It happens that batch input programs behave differently in foreground then in background.
When you create a recording, you can switch on the flag: "Simulate background mode". In this way, the recording will behave as in background mode.
( transaction SM35, menu 'go to -> recording' , create recording, switch on flag 'simulate background mode')
‎2008 Jan 16 12:51 PM
Thanks Kris,
Its a useful answer.. But unfortunately in 4.6C version we dont have this option of 'simulate background mode'.
Anyways.. I was able to find the solution.. I used call transaction and executed the BDC program in background and it worked. Earlier I was executing a single transaction for set of materials. But now I m executing separate transaction for each material. It gives these messages at every execution but it also updates the database. Dont know how..