on 07-14-2005 1:40 PM
I use NCo ver 2.0.1 and VS.NET 2003
I instantiate a sapproxy object of type client and one of type server.
After that i've set the .callback property of the <b>sapproxy-client</b> to the <b>sapproxy-server</b> instance.
If I call sample functions Stfc_Connection and Stfc_Connection_Back I report no problems.
I have to use another function (<b>CDesk_Show</b>) calling more then one callback function on the sapproxy-server instance.
I put breakpoints on these function.
If I invoke the main function (the one internally calling callback functions i.e Cdesk_show) without ABAP-DEBUG option set to true, I get an exception and execution don't stop on callback-function-breakpoints.
If I set ABAP-DEBUG to true, execution stops at these breakpoints(i.e in Visual studio) and everything works fine and no exception is thrown.
Hi,
Obviously, your function module or the callback function needs to somehow access SAPGUI. In this case, the option use_sapgui=1 should be used. The option abap_debug also enables SAPGUI access in addition to turning on the ABAP debugger.
Regards,
Guangwei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you know what exception it is exactly? Can you post a call-stack?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.