Step by step File to RFC Scenario with BPM
hi
for the following scenario i m following the webblog
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
i have successfully created the design phase
in the configuration stage
i need to create a business system or business service will do to create the communication channel
i have not created the systems so i feel i should not create the business systems
i would like to create the business service
so in only one business service can i assign all the communication channel
useful answers will be rewarded
Regards
JM
There are 3 parts of communication: Sender service to Integration Process (Asynch.), Integration Process to RFC (Synch.), Integration Process to Receiver Service (Asynch.)
The configurations should be like as follows:
<b>Sender Service to IP</b>
Receiver determination:
Sender Service->Request Outbound Message Interface->Integration Processs.
Interface Determination:
Sender Service->request Outbound Message Interface->Integration Process->Request Outbound Abstract Interface. (No interface Mapping is required as the interfaces share the same structure.)
Sender Agreement:
Sender Service->request Outbound Message Interface->Integration Process->Request Outbound Abstract Interface>FileRFC_Send
<b>IP to RFC</b>
Receiver determination:
Integration Process->Request Outbound Abstract Interface->Business service.
Interface Determination:
Integration Process->Request Outbound Abstract Interface->Business service->RFC Structure->Corresponding Interface Mapping between file structure and RFC structure.
Receiver Agreement:
Integration Process->Request Outbound Abstract Interface->Business service->RFC_Receiver
<b>IP to Receiver Service:</b>
Receiver determination:
Integration Process->Response Inbound Abstract Interface->Business service.
Interface Determination:
Integration Process->Response Inbound Abstract Interface->Business service->Response Inbound Message Interface. (No interface Mapping is required as the interfaces share the same structure)
Receiver Agreement:
Integration Process->Response Inbound Abstract Interface->Business service->FileRFC_Receive.
Hope you find this useful.
Regards,
Amitabha
Similar Messages
-
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 -
XML file to Proxy Scenario with BPM - ID Steps
Hi Guys,
Any one can help me to find about the scenario XML file to ABAP Proxy with BPM, ID steps please. Any link or logical routing, receiver determination and interface determination idea. Please correct me,
I have created Business Service as sender to send one xml file to BPM, BPM is sending a message to SNC system. I have created 2 receiver determinations, but I am confusing in interface determination, where to declare OM?
Please can any one respond bit quicker.
Thanks in advance
Regards
SanES Repository
*Service Interfaces*
Create one outbound service interface for XML file.
Create one Inbound synchronous Interface for SNC system.
Create one Abstract Asynchronous interface ,same message type as you used for outbound service interface .This is for Integration process receive step.
Create one Abstract async interface for receiving the response from SNC system in Integration process.
Create one Abstract synchronous interface to be used in the Integration process for Send sync step.
Create on inbound asyn service interface for sending the response from integration process (received from SNC system) to the Receiver System.
Operation Mapping.
Create an Operation Mapping using Abstract sync interface and inbound syn interfaces.
Integration Process
start--->receive Step---->send Synchronous step----->send step.
Create two container elements
first with abstrat async interface for the XML request.
second for abstract asyn interface with the XML response structure (asyn receiver system structure)
In the send sync step select your abstract syn interface from the F4 help.and select the corresponding request and response message from the container element you defined earlier.
Integration Directory.
Create one sender File adapter Communication channel for XML file reading.
Create two receiver communication channel for sync system(receiver XI adapte for ABAP PROXY) and other for asyn receiver system .
Create 3 receiver determination
1.from sender to Integration process.
2.from Integration process to SNC system.
3. from Integration process to Asyn Receiver System.
Create 3 Interface determination.
Specify Operation mapping while you are creating interface determination from Integration Process to Syn BS.
Create one sender agreement
Create two Receiver agreement.
Regards
Kubra Fatima. -
File-PI-RFC scenario with extraction of contents in the filename
Hi All,
I am working on File to RFC scenario.
Here the file name is like 'ABCD_XYZ_1234_DATE' where the date is in yyyymmdd format.
I have to read this filename & the date in the filename is to be mapped with one of the RFC parameter.
Also how would I trigger the Interface if the file resides in PI server or on local mchine.
How to configure the processing parameters in sender comm channel if I want to read the file after every 15 mins?
Thanks,
Amit PatilHi,
By writing simple UDF in your mapping you can Acheive this
Try this Once
DynamicConfiguration dynamicconfiguration = (DynamicConfiguration)param.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
String MyFileName = dynamicconfiguration.get(key);
String str[] = MyFileName.split("_");
return str1[1];
Map this to the date parameter(RFC) in the mapping .
If the file resides on Local machine then you can use FTP and if it is on PI server then NFS as Transport protocol.
If you want read the file for every 15 min there are 2 options
1) Set the poll interval time to 900 sec
2) Configure ATP in RWB
Configuring ATP in RWB :
http://www.dataxstream.com/2010/11/configuring-availability-time-planning-in-sap-pi/
Thank & Regards,
Deepthi -
File to RFC scenario using BPM : a synchronous one
Hi All
I am doing File>RFC>File scenario using BPM with help of the blog
RFC Scenario using BPM --Starter Kit
here everything is explained but i am getting error while the processing of BPM part
Input file is being picked (this part is success) but rest BPM and response i am not getting back in .
interface names
filereq_MI >Filetoabstract_MI>Sync_MI>RFCtoabstract_MI>Fileres_MI
(abstract means its an abstract interface)
i have configuered the Integration process as follows
Start>Recieve>synch_send>send>end
step : Recieve
mode : asynch
message:Filetoabstract_MI
step : synch_send
mode : synch
synch interface : synch_send
req message:Filetoabstract_MI
res message : RFCtoabstract_MI
step : send
mode : asynch
message:RFCtoabstract_MI
and i have given interface mapping during second (synch_send) step but here mapping is giving problem its showing exception error during mapping
error is there
1) Integration process ---> file
2) Integration process-->R/3 systemHi,
Configure the Integration Engine According to this Blog and Trigger the Process again
Configuration of a Central Integration Server
Regards
Seshagiri -
File to RFC Scenario using BPM
Hi,
Scenario:We have to post data 1 by 1 to SAP and also handle errors
The file will be picked by the sender file adapter and given to bpm,bpm (uses message splitting) posts the data one by one to the sap r/3 system using receiver rfc adapter.
errors could be due to connectivity..in this case we need to send alerts to users uing alert framework.
good blogs or docs or ppt/pdf explaining a similar kind of scenario, will be highly helpful.
thanks,
younushi
for this u need the concept of ALERTs creation.
U can use the following links to create alerts;
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
XI ALerts with container elements - /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
http://help.sap.com/saphelp_nw04s/helpdata/en/d0/5e073c8e56f658e10000000a114084/frameset.htm
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2327---- [original link is broken] [original link is broken] [original link is broken]> [original link is broken] Trouble shoot alert config
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
http://help.sap.com/saphelp_nw2004s/helpdata/en/9c/34193cb4f5131de10000000a11405a/content.htm--SAP LIBRARY
http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm -->Categories
rewards points if helpful
ragards
sreeni -
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 -
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 -
Step by step file to rfc with rfc code
hi
any body can u provide me file to rfc step by step method to practise
file->i am getting employee number from txt file.
RFC-> inserting into to one table
w/o BPM i need it is there anybody can provide me, i am searching it for almost 2 days. Please help meHi Mudit,
Could u please provide me simple step by step methods File to RFC scenarios url's or any materials.
Acutally i created this but i am not getting eny errors and results also. Please provide me.
what i have done is
from text file i am getting employee number and thru RFC i am just inserting that employee number into Ztab_RFc table. but if i run RFC in r/3 its getting inserted but thru XI RFC is not getting inserted what might be the exact problem, in msg_monitoring and sxmb_moni i am not getting errors. Please provide me solutions to cross check only i am just asking the step by step flow sir -
File to RFC Scenario - Not working with AAE
I have a File to RFC Scenario (calling RFC /POSDW/CREATE_TRANSACTIONS_EXT) using AAE but it is failing with following error in PI .
MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: functiontemplate from repository was <null>
Adapter Framework caught exception: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: functiontemplate from repository was <null>
Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: functiontemplate from repository was <null>.
But When I run the same scenario using IE instead of AAE, it is successful from PI. So probably there is nothing wrong in RFC channel configuration.
There's an OSS note-730870 on this error ,it says the XML document sent to RFC Adapter may not be RFC-XML but as I am using AAE, payload generated after technical routing cannot be viewed.
Could you all please suggest why this error is coming and solution for the same?
Thanks,
AnkitHi Debashish,Monica,
Thanks for your help, I checked this SAP note its question 16 do describe my problem but do not provide solution and as I am using AAE it does not allows me to see the target structure generated whereas if I use IE the target structure generated is sucessfully getting posted.
Also, the functional module is present in target system. I have reimported the RFC also.
Is there some AAE related configuration required to enable AAE with RFC which could be missing?
This is what I get in log as the RFC reciever is called..
06.09.2011 14:15:31 Information MP: entering1
06.09.2011 14:15:31 Information MP: processing local module localejbs/RfcAFBean
06.09.2011 14:15:31 Error MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: functiontemplate from repository was <null>
06.09.2011 14:15:31 Error Adapter Framework caught exception: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: functiontemplate from repository was <null>
06.09.2011 14:15:31 Error Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: functiontemplate from repository was <null>.
Thanks,
Ankit -
Help me please with File-to-RFC scenario
Hi, I'm a beginner with XI and I have as problem with an interface.
This interface is a file-to-RFC scenario an it was working correctly a few days ago. Suddenly, the interface doesn´t work and we haven´t error message in sxi_monitor transaction. The queues are fine and we haven´t any sign that why the interface doesn´t work.
If someone´s had a similar problem and know how to solve it or someone can teld me a clue, please, help me!!
Thank youHI,
You can monitor the Communication Channel in RWB.
Go Component Monitoring in Runtimework Bench and click on Adapter Engine and select the Communicaiton Channel and select your channel name.
You can find any whether it is in active or not?
Also check the Message monitoring in RWB.
Regards
Sridhar Goli -
File to mail scenario with dynamic email addess
Hi All,
I am doing a file to mail scenario with attachment(mail package is used), where i need to pick a file from folder and based on the file name(Country code is provided in file name. for eg. Collections_UK02_20091210.txt. here UK02 is the country code), i need to send an email to dynamically. I am using value mapping for country code with email address. please provide me suggestions like how can i pick the file based on the country name and send to the corresponding email address.
Regards,
Mahakrishnan T.Hi Mahakirshanan,
>>how can i pick the file based on the country name and send to the corresponding email address.
You cannot do this.. better will be to make a generic interface which will pick the file and based on its filename it will make the to field
Follow these steps:
1 Read the file using communication channel (check the adapter specific identifiers)
2. Using dynamic mapping read the filename and based on the name of file decide the To address and update it to the To field of mail package. You can use value mapping to decide what the targetvalue can be.
Regards
Suraj -
File to RFC scenario - receiver determination problems
Hi ,
Im trying to work out a flat file to RFC scenario, and am facing problems in configuring the receiver determination .
While creating my receiver determination, in the configured receivers, when i click on the F4 help to select service, i do not see the business system that i configured in SLD .
This system i have configured as an WAS ABAP system and provided all relevant data. I can also import objects from this system into IR, so i dont think i have set it up wrongly. I have also created RFC destination .
Is there some setting that has to be made that im missing ? Could somebody point out why im not able to see this system in the list of business services available at receiver configuration time ?
Thanks,
Joe
I also cleared the SLD cache by the way.. that didnt work either .
Message was edited by:
Joe SteinThanks a lot for you replies guys , but problems still not solved ;
1. I looked at the blog given and ive done everything pretty much as given . My problem lies in not finding the business system itself in the list of services for the configured receiver. How to implement this has not been shown in the blog.
2. I tried refreshing the cache and checking again, but it still doesnt show me the necessary step.
SOS !
I checked in the inbound system , and found that an RFC wasnt created for the XI system . I created that but i still cant see this system as a business system when i try to create the receiver determination . Do i need to recreate the technical system in the landscape to incorporate this change ?
Any pointers at all ??
Message was edited by:
Joe Stein -
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 -
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
Maybe you are looking for
-
My iphoto app will not launch after talking with an apple tech support who had me sync my iphone 4S with my mac desktop. The pictures downloaded from my iphone and after disconnecting from the Apple help, my iphoto had disappeared from the very bott
-
Windows 2008 R2 iSCSI Boot LUN - NIC driver issue
Hello, I've gotten the opportunity to create a win2k8r2 golden image that will be deployed to IBM3650 M3's over iSCSI boot LUNs. I have a need to update the on-board Broadcom 1Gb NICs from the drivers that come with the installation media. I am able
-
I am having difficulty when I play TV shows bought from iTunes. They work ok, but if I have other windows open, the video player never stays in front of them. I know that Windows media player has an "always on top" function but I cannot find it in qu
-
Computer startup leads into Terminal
Hello, Last night, after a restart, my tower booted up and went straight into the Terminal, the one that takes up the whole screen. In other words I was not able to immediately login and go to my desktop, the computer went straight to the terminal. A
-
Hi everybody My wife created a folder on her iPhone (3gs, OS 3) within the note app. She can't remember how to do it and I would like to do it on my iPhone (3gs, OS 4) thanks for your help in advance.