‎2011 Jun 21 7:02 AM
Hello,
We have placed a BDC logic to create Invoice in MV50AFZ1 user exit of delivery. BDC session method is being used to create session for Invoice creation using transaction VF01. This isession is later executed in background job using program RSBDCSUB.
Although delivery gets processed successfully and Invoice also gets created, but we are getting a dump in ST22 with and error DYNPRO_SEND_IN_BACKGROUND. We are also getting an error in SM58 "Screen output without connection to User".
Can somene please help how this error can be removed.
Thanks & Regards,
Rohit
‎2011 Jun 21 7:32 AM
Just to make sure, is your BDC working in a standalone program in background?
Vikranth
‎2011 Jun 21 7:40 AM
Hi,
This BDC logic has been placed in the Fuction Module. This Function Module is called as saperate unit in background task through MV50AFZ1. In this Function Module, VF01 batch session is created.
These batch sessions are later executed by a background job program RSBDCSUB. This batch job runs every 5 minutes.
Kind Regards,
‎2011 Jun 21 7:54 AM
If I look at the dump, it says error occured in the program "SAPMSSY0 " or "<SYSINI> ".
During background processing, the system attempted to send a
screen to a user.
Current screen: "SAPMSSY0 " 0120.
Line PERFORM %_ctl_output IN PROGRAM sapmssyd USING %_repid IF FOUND OF program <SYSINI>.
‎2011 Jun 21 7:55 AM
Hi Rohit,
Did you try processing the session in foreground manually in SM35? I guess your recording needs some user interaction which is failing in background.
Vikranth
‎2011 Jun 21 8:02 AM
Hi Vikranth,
I tried running SM35 session in forground and it doesnt have to do anything with SAPMSSY0 0120 as mentioned before.
also when i run it in foreground, i dont get any dump.
Regards,