on 12-02-2005 2:35 PM
Hello all,
I use the RFC server by Windwos service. The function is good,
but when I would like to recall after 2-3 hours
the program/connection is dumping in SAP.
Dump
-
Exception condition "TARGET_METHOD_EXCEPTION" raised.
The current ABAP/4 program encountered an unexpected
situation.
SY-MSGTY E SY-MSGID SR
SY-MSGNO 000
SY-MSGV1 Length cannot be less than zero.##Parameter name:
SY-MSGV2 length SY-MSGV3
SY-MSGV4
Somebody can help pme please?
thank you
Thoomasz
Yes.
But the evenements arrive rarely and unpredictable
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Reiner!
I do what did you should me but unfortunately any log is created. possible is that the call don't get there?
Thx
Thoomasz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This sounds as if your .NET-code threw an exception that was trasfered to ABAP. You should enclose your code with a try-catch-block and write any exception to a log file, so you see when and why the exception happens (pseudo-code snippet):
public override void MyRFCServerFunction(...)
{
try
{
// do you server code here
}
catch(Exception ex)
{
MyLogfile.Write(ex);
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.