Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

DYNPRO_SEND_IN_BACKGROUND dump while processing delivery

Former Member
0 Likes
941

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

5 REPLIES 5
Read only

Former Member
0 Likes
765

Just to make sure, is your BDC working in a standalone program in background?

Vikranth

Read only

0 Likes
765

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,

Read only

0 Likes
765

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>.

Read only

0 Likes
765

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

Read only

0 Likes
765

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,