We have a SAP 4.7 system. We are facing an issue while exporting parameters to an RFC. As can be seen in below (highlighted in blue) function call we are passing a structure in exporting parameter 'IV_EQUO_HEADER'. But when this structure goes in .NET interface the values of recently added 6 fields in this structure are becoming 'BLANK'. Surprisingly when we debug the process we see values in this structure but when this structure is received in .NET interface few fields are losing their values/or they are facing some conversion problem that's why becoming blank. The main point which has to be analyzed is - why the values which are there in SAP system(char - 3) are not getting recognized at .Net's system whereas other values in the same structure are? I have also heard that RFC should be re-generated in the .NET system since there are recent additions in the receiving structure. Not sure about the root cause.
Please give your expert suggestions on this issue. Thanks!
* == Call RFC FM at the web application == *
CALL FUNCTION 'Z_SD_EQUO_SEND_PROC'
DESTINATION 'ZSD_EQUOTATION'
EXPORTING
iv_equo_header = wa_equo_send_hd
iv_so_doc_flag = wf_rfc_so_flag
IMPORTING
ev_result = ev_result
ev_message = ev_message
TABLES
it_equo_item = tb_equo_send_it
it_equo_item_price = tb_equo_send_it_price
it_equo_item_stdtxt = tb_equo_send_stdtxt
it_equo_cust_addr = tb_equo_send_custadr
EXCEPTIONS
communication_failure = 1 " MESSAGE wa_equo_send_hd_new-err_message
system_failure = 2. " MESSAGE wa_equo_send_hd_new-err_message.
.NET
application? I assume you are calling thisRFC
from within your.NET
application, aren't you? – Jagger Sep 29 '12 at 22:14