RFC TO RFC SCENARIO
Hi,
I want to try RFC to RFC scenario .For this have One client with Solution manager and another client has R/3 on it .I want update a z table in R/3 from the data i have in solution manager (RS001).
I want to know following things :
what is the program ID in RFC sender adapter ?
where should i make the rfc destination .....which my abap program will call ...via xi ....picking data from solution manager.
Hi,
what is the program ID in RFC sender adapter ?
The same ID as u configure in RFC destination at sending SAP system.
where should i make the rfc destination?
1. Transaction SM59 on sending sap system: To XI
2. On XI: To receiving sap system
which my abap program will call ...via xi?
Your abap program at sending sap system calls a function modul at XI:
CALL FUNCTION 'myFunction' DESTINATION 'myDestSM59' ...
....picking data from solution manager.
receiving SAP system
You need a synchronous scenario. R/3 system function modul works as Outbound, sol man function modul as Inbound.
Regards,
Udo
Similar Messages
-
Error"SYSTEM Failure" while testing the RFC in SE37 : RFC to JDBC Scenario
Hi All,
I am doing RFC to JDBC scenario. When I am testing the RFC in SE37 using the RFC destination created in SM59, I get an error "SYSTEM FAILURE".
Please suggest.
Thanks,
Shyam
Edited by: Shyam Sreepada on Dec 18, 2007 5:46 PMHi,
You must run RFC with RFC destination in background mode, I suggest to read following post in order to understand it better.
Syntax would be:
CALL FUNCTION func IN BACKGROUND TASK
[DESTINATION <your RFC destination>]
parameter list
http://help.sap.com/saphelp_nw04/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/frameset.htm
If you read it you will find that you can't test it directly from SE37, for this either you need to create dummy ABAP program or another RFC where you will call this RFC with background syntax.
Regards,
Gourav
Reward points if it helps you
Edited by: Gourav Khare on Dec 18, 2007 6:07 PM -
Issue in File to RFC to File Scenario with BPM using Block Step
Hi Everybody,
I am doing File to RFC to File Scenario for multiple records using BPM using Block Step. The File Message is getting posted and after that, the message is getting stuck up in the qRFC Monitor (Inbound Queue).
After seeing the message in Inbound Queue, I am trying to execute and release the message. But when i execute the LUW, it says " Function module doesnt exist or EXCEPTION raised" in Inbound queue.
Could somebody suggest me the outcome of this? What does this mean and how to
release the stuck up message in Queue.
Thanks and Regards,
N.Jayanth KumarHi Rajesh,
After going through the blog, i saw the trace messages. It says
" The exception occurred (program: CL_SWF_XI_INBOUND=============CP, include CL_SWF_XI_INBOUND=============CM00F, line: 19)"
Regards,
N.Jayanth Kumar -
Scenario SAP R/3 --(RFC)-- XI--(RFC)-- JCo.Server
Hello,
I am wondering if anyone can send me some feeback for such scenario. SAP R/3 version is 4.6c, SAP XI is 3.0 and JCo are 2.0.12.
I am having some trouble which I think are link to the fact that the SAP XI is Unicode and not the JCo.Server ... However I was thinking SAP XI will adapt, since it works well for scenario SAP R/3 (RFC)> XI (RFC)> SAP R/3.
Thanks for your feeback.Hi Grégory,
I guess I faced a similar problem, the problem was that in the receiver RFC adapter you have to specify both an RFC target system and a system to lookup the metadata.
The target RFC system hat to have the same unicodeness of the metadata lookup system that means in your case that if jco server is non unicode also you R3 has to be non unicode otherwhise it will not (never) work, because this is a mandatory requirement of the RFC adapter.
In my case this was not possible so I was redirecting the RFC call to the ABAP stack of XI (where I had exposed the same function module which was simply recalling the same function module to the target system) and it worked/works.
Regards,
Sergio -
RFC destination for RFC to File scenario
Hi,
I m creating a TCP/IP RFC destination in R/3 system for my RFC to File scenario.
Step 1:
For this a Registered server program is created in Jco RFc Destinations with,
Program Id : pgm1
Gateway host : PI's host
Gateway service : PI's service
application server host: ECC's host
system numer : ECC's number
client : ECC's client
logon user : ECC user
password : pwd
Step 2:
In SM59, TCP/IP connection the following parameters are given:
Program ID : pgm1
Gateway host : PI's host -
> is this correct
Gateway service : PI's service -
> is this correct
Step 3:
So i am calling the RFC in ABAP program (R/3 system) like:
CALL FUNCTION 'Z_HR_OUTBOUND_DATA2'
IN BACKGROUND TASK DESTINATION 'Z_HR_OUTBOUND_DATA2'
Step 4:
In PI side,
for RFC sender I am passing :
Application server : PI server
Application server service: PI host
program ID: pgm1 which was created in the previos step
For RFC Metadata Repository Parameter, i am passing all the values related to R/3
Please let me know whether the steps and values i given is correct.
B'cos even if i give ECC's information in Gateway host and Gateway service the scenario works fine and if i PI's info then also it works fine.
so i am confused as which is the correct method. pls clarifyOk I will try to explain....
Assumptions: R3_TO_XI is the name of RFC which I created in ECC of type T.
While creating the RFC in ECC we mention a unique name which is called Progaram ID. Now the same program id we mention in our sender RFC CC.
So now when an ABAP Progarm (where you will call this RFC with it's destination) is scheduled/triggered with the code as mentioned below then since the DESTINATION ('R3_TO_XI') mentioned here contain the same program id which we have mentioned in our sender CC, invokes the adapter in PI and soon after that all pipeline steps get executed in XI.
CALL FUNCTION 'ZBAPI_COMPANY_GETDETAIL'
IN BACKGROUND TASK
DESTINATION 'R3_TO_XI'
TABLES
comp_detail = company_detail.
COMMIT WORK.
Regards,
Sarvesh -
Hi Forum,
What is a RFC-->XI scenario
When do we configure Sender RFC channel,
Does it mean calling a RFC enabled Function Module in XI from a R/3,
Does it mean executing a Function Module in a R/3 and sending the output to XI,
how do i go about writing a ABAP code for such a situation (pls provide a sample code)
How do i make a message interface in XI for the RFC message coming from the R/3 to my XI
What is the purpose of doing such kind of scenarios
pls help
Edited by: sudeep dhar on May 7, 2008 8:58 AM
Edited by: sudeep dhar on May 7, 2008 8:59 AMHi Sudeep
What is a RFC-->XI scenario
>> It means passing data fior RFC call to XI and XI inturn will pass the data to some other application system.
When do we configure Sender RFC channel
>> We need this when your RFC call is on sender application system and the processing is done on receiver applciation system.
Does it mean calling a RFC enabled Function Module in XI from a R/3,
>> NOP, it doesn't mean calling a function module in XI as XI is just a integration broker it wont process any data.The call is intend for other receiver systems passed via XI.
Does it mean executing a Function Module in a R/3 and sending the output to XI,
>> NOP, it is not passing output to XI.
how do i go about writing a ABAP code for such a situation (pls provide a sample code)
>>Sample code will contain call to the sender message interface in the configured scenario.
How do i make a message interface in XI for the RFC message coming from the R/3 to my XI
>> Import the RFC from the sender system to XI and then you can use that message interface in your scenario creation.
What is the purpose of doing such kind of scenarios
>> This is used when you intend to place a RFC call from a sender system to receiver system, so the processing of the RFC is done on the receiver system.
The main points to be considered while RFC to XI scenario is
1) The RFC destination is TCP and the program name mentioned in the desnation should be registered in though sender communication channel. The program name mentioned in the RFC desnation and sender commnucation channel should be same.
Thanks
Mitesh -
Error Handling on RFC - XI - File Scenario
I have an R/3 RFC -> XI -> FILE scenario that works, but does not adequately handle the error of my R/3 to XI connection being down.
The RFC call is async since I was under the impression that I had to do a "to file" scenario that way.
CALL FUNCTION 'ZXO_SAP2RFC'
IN BACKGROUND TASK
DESTINATION wa-rfc_dest_1
EXPORTING
request = request
rfc_header = rfc_header.
COMMIT WORK AND WAIT.
IF sy-subrc <> 0.
[error handling]
If my rfc destination is down (for example when XI is down), this RFC call is still getting a sy-subrc of '0' (so my error handling does not kick in).
Any suggestions?Hi Keith,
your scenario is working correctly. If XI is down you will find your message queued in transaction SM58, where you can restart it manually. Usually there should be standard job for report RSARFCEX, which is periodicly trieing to restard the message.
Asynchr Call (tRFC) means that your program continues completly undependent from that call.
Make a test: Change temporary the called machine in SM59 destination to senseless value and execute your programm. Your message should be in SM58. Then correct the destination and wait a few minutes...
Regards,
Udo -
ALE/IDOC and RFC/BAPI Integration Scenarios with SAP DS for ESA v3
Hi,
we are planning two PoCs of Integration Plattforms. One of our major requirement set is SAP Integration into our existing SOA.
Because we also have R/3 4.7 Systems in production, we are planning to test ALE/IDOC and RFC/BAPI Integration scenarios with these Integration Plattforms.
My question is:
We are looking for are smart solution to get a SAP Test Environment, where we can test ALE/IDOC und RFC/BAPI Integration scenarios.
It is possible to do this with SAP DS for ESA v3 or shall we better use IDES for that purpose?
Best regards,
StevenHi Abhishek,
This is our scenario. We are doing an integration of SAP HR r/3 system with the CRM system. We need housing information details of the employees which we have in custom infotype 9310 in SAP HR system and we need those details in the CRM system. So am planning out for an ALE/IDOC approach for the integration and gonna maintain the 9310 details in a custom table. In the CRM system, we gonna build a BOL layer for accessing the 9310 details. Also i'm preparing a HLD for this process. I wanna read and go through few same HLD's before i submit my proposal to my client. Please suggest me and help me out.
Thanks in advance.
Regards,
Arunmozhi. -
CC error in RFC to File Scenario
Hi ,
While am trying to do end-to-end test for a RFC to file Scenario. Am getting this below error. Please help me to proceed further.
Could not process due to error: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Column value '2008-08-13' too long (>8 for 2. column) - must stop', probably configuration error in file adapter (XML parser error)'
Regards,
HemanthikaHi,
Please go through this Blog
RFC Scenario using BPM --Starter Kit
check this blog on how to configure sender rfc adapter.
The specified item was not found.
I hope it helps,
Regards,
Surya -
Czech letters in RFC- XI-JDBC scenario
Hello experts,
we want to transfer data to a database in a RFC->XI->JDBC scenario. Everything works fine, but when we transfer czech characters, we only see "?" in the database where a "Č" is expected. In the XI system the letters are displayed correctly (before and after mapping).
How can we solve this problem? Is there any setting for this in the receiver CC?
Best regards,
Davidhi David,
try using ![CDATA[]] in your mapping, i mean send value in to the target field as ![CDATA[ Č ]].
Regards,
Karna... -
RFC-XI-JDBC Scenario: Help with RFC code
HI,
I am doing RFC-XI-JDBC Scenario, where I have to poll the contents of my Ztable in SAP to Oracle.
The appraoach i am using here is :
1. Created a FM with import parameters as the fields of my Ztable and without any export parameter or source code.
2. Created a report to call that FM in background. The code of my report is as follows :
************************REPORT***********************************************************
Data: it_zrfc_read_table type table of zrfc_read_table,
wa_zrfc_read_table like line of it_zrfc_read_table.
PARAMETERS: tab_name like DD02L-TABNAME.
Data: l_tabname type DD02L-TABNAME.
At selection-screen.
select single tabname from DD02L into l_tabname where tabname = tab_name.
if sy-subrc <> 0.
message 'incorrect table name' type 'E'.
endif.
start-of-selection.
select * from (tab_name) into corresponding fields of table it_zrfc_read_table.
loop at it_zrfc_read_table into wa_zrfc_read_table.
CALL FUNCTION 'ZRFC_READ_TABLE2XI'
IN BACKGROUND TASK DESTINATION 'ORACLEGIS_RFC_SENDER'
EXPORTING
valve_id = wa_zrfc_read_table-valve_id
equnr = wa_zrfc_read_table-equnr
ernam = wa_zrfc_read_table-ernam
invnr = wa_zrfc_read_table-invnr
groes = wa_zrfc_read_table-groes
elief = wa_zrfc_read_table-elief
gwlen = wa_zrfc_read_table-gwlen
gwldt = wa_zrfc_read_table-gwldt
serge = wa_zrfc_read_table-serge
typbz = wa_zrfc_read_table-typbz.
endloop.
commit work.
NOw my problem is that although I am able to send a table with a single record, but when my records > 1, it is not able to poll.
Please guide me what can be altered in the code or any other suggestion.
Thanks,
PuneetHi,
Instead of calling RFC many times I would:
1) create RFM with only one import parameter
TYPE your_table type
2) call only once RFM in the report:
CALL FUNCTION 'ZRFCNAME'
IN BACKGROUND TASK
DESTINATION 'RFCDEST'
EXPORTING
pt_table = i_table.
COMMIT WORK AND WAIT.
This will also improve the performance.
Regards,
Jakub -
Hello ALL
I am trying to working in RFC to SOAP scenario in sap pi 7.31 single stack system.with help of blog **************** - Scenario on RFC to SOAP
i am trying to pass input values from ECC through RFC to web service .
while sending data using function module from ECC system i got following error
thnx in advanceHi Ganesh,
are you getting any error is SM58? Please check the below blog for configuration
Michal's PI tips: How do you activate ABAP Proxies with AEX - simplified version
IDOC_AAE To File with all Configurations
the below discussion will be useful
RFC to FILE(7.3) single stack -
hi expects ,
can any body send me the rfc to soap scenarios examples.please help me.Hi Santosh,
Check the following link.. hope it will help u..
Configuring the Synchronous scenario in XI
Regards,
Rohit.
Reward points if helpful. -
Dear Experts,
I am facing the Following error for RFC to SOAP Scenario, i Tried
1. Full Cache Refresh
2.Delete and create Sender Agreement Again
3.Specifying the Program id Again
yet the Scenario is not Working, could you please help me in Resolving this at the Earliest
Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS http://sap.com/xi/XI/System, direction INBOUND, fromParty '', fromService 'ISU64', toParty '', toService '', interface 'YGVK_SEND_WS_TO_WS', NS 'urn:sap-com:document:sap:rfc:functions' for channel 'CC_YGVK_SENDER_WS_TO_WS' (channelId f1219fd41be734a2a72cd3ddcb779475)
Regards,
Vijay Karthik GHi,
copy the sender agreement to the same one but in party field
remove the " * " (it has to be empty)
test it and let me know
Regards,
Michal Krawczyk -
RFC to SOAP Scenario -- Delivery Exception
Hi All,
I am working on RFC to SOAP scenario.
On executing a program in the SAP system, the system is throwing a dump stating "com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML".
I feel that the error is because of the response not being sent back by the webservice. On executing the webservice independently, it is working fine i.e. sending back the response.
Can anyone suggest the possible reasons for this error and what needs to be done to rectify this?
Thanks,
Ravi Kiranthe return from the Web service must have been an HTML(may be an error page or something)...What kind of authorization does this WS look for ?
Pls check these threads...
SOAP Receiver Adapter Proxy Settings
Receiver SOAP Adapter Error: invalid content type for SOAP: TEXT/HTML -
Hi Experts ,
i am configuring RFC-XI-Http scenario.
The problem i am facing is when instaed of HTTP receiver adapter i use FILE adapter or soap adapter it posts the file. But when i use the HTTP adapter it gives the error ICM_HTTP_CONNECTION_FAILED.
The basis configuration seems to be fine and my design also should be fine as it is working in case of file and soap adapter .
How to rectify this problem?
This is very urgent.
Please suggest
Regards
saras jainHi,
Please look at these...go through the suggested solutions to resolve this error.
INTEGRATION_DIRECTORY_HMI: Connection fails
ICM_HTTP_CONNECTION_FAILED
SAF - ICM_HTTP_CONNECTION_FAILED
HTTP adapter setup
Check out this SAP Note- 824554
Also this links
ICM_HTTP_CONNECTION_FAILED
Cache Refresh~
https://websmp201.sap-ag.de/~sapdownload/011000358700003163902004E/HowTo_handle_XI_30_Caches.pdf
Hope this helps.
Think these should help you out!
Thanks
Swarup
Maybe you are looking for
-
Preview hangs while trying to open old multiple files
Hello Everyone! After restarting my Macbook Pro, I opened Preview, it showed all the files I was using before closing it, but it was frozen. I checked the errors on the Console: 11/09/12 20:19:55,726 Preview[909]: SCNetworkReachability server not av
-
Macbook died so now need to transfer my backup from TC to a new Dell
My main worry is transferring all the apps/music etc that we had in itunes. As this was my sons computer there is not so much data but he currently has none of his original purchases on his new computer. As he also lost his itouch prior to the comput
-
About Macbook Pro 13'' (Mid2012) screen?
Hello! Today I found out that my Macbook Pro 13'' (Mid2012) display is little bit curved from center to sides. I thougt it should be straight? Thank You!
-
I'm using Oracle Application Server 9.0.4.1 and it's OJSPC tool to pre-compile jsp files at build-time. During the compilation I get the following error: Translating file: C:\Documents and Settings\antio\Local Settings\Temp\tmp3860\index.jsp File not
-
Unable to navigate the folders in JFileChooser when we have Unix file syste
I'm trying to display a JFileChooser on a client system (that happens to be Windows) that will allow the user to browse the filesystem and open files from a remote system (that happens to be UNIX). To do this, I've created a class which extends FileS