Sync RFC scenario
Hi,
I need a synchronous RFC scenario. My requirement si jsut to run a UDF in mapping and give teh response back to RFC.
What can be the best reciever side which gives the response back to RFC. Remrmber, I just need to call a mapping.
File is not possible as File reciever cahnnel will not work for sync case.
Kindly suggest.
Regards,
Priyanka Sharma
Hi,
What about creating a webservice at the receiver end? That will be in sync and in PI we have the option to define a webservice.
Please refer the links below:
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
/people/baris.buyuktanir2/blog/2007/03/06/how-to-create-a-web-service-with-attachments-soap-with-attachments
/people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
Regards,
Tiny
Edited by: TINY MAMPILLY on Feb 16, 2010 10:41 AM
Similar Messages
-
Sync RFC scenario VS BPM scenario -- speed doubt
Hello friends!
My case:
I have to choose between 2 scenarios:
1) SAP(Idoc) <=> XI <=> ThirdPart(WebService)
2) SAP(s\q\tRFC) <=> XI <=> ThirdPart(WebService)
In 1st scenario I need to use BPM. In 2sd I needn't.
So I want to know which way more simple to implement and more speedy.
Thanks in advance!
Alexandrhi
The first case is easier i.e with BPM...in terms of hadling errors..to send any alerts.....
if you want any weblogs i can post for you
regards
kummari -
Hi SapAll.
i had created a Remote Function Module in SAP-R/3 with 2 structures under tables(tab)and this rfc is going to collect data from xi for doing some bdc and then when the bdc fails,rfc will return values to xi.
in this real time scenario what xi will do,i know that xi will collect the data from rfc.
as i have got the Netweaver-PI Software i would like to create a sample interface in PI for doing the above mentioned scenario
so what my question is how and in what way we can do this in XI without BPM,after xi collect the export parametes from rfc with failed reasons what xi do,will it update the sender.
will be waiting for a good answer.
regards.
Varma1. if ur sender adapter is sync like SOAP
you sync RFC scenario...whatever the resposne that u get from RFC can be mapped back to sender using the response mapping..if the sender supports that fore.g if u are using SOAP as sender..
2. if ur sender adapter is not sync like file / JDBC / JMS
just do the RFC lookup in mapping ..map the response to the target structure and use the receiver which is same as the sender and generate file to the sender -
ASync RFC -- Sync RFC -- SOAP scenario: do I need BPM?
Hi,
I have this scenario. ASync RFC --> PI --> Sync RFC --> PI --> SOAP scenario.
Here are the details.
1. users run async RFC and it will pass data to PI.
2. PI will call Sync RFC with received data and get the data.
3. PI now calls web service with received data from #2.
Do I need BPM to implement this scenario.
Thank you.
-WonI'm still wondering if it's possible to perform my scenario without using RFC lookup or BPM.
Yes, it is possible.
I want to see if PI supports sequence of calling RFC, JDBC, web service, etc and pass data to
the next call in sequence... without BPM...
Yes, PI supports that. Please make a search on SDN, there are numerous blogs / posts which talks about A/S bridge without BPM. -
Hi
I've a requirement for a XI Inbound Order that I need to check for each MATNR on the Order Line it's associated Division (SPART). Once I know the Division I'll then split up the Order per Division.
Can I from my BPM collect the message, call a RFC via Send Sync Step to return the Divisions and then continue with my transformation ?
I was looking for an example of how to call an RFC from a BPM. NOT using Sync<>Async bridge.
Does anybody have a link to a blog etc for that.?Hi,
You can either use RFC lookup in mapping or use Sync RFC call in the BPM.
Refer the Blog RFC Scenario using BPM --Starter Kit By Arpith Seth for Sync RFC call in BPM.
Refer this document [Mapping Lookups: Remote Function Calls API|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439] for making RFC lokup from mapping.
Thanks
SaNv... -
Hello Guru's
Im trying the basic SOAP TO RFC scenario, in which RFC is SXIDEMO_AIRL_FLIGHT_CHECKAVAIL
and the out bound interface consists of only basic feilds i.e.
REQUEST MESSAGE TYPE : AirlineID
ConnID
Fldate
RESPONSE MESSAGE TYPE : Ecnofree
Bussfree
Firstfree
and no fault message type.
i created the scenario with out any errors, and i defined webservies in ID with the following URL
http://starxi:50000/XISOAPAdapter/MessageServlet?Channel=:SXI_BS_SOAPRFC_SENDER:SOAP_RFCSENDER
it is according to the following syntax
htt://<xi server>:<J2EE Port>/XISOAPAdapter/MessageServlet?channel=:<sender business system>:communication channel.
But im not able to post SOAP request to the xi server. it is saying following error
"SOAP Request cannot be posted <with url > 403"
403 is the error code.
please can anyone help me in overcoming the above problem. and where iam wrong.
Thanks in advance
arjunHi!
Please check once again reg SOAP URL while generating the WSDL.
[http://<HOST name:5<Port>00/XISOAPAdapter/MessageServlet?channel=:<Channel Name>:<Adapter Name>]
[Re: Using SOAP Sender adapter in PI 7.1]
1. Check whether your SOAP URL s correct or not which you are giving in the receiver SOAP adapter
2. Also check you are giving the SOAP action in the receiver SOAP adatper correctly or not.
3. Finally check the SOAP service is activei or not in SAP>BC>XI-->SOAP in ABAP stack
4. Since FIle is only for ASYN comm and while using FILE for sync interface you need to pass module paramters in the Sender File CC
ERROR 403 means::
This error will be comming mostly in the synch scenarios like SOAP to RFC - SOAP and FIle to RFC--FILE
when the target system is down or service is inactive.
Error: HTTP 403 Forbidden
Description: The server understood the request, but is refusing to fulfill it
Possible Tips:
Path sap/xi/engine not active
u2022 HTTP 403 during cache refresh of the adapter framework - Refer SAP Note -751856
u2022 Because of Inactive Services in ICF u2013Go to SICF transaction and activate the services. Refer SAP Note -517484
u2022 Error in RWB/Message Monitoring- because of J2EE roles u2013 Refer SAP Note -796726
u2022 Error in SOAP Adapter - "403 Forbidden" from the adapter's servlet. u2013Because of the URL is incorrect or the adapter is not correctly deployed.
Regards::
Amar Srinivas Eli -
Sync RFC call from BPM - message expired
Hi guys,
I have a scenario with BPM where I'm doing a sync RFC call to ECC and then I want to process the result. However, the processing of BAPI take approx 5 minutes and my messages get expired after 3 minutes.
How to resolve this issue?
Thanks a lot,
OlianHello,
Problem might be at BAPI end. Please check BAPI by executing with your set of inputs. If BAPI goes for exception for yoru set of input values.. you may not get response from R3. So you might have error..
secondly.. Please post the error in the communication channel and errro in the SXMB_Moni as well.
Thanks,
subbu -
Help SOAP to RFC Scenario using BPM (Synchronous communication)
Hi,
I am doing a scenario from SOAP to RFC scenario(Synchronous communication). Here I am creating a PM Notification in the SAP system through a webservice.
I am using three BAPI'S here,
1. BAPI_ALM_NOTIF_CREATE
2. BAPI_ALM_NOTIF_SAVE
3. BAPI_TRANSACTION_COMMIT
I am successful in calling the first BAPI from the Web Service. For this I have not used BPM. But to commit the transaction(PM notification in this case), I have to execute the other two BAPI's as well. I have to pass the output of first BAPI to the second BAPI and then execute the 2nd BAPI. And finally have to execute the 3rd BAPI. FYI, 3rd BAPI is not dependent on any output. It has to be executed independently after execution of the first two BAPI's.
How can I execute this scenario? Do I have to use BPM? If yes please let me know the steps in detail. I have not done any BPM scenario till now. So please answer me in detail.
Thanks in Advance,
Vijay
p.s. reward points are mustHi Vijay,
Yes, You will indeed need a BPM in this case...
Based on my understanding of the Scenario u have explained, here are the steps that would be needed.
1. Receive With the Sync-Async Bridge open.
2. Transformation Step (Between the source Request and The BAPI_ALM_NOTIF_CREATE Request)
3. Send Synchronous
4. Fork
5. In one Branch of the fork - Transformation (Between the BAPI_ALM_NOTIF_CREATE Response and API_ALM_NOTIF_SAVE Request)
6. In the other branch of the fork - Transformation (Between a Dummy Source and the BAPI_TRANSACTION_COMMIT Request)
7. Send Synchronous (to make the 2nd BAPI Call)
6. Transformation ( BAPI_ALM_NOTIF_SAVE Response and the source Response)
7. Send Asynchronous (to make the 3rd BAPI call)
8. Send the Source Response and close the Sync-Async Bridge.
There might be alternative ways also of doing it...
Also a better design would be to take care of the 2nd and the 3rd BAPI call within the code of the 1st RFC Function Module.
Regards,
Abhy Thomas -
Hi Experts,
How to do Sync to Sync BPM scenario without using Sync/Async bridge?
Could you please give the BPM steps for SOAP to JDBC scenario?
Regards
Sara
Edited by: Sara D on Jan 17, 2008 7:59 AMHi,
Check below links for BPM scenarios.
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
/people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
Regards,
Phani -
hey guys i m doing a File to RFC scenario using BPM and taking help from the following blog /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit i m a bit confused about the services being used in figure 19 and figure 20,for a File to RFC(sync) scenario,do i need to have 2 business systems,one of WEB as ABAP and one of third party?
why is he using two different services in figure 19 and 20.
thanx
ahmadDear Bhavesh,
Someone earlier told me via SDN that, it is mandatory to create a WEB AS ABAP business system for any SAP system running on ABAP stack participating in the integration scenario. If the above is true than Ahmad needs to create one WEBAS ABAP business system for the R/3 end
also a third party business system or a business service for file system.
Pls advice.
Regards,
Ashish -
** JCO$Exception Problem in RFC to RFC scenario
Hi Friends,
I am doing RFC to RFC scenario. We have two IDES system. One XI system. The scenario is to send the Vendor data from First IDES system (Z_APPLE_VENDOR_SEND) to call the RFC (Z_APPLE_VENDOR_INSERT) in the second RFC system. Sync to Sync Scenario. In this case data is passed from source system and mapped to target RFC soruce Structure. But, not able to login into target system. The following error is occured in SXMB_MONI.
com.sap.aii.af.ra.ms.api.DeliveryException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=aprins05 SYSNR=01 GWHOST=aprins05 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '172.25.12.23:sapgw01' not reached TIME Fri Oct 17 23:28:55 2008 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -10 MODULE nixxi.cpp LINE 2764 DETAIL NiPConnect2 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER
Friends, I have tested the following : SLDCHECK, Connection between IDES and XI system. Checked the Gateway of receiver side IDES system thru tcode SMGW. All are working fine. But, still the problem comes.
Kindly help me to solve this issue.
Kind Regards,
Jegathees P.Hi
Restart the Receiver System once and try again.
Go throgh the following thread
(102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
Regards
Sridhar Goli -
1)what are the basic designs in IR for Syn RFc and Async RFC..
What could be the diffrence wrt. IR
2) regarding RFC which is imported do we need import/Export or simply Table is sufficient in R/3 Side.
Edited by: sapient on Feb 28, 2008 10:03 AMHi,
>>1)what are the basic designs in IR for Syn RFc and Async RFC..
What could be the diffrence wrt. IR
For Sync RFC you need to Create the Message Interface as Sysnchronous and in Interface Mapping u will get the Request and Response both TABS
For Async Only Async Mode of Message Interface is Enough
>>2) regarding RFC which is imported do we need import/Export or simply Table is sufficient in R/3 Side
For this you need to Import the RFC/BAPI into IR, as we Import the IDOC's in IDOC's Scenarios
Regards
Seshagiri -
Step by Step Guide Details for RFC to File and File to RFC scenario
Hi Guru's
Good day to you. I am tyring to develop some scenarios based on RFC adaptor. so i want to start up with basic scenarios like RFC to File scenario(Here i just want to pull some data from SAP using RFC and put it in destination folder as an text file) and FILE to RFC scenario (Here i just want to take some data from the file and update into SAP).
For doing these scenarios i would like to request you people to send me the step by step guide which explains me about the complete steps of configurations required to do the RFC to FILE scenario and FILE to RFC scenario.
I found some scenarios and i am in confused state. so i request you to please put your experience to help me out.
thanks in advance.
Regards
RajHi Aaron,
I don't know your scenario and your ECC and PI versions but I learned how to use ABAP Proxy more than 1 year ago with the following tutorial:
Edit--> The forum doesn't allow me to post external link, just search "ABAP Proxy Communication Scenario" in google and visit the 1st result
The way to develop ABAP Proxys has changed a little if your PI is 7.1. In the ECC side, the transaction SPROXY looks much better too if you have a recent version of the ECC.
Edited by: Marshal on Oct 8, 2009 5:08 PM
I've found that SDN Document. Maybe the scenario is not the most simple to start with ABAP Proxy but is very well documented and is for PI 7.1. The document also handles the inbound and outbound proxys
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f&overridelayout=true]
Edited by: Marshal on Oct 8, 2009 5:22 PM -
Error while calling RFC adapter(FILE-XI-RFC scenario)
Hi,
I am trying for FILE-XI-RFC scenario. I am getting the following error. I have checked in message monitoring. The error is coming while calling the RFC adapter. Can any body tell what problem is this?
Regards,
Dhana
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
<SAP:P1>af.f23.sofd00001530a</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>2: Unable to find URL for Adapter Engine af.u7a.us4296</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine af.f23.sofd00001530a</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>Hi,
I did SLD check.
The status says 'Summary: Connection to SLD works correctly'.
But it fails while checking the access to XI profile.
Here is the status
Summary: Connection to SLD works correctly
Now checking access to the XI Profile
Properties of RFC destination LCRSAPRFC
RFC host:
%%RFCSERVER%%
program id: LCRSAPRFC_DZ1
gateway host:
gateway service:
Testing the RFC connection to the SLD java client...
RFC ping returned exception with message:
/ CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679#Transaction program not registere -
File to RFC scenario with no BPM
I want to create File to RFC scenario with no BPM. I want to invoke RFC synchronously to verify that I'm getting correct response back, but i dont wanna process the response. So, In SXMB_MONI i can check the response back from RFC right? Or do I need to have BPM if want to see the response back from RFC?
What kind of business system i need to create for RFC? can i use same business system for both File and RFC? I'm using one Business System created on Third party technical system, which i'm using for file Input, also for RFC. Is that OK?
Thanks,
DeepeshHi,
I need to have BPM if want to see the response back from RFC? ... yes
The BPM will help you find the response very comfortable.
What kind of business system i need to create for RFC? can i use same business system for both File and RFC? I'm using one Business System created on Third party technical system, which i'm using for file Input, also for RFC. Is that OK? ..Yes you can .
Regards
Agasthuri Doss
Maybe you are looking for
-
How to create links in a signature
I've searched, and one topic came up. I'd like to create a clickable link in my signature. I tried the solution posted in that one topic, however it didn't work. I'd like to know if there's a setting that I'm missing, because I constantly find myself
-
Can't save image, error message ???
Hi, I'm trying to save a pdf image in photoshop, as I always do, hitting command S, or going to file-save. I keep getting an error message saying "could not save "x" file because the file is already in use or was left open". Well duh, of course it's
-
Can i Debug Smartform in Production System??
Plz help me out in this
-
CIC0 - BP Identification takes large time
Hi Experts, In our Project we are Using CIC (Customer Interaction Center). Some Time Identification of Customer Matsre Data (BMD&TMD) based on Business Partner Or Contract Account takes large time in CIC0 transaction . If anyone have any idea about i
-
Enhancement SPOT ES_SAPLITO2
Hi , Can anyone suggest how to activate the enhancement spot ES_SAPLITO2. Actually I have modified the code inside the Enhancement Implementation DIMP_GENERAL_SAPLITO2 which include enhancement section \PR:SAPLITO2\EX:ITOB_CHECK_SERIALNO_04\ N