on 09-07-2004 12:17 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.