Skip to Content
avatar image
Former Member

Missing table data

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Jun 25, 2010 at 03:55 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 25, 2010 at 06:51 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 25, 2010 at 06:54 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 25, 2010 at 09:01 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

  • avatar image
    Former Member
    Aug 26, 2010 at 11:19 PM

    Issue was with UNICODE in SM59.

    Add comment
    10|10000 characters needed characters exceeded