cancel
Showing results for 
Search instead for 
Did you mean: 

Missing table data

Former Member
0 Kudos

We are testing RFC scenarios and created a remote enabled FM ( with a table parameter ) in our ECC system. The TCP/IP "XITEST" destination has been defined in SM59. All the required configurations have also been done in XI. When the FM is executed it processes successfully without errors. In XI tcode sxmb_moni shows as success. But no data is passed. It shows blank as follows. XBLNR and AWREF are fields of the table.

<?xml version="1.0" encoding="UTF-8" ?>

- <rfc:Z_XI_RFC_0001xmlns:rfc="urn:sap-com:document:sap:rfc:functions">

- <DATA>

- <item>

<XBLNR />

<AWREF />

</item>

</DATA>

</rfc:Z_XI_RFC_0001>

Can anyone help please ?

Thanks

Abdulla M.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Issue was with UNICODE in SM59.

Former Member
0 Kudos

I added two import parameters HEADER and HEADER_TWO and their values are showing up.

<?xml version="1.0" encoding="UTF-8" ?>

- <rfc:Z_XI_RFC_2222_0625 xmlns:rfc="urn:sap-com:document:sap:rfc:functions">

<HEADER>ONE</HEADER>

<HEADER_TWO>TWO</HEADER_TWO>

- <DATA>

- <item>

<XBLNR />

<AWREF />

</item>

</DATA>

</rfc:Z_XI_RFC_2222_0625>

Can you help ?

Thanks

Abdulla M.

Former Member
0 Kudos

I guess your scenario looks like RFC->PI->File (Asynchronous) if this is the correct please follow the below test.

CALL "ZTEST" IN BACKGROUND TASK DESTINATION 'ZTCP_IP'

TABLES

DATA = IT_KNA1. (Example IT_KNA1 you gre getting the required data)

above ZTEST has only tables parameters not IMPORT/EXPORT parameters... and defind ZTEST with Remote enable function modules..and import ZTEST into PI.

If you want to send RFC to external system you need to define only TABLES parameter in RFC function modules..this RFC you need to use in PI

Regards,

venu.

Former Member
0 Kudos

The FM "Z_XI_RFC_0001" has just one table. We populate the table with the proper destination "XITEST" and can see the data in the ABAP debugger but not in "SXMB_MONI".

Abdulla M.

Former Member
0 Kudos

Hi Abdulla,

Can you please run the FM in sap using SE37 and see whether you are getting the data or not. If you get then you should be able to see in xi also.

Regards,

---Satish

Former Member
0 Kudos

Check on R3 side if the data is being extracted and passed on to the RFC to be sent to PI. Data can't "get lost" while being transmitted from R3 to PI

Regards,

Neetesh