cancel
Showing results for 
Search instead for 
Did you mean: 

DYNPRO_SEND_IN_BACKGROUND

Former Member
0 Kudos

Hi All,

I am executing a JCO Program which triggers a RFC using JCO's <b>execute(String functionName)</b> method.

RFC inturn calls an SAP interface which process the goods issue files.

After processing few files i get a connection closed error.

In seeing in Transaction ST22 the error was DYNPRO_SEND_IN_BACKGROUND

When executed in SAP GUI the error never comes and also when the abapDebug is set to true

and its strange that its coming after processing some few files.

Any Idea

Thomas

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Thomas,

yes, the RFC you're calling tries to open a dialog window/screen/subscreen whatever. This is not allowed for the type of RFC call you are doing (easy spoken without a SAPGUI attached to the process). Most RFCs support flags for "dark" processing without user interaction (and creating visual "objects"). You must set this flag(s), if it exists.

Hope that helps.

Regards

Stefan

Former Member
0 Kudos

Hi Stefan

Thanks a ton for the clue. We are almost through, actually

NOBINPT='X' seems to be solved the problem

we are creating more testing data to confirm this

Regards

Thomas

Former Member
0 Kudos

Hi Thomas,

We are experiencing the same problem. Is NOBINPT a parameter ID?

Regards,

Earl

Former Member
0 Kudos

Hi Earl,

yes, NOBINPT or something equivalent described as "activate batch mode" or "enable dark processing" is an IMPORT parameter of the BAPI/RFC.

Regards

Stefan

Former Member
0 Kudos

Hi Stefan. Just read the doc on call trans and found out by default that NOBINPT = 'X'. The main reason this dump occurs, I think, is that the mode was set to 'E' instead of 'N'. Setting it to 'E' would result in an error screen popping up if the message control was set that way. Right now, the dump has not occured after making this change.

Thanks and Regards,

Earl

Former Member
0 Kudos

Hi Earl,

of course you're right and i was wrong. I mixed this up with something different.

Sorry and regards

Stefan

Former Member
0 Kudos

Guys,

I am coming across the same problem while replicating the data into CRM. So could you please tell me where I have to set this parameter (NOBINPT) value?

Advance Many Thanks.

Ramesh