cancel
Showing results for 
Search instead for 
Did you mean: 

DBIF_RSQL_INVALID_REQUEST dump for RFC function module

0 Kudos

Hi,

Requirement:

I need to insert some data from ECC to CRM ztable .

1) I created a ztable in CRM.

2) Created an RFC where i wrote : Insert <dbtab> from <importing table>

in ECC

1) I added the RFC function with destination and passed the table structure to it.

Now when I execute I get a dump : DBIF_RSQL_INVALID_REQUEST

I am totally clueless as I have never seen this before.

Regards,

Narayani

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Narayani,

RFC_ERROR_SYSTEM_FAILURE occurs if something is wrong with the Sap system that you are connecting to. The most common cause is the RFC, you are calling itself has thrown an exception during the runtime (trying to insert duplicate entries). I would recommend that you use the optio 'ACCEPTING DUPLICATE ENTRIES' while using INSERT in the RFC.

Other reason could be not enough table space.

You can also try and turn on Rfc tracing and look into the trace files.

The best approach would be read the system log and this may give you better information:

Do the following

1) start transaction SM21

2) search for the error in this transaction ( you have the day and time )

3) the 3rd column is telling you the WP where the error happened. For example

Time Ty. Nr Cl. User Tcod MNo Text

10:02:16 DIA 00 011 SQ02 AB0 Run-time error ...

4) If you have not restarted SAP you can go to SM50, look for the WP with the same number and check the developer trace ( button - display file, 4th from left)

The file is huge so don't paste it here but i the trace you can see get specific information about your error.

Thanks,

Neeraj

0 Kudos

Thanks a lot Neeraj. I found the actual error in SM21. It was a conversion error.

Regards,

Narayani

Former Member
0 Kudos

Hello Narayani,

Can you please award points?

Thanks,

Neeraj

0 Kudos

I have already awarded full points to u.

Regards,

Narayani

Answers (2)

Answers (2)

Subhankar
Active Contributor
0 Kudos

Hi ,

Please check that if given the right destination. If you given it write the before calling your custom FM calll the FM RFC_PING to check the RFC connection. Then you can check RFC connection is fine or not. If this FM called successfully then it is your custom FM problem.

Thanks

Subhankar

ThomasZloch
Active Contributor
0 Kudos

Short dumps are quite long. What does it say under "error analysis"?

Thomas

0 Kudos

Hi,

In the error analysis it says :

An error occurred when executing a REMOTE FUNCTION CALL.

It was logged under the name "DBIF_RSQL_INVALID_REQUEST"

on the called page.

I am just attaching snippets from the dump:

RFC state: " "

| RFC error text: "RFC_ERROR_SYSTEM_FAILURE"

| CPI-C error text: "Invalid request."

The termination was triggered in function "RfcExtendedReceive"

| of the SAP kernel, in line 397 of the module

| "//bas/701_REL/src/krn/rfc/abrfcrcv.c#2".

| The internal operation just processed is "FUNC".

| Internal mode was started at 20100408143429.

Regards,

Narayani