ABAP Runtime Errors

INCL_RFC_SERVER_ERROR SAP ABAP Runtime Error incl rfc server error







INCL_RFC_SERVER_ERROR is an ABAP runtime error which you may come across when using or developing within an SAP system. See below for the standard details explaining what it means and how you can avoid or fix this runtime error.

Short Dump Classification: & - Text Include (no Short Dump, only Text Module)

You can view further information about a runtme error by using transaction code ST22 which will show you this and all runtime erros that have happen in your SAP system.

Also check out the Comments section below to view or add related contributions and example screen shots.


INCL_RFC_SERVER_ERROR ABAP Runtime Error

General include: Error search in RFC server programs. If the terminated program is one you have developed yourself, read the following:

Notes for error searching in RFC server programs
(External programs started using RFC):

1. To intercept 'stderr' output from the RFC server program, you can enter a main program as the destination instead of the actual server program.
Example:
RFC server program /xxx/xxxx
The C shell script is called however (do not forget to specify the shell in the first line) :
#!/bin/csh
date >> /tmp/rfclog
/xxx/xxxx $* >>& /tmp/rfclog
echo $status >>& /tmp/rfclog
You can the use log file /tmp/rfclog to further analyze the error.
2. You can also activate the trace switch in the destination (do not forget to save). The RFC server program then writes all the received data, operations and errors which have occurred to a file called 'dev_rfc' in its current directory.
3. Debugging an RFC server program:
You can analyze an RFC server program with a C debugger such as dbx, xdb or codeview. To do this, proceed as follows:
4. In Transaction SM59, enter a program that simply writes the command line it receives to a defined file as the destination:
Example (C shell)
#!/bin/csh
echo $* > /tmp/rfc
5. Call the C debugger with your RFC server program, xdb for example, and set a break point after the RFC accept call.
6. Start the calling ABAP program. This results in the program described above writing its command line to the output file (/tmp/rfc in our example).
7. Read this file and start the RFC server program loaded to the debugger with the same command line.