on 06-25-2010 2:05 AM
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.
Issue was with UNICODE in SM59.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.