on 09-17-2008 10:40 AM
Hi,
In a RFC to file scenerio, I make the TCP/IP connections and put a arbitrary program id name there.Same prpgram id is made in the RFC Adapter in CC. Why do I do this TCP/IP connections??
I hav done a proper sm59 tcp/ip connection, and given correct serveral details and program id. My RFC adapter is ok in CC in XI. File is getting created. But file is blank.it is carrting no data at all.
Pls dont send URLs. ask me as many as questions u want but tell me where I am doing the mistake.
See the R/3 zprogram code and the RFC code tell me what all corrections I need to do!!
report zrfc_adapter.
data: it_final1 type standard table of zrfc_str.
call function 'ZRFC_XI'
IN BACKGROUND TASK DESTINATION
'R32XIRFC'
tables
it_final = it_final1.
.
break-point.
commit work.
function zrfc_xi.
Local Interface:
TABLES
IT_FINAL STRUCTURE ZRFC_STR OPTIONAL
it_final-name = 'XXXXX'.
it_final-telephone = '123XXXXX'.
it_final-address = 'XXXXX'.
append it_final.
break-point.
endfunction.
Pls no Urls !!
Points will be rewarded !!
Regards,
Arnab
Edited by: Arnab Mondal on Sep 17, 2008 11:40 AM
Hi,
better get into RWB , CC monitor : Select RFC (Sender) as your selection type and click on u r Adapter.
You can see the message guid link , click on it.From the drop down select "Payload" and u can see it.
regards
srni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Venkat,
I tried to follw your instruction ... RW - component monitering -- Communication channel monitering --- gave the communication channel name -- got it in the list of communication channels -- double clicked on the CC but cannot find this part
" You can see the message guid link , click on it.From the drop down select "Payload" and u can see it."
Pls tell me is my path OK!
Regards,
Arnab
I tried to follw your instruction ... RW - component monitering -- Communication channel monitering --- gave the communication channel name -- got it in the list of communication channels -- double clicked on the CC but cannot find this part
1) RW - component monitering (FINE) -- Communication channel monitering (FINE)---
From here --> give Communication channel type as "RFC" Direction -- "Sender"
It would display "Your configured Sender RFC"
Click on it :: If you are not seeing any Message id with hyperlink then it would be problem with your report program.
Better put external break point and check the output of our rfc
rgds
srini
Hi Arnab,
The RFC gets XI, but Is the data sent to XI?
I mean, in SXMB-MONI, can you see the data from R3 before mapping step?
Carlos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By default, all synchronous messages in XI are not logged.
U need to add the following entry
SXMB_ADM -- Integration Engine Configuration -- Specific Configuration
Parameter LOGGING_SYNC of RUNTIME with value 1.
This should be done only on Dev environments as SAP recommends turning Synch logging off for Production for performance.
Regards
Bhavesh
Hi Bhavesh,
I could see the messege in MONI before also..But the payload is empty as usual. The settings in sxmb_adm is done and rechecked.. Parameter LOGGING_SYNC of RUNTIME with value 1.Default value is 0.I can change it if u tell me to do!! Now do you want me to go to restart/refresh/ and thing like that...that too I hav done.!!!!
See the payload
<?xml version="1.0" encoding="UTF-8" ?>
- <rfc:ZRFC_XI xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<IT_FINAL />
</rfc:ZRFC_XI>
it final has three fields taht should get populated as
it_final-name = 'XXXXXXXX'.
it_final-telephone = 'XXXXXXXXX'.
it_final-address = 'XXXXXXXXX'.
append it_final.
The fact that report program is running Ok is proved by the fact that when I am running the program removing the part
CALL FUNCTION 'ZRFC_XI'
--IN BACKGROUND TASK DESTINATION
'R32XIRFC'--, the tables parameter is populating the variable
TABLES
IT_FINAL = it_final1.
.
break-point.
COMMIT WORK.
Pls comment !!
Hi Arnab,
It could be a stupid thing what I`m saying (because ABAP world is not my strength), but all the RFCs I have done before, I always used EXPORTING and IMPORTING sentences when I do the call, instead of using TABLES.
Because when you use TABLES, How do you see the structure of your RFC in IB after importing it?
I mean, you can see request, response and fault message.... ???
Regards,
Carlos
Hello Arnab
It is against the rules of engagement to do this. I am following this thread and will provide my inputs as I can.
I am not much of a ABAP'er but if you are convinced that the ABAP code to populate the function module is not the problem, then make some dummy change to the Sender RFC adapter, activate the adapter so that the next time the Interface runs the RFC metadata gets reloaded into the XI J2EE runtime.
Everytime you make a change to the RFC you would need to do this.
Regards
Bhavesh
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.