on 03-26-2009 11:54 AM
Hi all,
Currently i am working on RFC to PORXY scenario.
In R3 side i am using sender RFC to push a table of data. So my sender RFC contains only one table parameter. At the moment i am able to push the data to XI. But the problem is i have two fileds in the table Emp_No and Emp_Name. But when i see that in SXMB_MONI i can see the values for two fileds coming in one file like below,
<rfc:ZSEND_DATA_TO_PI xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<EMPLOYEE2>
<item>
<ENO>100NAME1</ENO>
<ENAME />
</item>
<item>
<ENO>100NAME2</ENO>
<ENAME />
</item>
</EMPLOYEE2>
</rfc:ZSEND_DATA_TO_PI2>
Can any one help what could be the problem here.
I have created a stub RFC to push the data to XI. And i am using request message of RFC (ZSEND_DATA_TO_PI) in the message mapping.
Please advise me what could be the problem here.
Thanks in advance.
Prasad Babu.
Maybe your RFC stub does not match the RFC structure, or you have changed the RFC later. In this case, you have to deactivate and reactivate the RFC channel to make the RFC adapter load the meta data again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan,
I just now noticed in Sm58 and the RFC transaction contains the real and actual data as below,
Line-No: 00000001 binary 313030505241534144202020202020202020202020202020202020202020202020
text 1 0 0 P R A S A D
Line-No: 00000002 binary 323939424142552020202020202020202020202020202020202020202020202020
text 2 9 9 B A B U
Line-No: 00000003 binary 363030505241534144424142552020202020202020202020202020202020202020
text 6 0 0 P R A S A D B A B U
But the Actual XML in SXMB_MONI , (first inbound step) contains below XML,
<?xml version="1.0" encoding="UTF-8" ?>
<rfc:ZSEND_DATA_TO_PI2 xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<EMPLOYEE>
<item>
<ENO>100</ENO>
<ENAME>SAD</ENAME>
</item>
<item>
<ENO>299</ENO>
<ENAME>U</ENAME>
</item>
<item>
<ENO>600</ENO>
<ENAME>SADBABU</ENAME>
</item>
</EMPLOYEE>
</rfc:ZSEND_DATA_TO_PI2>
I dont know why its trimming first 3 characters in ENAME filed.
Do you have any idea what could be wrong here.
Currently i am developing this scenarion in SAP Discovery System.
Thanks in advance.
Prasad.
Hi Prasad,
Could you please tell me how you closed this problem. We are also facing the same situation, but not understanding how to resolve this issue.
Thanks,
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Prasad,
Can you provide your RFC and file structure seperatly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
My RFC structure:
FUNCTION ztest_emp_sender.
*"----
""Local Interface:
*" TABLES
*" EMPLOYEE STRUCTURE ZEMPLOYEE
*"----
ENDFUNCTION.
My Stub structure:
FUNCTION zsend_data_to_pi.
*"----
""Local Interface:
*" TABLES
*" EMPLOYEE2 STRUCTURE ZEMPLOYEE
*"----
ENDFUNCTION.
Let me know if you need any information,
Regards,
Prasad.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.