cancel
Showing results for 
Search instead for 
Did you mean: 

How do I diagnose an error in dev_rfc.trc

Former Member
0 Kudos

I am connecting from a C# application to an APO system using the .Net connector to pull data using BAPIs from the APO system.

When I call a BAPI, the following error gets thrown:

Runtime Error! This application has requested the Runtime to terminate in an unusual way. Please contact the application's support team to correct this problem.

At the same time, dev_rfc.trc is generated with the following contents:

        • ERROR file opened at 20040901 124907 Pacific Standar, SAP-REL 620,0,480 RFC-VER 3 525755 MT-SL

T:436 ***************************************************************

T:436 * Error in application program.

T:436 * SAP error code : TSV_TNEW_ENTRY_ZERO_LENGTH

T:436 * Try ABAP/4 report RSNAPDOK to read complete message text.

T:436 * Also look at the system log in the target system

T:436 * function/module/line : ab_tInitFlat/abtsv.c#/1556

T:436 * Parameters

T:436 * 0:

T:436 * 1:

T:436 * 2:

T:436 * 3:

T:436 * 4:

T:436 * 5:

T:436 * 6:

T:436 * 7:

T:436 * 8:

T:436 ***************************************************************

T:436 ***** closing all connections ...

T:436 ********************************************* aborting process.

Does anyone know what could be causing this problem? How do I run "RSNAPDOK" from APO? Is there a catalog of error messages somewhere that I can search?

Thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

reiner_hille-doering
Active Contributor
0 Kudos

I know this error message from cases where you created a proxy on a non-Unicode system and run against a unicode system. In this case the proxy may not contain the needed "Length2" and "Offset" properties set in the Rfc... Custom attributes.

Please check your proxy, if you see those entries. If not, re-create the proxy with a Unicode system. Now the proxy should contain information for both, Unicode and Non-Unicode systems, so that you are safe.

Former Member
0 Kudos

Alex

Please let me know ,if you are able to resolve this issue