cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to make RFC call Exception

Former Member
0 Kudos

Hi,

I am running into a problem calling a specific BAPI in SAP called BAPISDORDER_GETDETAILEDLIST.

I would like to use this BAPI to pass in a Sales Order number and get back various information about that Sales Order. It works great in SM37, but I run into a problem when calling with MII.  If I pass in a Sales Order number that doesn’t exist then I do not receive an error. But if I pass in a Sales Order number that does exist then I receive the following error: [ERROR] Unable to make RFC call Exception: [Character reference "&#00" is an invalid XML character.]

I have tried several unrelated Sales Orders and they all behave the same way

I have tried both defining values within the Link Editor and passing in the Request XML structure directly. Both methods act the same way.

Below are my Link Editor definitions.

XPathExpression
SAP_JCo_Interface_0.Request{/BAPISDORDER_GETDETAILEDLIST/TABLES/SALES_DOCUMENTS/item/VBELN}"0200006366"
SAP_JCo_Interface_0.Request{/BAPISDORDER_GETDETAILEDLIST/INPUT/I_MEMORY_READ}"A"
SAP_JCo_Interface_0.Request{/BAPISDORDER_GETDETAILEDLIST/INPUT/I_BAPI_VIEW/ITEM}"X"
SAP_JCo_Interface_0.Request{/BAPISDORDER_GETDETAILEDLIST/INPUT/I_BAPI_VIEW/HEADER}"X"

Any help you can provide to steer me into the correct direction would be greatly appreciated.

Thank you

-Chris

MII Version: 12.2.4

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Chris,

Check if you have the latest SAP JVM and MII version too. I think that there is a ticket for the "Character reference "&#00" is an invalid XML character" and there you can find more details (like the exact versions where it is resolved).

Best regards,

Krasi

Former Member
0 Kudos

Hi Krasi,

This helps, thank you.

I will reach out to our BASIS team to check on the JVM version we are running as that is beyond my access.

Thanks again

-Chris

Answers (0)