Asynchronous RFC scenario
Hello,
My scenario is synchronous RFc to JDBC.
The scenario works fine . But after certain time interval the scenario stops working i.e when i execute report, no data is sent to XI
However when i save and activate RFC sender Comm. Channel , the scenario starts working again.
Can anybody tell me why do i need to activate the Comm. Channel , is this a Cache issue, if yes , how do i resolve it?
Regards,
Loveena
Hi all,
As per my observation what is happening is after an idle time of 2 hours(scenario is not executed for this duration) , the scenario stops working and again when i run CPA cache or reactivate the RFC channel , the scenario starts working.
However in real time this should not happen as we cannot refresh the cache manually evrytime.
Can anybody tell me what can be the problem ?
Regards,
Loveena
Similar Messages
-
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 -
MessageExpiredException error in JDBC - RFC scenario using BPM.
<b>Scenario:</b> JDBC( Asynch)- RFC( Synch)- JDBC (Asyc)
We are using XI to read oracle table records to insert the records in R/3 and after the insert in R/3 we return a sap code to update in oracle db.
When we try to process 10 or less rows from db, the process is successfully running, but when we try processing more records we are getting the following error. We tried increase the timeout setting in RFC adapter as per the SAP note and forum.
<u>Detailed error: </u>
<b>com.sap.aii.af.ra.ms.api.MessageExpiredException: Message 443jdjsd-e432-2ec8-e100-000046eb2e5f(INBOUND) expired.</b>
If I use correlation in asynchronous RFC instead of synchronous RFC, will this solve the problem or is there any better solution for this ?
Any useful steps to change the synchronous RFC to asynchronous RFC in BPM would be great.
Thanks
SteveHi,
<i>1. Any suggestions to meet this requirement in XI ?</i>
>>>One option is using ABAP Proxy . Instead of calling Sync. RFC, call synchronous Proxy. So your client proxy, should receive all 200-300 rows at a time, and inside the proxy, and call the RFC. Once all the reocrds are processed, send the response back to BPM
You can try out this.
I think, probably you may require to do looping for each Row.i.e For each row the call the RFC.. As of now try to go with Proxy.
Also try to findout, why the RFC is taking that much of time.. So check for the provision of tuning in the RFC side..
Hope this helps,
regards,
Moorthy
Message was edited by: Krishna Moorthy P -
Blogg RFC scenario using BPM - starter kit (more detail on BPM required)
I follow this blog to the letter - because it is the same as my scenario:
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
The problem is I have no experience with BPM. I have setup the Integration process as I think it should be but I get an error.
Could one of you experts go through the BPM steps in more detail? Screen shots/details of the properties and containers on each step would be very useful. Thanks.Hi Lynn!!
Check this SAP help for certain requirements when to use BPM:
http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/ca/7c5c41fe06cf1ee10000000a155106/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e8/8e2d4233c8db2ce10000000a1550b0/content.htm
Take a look at this blog by Michal,
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in BPM
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in BPM
Check this weblog for a step by step procedure:
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
or case study go thru this blog:
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
for checklist:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bf550d4-0201-0010-b2ae-8569d193124e
Take a look at this blog for some very good guidelines on when to use BPM's and when not to use BPM,
/people/swen.conrad/blog/2006/12/22/xi-ccbpm-performance-under-perform-or-out-perform
Thanks !!
Pls reward if useful -
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 SharmaHi,
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 -
Asynchronous RFC vs synchronous RFC
Hi Experts,
Can you give me what are the differences between asynchronous RFC and synchronous RFC?
thanks.
Moderator message : Not enough re-search before posting. Thread locked.
Edited by: Vinod Kumar on Jul 4, 2011 4:45 PMGabriel,
<b>synchronous</b>
the sender sends a request message to the receiver and waits for a response message.
for eg. consider a scenario.. where u have a customer no. and u need customer details.which is stored in R/3...so u can configure a HTTP to R/3 synchronous scenario... a http request will be sent to R/3 having a CUSTOMER NO....and in response u will get details of customer like...cust name,address, etc...
<b>asynchronous</b>
sender send a request message but doesn't wait for response.
for eg consider a file to file scenario .where u need to pick a file from a source location to a destinartion location....so...it will asynchronous interface
hope u r lil bit clear!!.
Regards
Biplab -
how to use RFC adapter asynchronous way.......jena
Hi Jena,
Go Through this blogs..
Hope useful to you..
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
/people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
Reward Points If it is useful
Thanks,
Satya
Edited by: SATYA KUMAR AKKARABOYANA on Apr 3, 2008 5:44 PM -
Configuration part of File to RFC Scenario
Hi,
Can you please send me the Step by step process of Configuration for ythe same.The web log in SDN is confusing.
As I am new to Xi I require some explanation for the same.
I possible pl send me how the msg exactly sent from the sender to the receiver.
Diagramatic explanation would be appreciated.
Thannks,
P.SrinivasaHi ,
I think this weblog clearly explains how the message exactly sent from source to destination....
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
steps :
1)Sender sends the XML message to the BPM (recieve step catches the file)
2)then basing on the value in the XML file the call is going to R/3 to get the details from R/3(send synchronous step)
3)Once it recives the response from RFC then it sends the details to the File.(again send asynchronous step)
sekhar -
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 -
File-to-File/RFC scenario with reading filename
Hi,
i have a File-to-File/RFC scenario which causes some problems in desining it correctly. Maybe some of you has an idea how to do this.
Scenario:
- A file is picked up by a File-Adapter. The files are different: pdf, doc, tiff, jpg, txt, ...
- The file must now go through a business process (not necessary the file, but i need the filename in the business process).
- The process has to contact several backend systems (SAP R/3) to collect some data. To achieve this the filename has to be send to this systems.
- The collected data are send via SOAP to a receiver system
- The file itself has to be stored in a directory via File-Adapter.
Here's my problem:
- Is it possible to transport the binary file content within a message which contains other elements (e.g. filename)?
- Is it possible to do graphical mappings with such a payload (only 1 to 1)? Or must i use Java Mappings only?
- How to generate a Message from the sender File Adapter which contains binary file content AND filename? Is this possible with a Module?
- Is it better to create 2 messages with an adapter module? One with the image the other with the filename. Or is it better to split them later in a Mapping?
Thanks in advance,
msIf all that you need is the file name, use adapter specific settings in the sender file adapter. Then you can access the file name in mapping runtime in UDFs. If you want to have content of the pdf, jpg etc images, i do not think there are ready modules available except for reading pdfs ( you might have to research on this).
For look ups etc with R3 systems, you can use the file name that you got from the adapter and store it in mapping fields.
VJ -
Fixed Length of a field in the File-XI-RFC Scenario
Dear All,
I am doing one File-XI-RFC scenario in which user is sending me the file with some delivery nos (VBELN) in it and I am sending those all delivery nos to my RFC in R/3.
Now I want one conition to be put that if any delivery no is of less than 10 characters than that delivery no should not be sent to RFC rest the remaining will be processed to RFC.
I have put one UDF for this whose code is as follows:
int len = a.length();
if (len == 10)
int b=1;
b = (1/len);
return a;
But this code is not working. Please guide me how to solve this problem.
Regards,
N.JainHI,
Input is A : Delivery No take all the delivery no in one context.
for(i=0;i<A.length;i++)
int b= Integer.parseInt(A<i>); it will remove all the leading zeros if it has any.
int j=(new Integer(b).toString().length()); count the lenght of the Del no.
if(j>10)
result.addValue(A(i));
else
result.addValue("null"); will not send anything.
Thanks and Regards,
Chirag gohil -
Soap -- XI -- IDOC/RFC scenario
Hello,
I have a jsp page that working in tomcat server.
I want to send values from jsp page to xi to r/3. I think it will have
soap-- xi -- IDOC/RFC scenario
Pls send me pdf /doc to implemet it
RegardsHi,
Please Refer the Following Links
/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/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi - Invoke Webservices using SAPXI
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
Regards
Khanna -
Hi Experts,
i am working on HTTP to RFC scenario.From Http client i am sending data to integration engine.
i am unable to see any messages in SXMB_MONI.Means data from HTTP client not reached Integration engine.
why the data is not reaching integration engine?
This scenario needs any configuration settings in XI or any changes in HTTP client??
Plz suggest me in this issue?
Regards,
Bhuvan.Hi Experts,
thanks for giving replies.
The response i am geting in HTTP client:
Result:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Error Report</title>
<style>
td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}
A:link
A:visited
A:active
</style>
</head>
<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0">
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">
<tr bgcolor="#FFFFFF">
<td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b> 404   Not Found</b></font></td>
</tr>
<tr bgcolor="#3F73A3">
<td height="23" width="84"><img width=1 height=1 border=0 alt=""></td>
<td height="23"><img width=1 height=1 border=0 alt=""></td>
<td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/7.00 </b></font></td>
</tr>
<tr bgcolor="#9DCDFD">
<td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td>
</tr>
</table>
<br><br><br><br><br><br>
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">
<tr bgcolor="#FFFFFF">
<td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b> The requested resource does not exist.</b></font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b> Details:</b></font></td>
<td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre> Go to <A HREF="/" target="_parent">main page</A> of this application!</pre></font></td>
</tr>
</body>
</html>
Regards,
Bhuvan.
Maybe you are looking for
-
When ever I log onto my computer I keep getting this error message. AppleSyncNotifier.exe - Entry Point can not be found. Something to do with an SQLite3.dll file. Does anyone know how to fix this?
-
Notes/project management/stickies sync?
i'm trying to finalize some tweaks after porting to the mac and I find myself using Stickies these days. Is there a way to get this to happen across two computers and my iPhone 4? Are there other options for more robust project management type apps s
-
With GREP, is there a way to assign a character find/change to a p style?
I'm looking for more ways to automate text styling in the magazine I produce. In InDesign, I can assign find/replace command strings in the Find/Change GREP window, but I've found no online source that tells me how to find/replace characters using GR
-
Do Business Contect dataflows come in 3.x only?
Dear BW gurus, Do Business Contect dataflows come in 3.x only? Or does it come in 7.0 also (with Transformations and DTPs)? Thanks
-
Map mapping / UnsupportedOptionException
Hello, I've got a strange exception while trying to map a Map field. We have a LongHist class which is extending TreeMap<Long, Double> and offering a few usefull methods. This LongHist is a field of another class, and is mapped as a Map. this throws