Sync scenario: rfc-to-ftp with ccbpm
hi experts,
my scenario is as follows:
there is a rfc call from sap, this message is given to the XI.. the next step should be that xi selects data from the ftp server, send this data back to xi (mapped) and finally give this mapped data back to the sap system..
how to realize this with xi ccbpm?
thanks for every help
chris
Hi,
I don't think data from ftp server is a problem. I just did this type of scenario. My scenasrio was MDM-XI-RFC-MDM. So from MDM to XI i need to put my xml file in MDM server and then i need to ftp it for an input to XI server. And in XI system i created the all mapping to get data and all mapping steps. Now for RFC calls , i used ccBPM with 1 receive step and 2 send steps. 1 Send step was Sync Send as i need to get the response from RFC and next send was aSync call to put response back to ftp using file adapter.
I think for this scenario this weblog will help you.
RFC Scenario using BPM --Starter Kit
Regards
Aashish Sinha
Similar Messages
-
Hi Experts,
My Scenario: EDI to RFC Synchronous scenario.(Order Status Inquiry interface-- 869/870)
Guys could you suggest whether do i need to use BPM to achieve the output file.
1. we have EDI struture imported from stylus studio and used two mappings as follows
Mesage Mappings:
EDI input request xml file (869 EDI xml File) -
RFC request structure
RFC response Structure -
EDI output xml file (870 EDI XML file)
Interface Mappings:
one interface mapping
My doubt was i have seen some scenarios in SDN that we can achieve sync scenarios without using BPM with the help of module configurations in the file
adapter.
Else do we need to go for the BPM to achieve such scenarios.
Thanks,
--Sai.Such scenarios can be easily achieved using standard SAP module Request Response bean (without using BPM)
Chk this:
http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29
http://wiki.sdn.sap.com/wiki/display/XI/UsingRequestResponseBeanModuleinFILE+Adapter
Thanks
Amit -
Xml validation in File to RFC Sync Scenario with Validation fails message
Hi All,
We are using PI 7.4 (Dual Stack) the Requirement is File to RFC Sync Scenario(File <---> RFC).and need to do XML validation against XSD Schema. if any Validations fails Response message should send back to sender.RequestResponseBean standard module is using for File to RFC Sync scenario but how to send the response message to sender if any validation fails. adapter level XML validation is not helpful for this requirement. please help out me how to achieve the requirement with graphical mapping.
Thanks in advance.to validate schema you cannot solve it with graphical mapping but validating the schema in the AAE or the integration engine.
y recomend you to use the AAE validation at sender side, coz the sender system will be notified in case of schema errors.
The response will be validated at Integration Server level.
you can search in the forum, you will get many document about how to configure it.
take a look to my blog: PI 7.3 - XML Validation -
(SOAP sender) --- XI ---- R/3 (RFC receiver) this sync scenario
Hi Experts,
Webservice(SOAP sender) < - > XI <--> R/3 (RFC receiver) this sync scenario tested with Infopath successfully.
I have given partner number,student object id are the two input fields(request) and i am getting student number as response. This scenario is working when i use MS infopath.
I have generated WSDL file embedded with below URL
http://xxxx.yyytec.passh.ed:7271/XISOAPAdapter/MessageServlet?channel=:Webservice_Sender_BS:GET_NUMBERS_Sender_CC&version=3.0;amp;Sender.Service=Webservice_Sender_BS;amp;Interface=urn%Apache
Sender business system: Webservice_Sender_BS
Sender CC: GET_NUMBERS_Sender_CC
Msg Interface: STU_GET_NUMBERS_Synch_MI
now we want to test from third party website, what are the things to be provided to the website developer to test the scenario.
the way i generated URL, is it correct?
if i provide above URL and generated WSDL in XI , is it enough for web developer to enter the input fields to RFC(r/3) via XI as webservice request and getting back response from RFC(r/3) to webservice via XI.
can you please advice if any body worked on this kind of scenario.
Thanks
Dhanush.For the developer you have to provide WSDL file so that they know the input/output fields and write the code.
URL is correct.
Other informatino they required is Username and password of you PI system.
Gaurav Jain
Points if answer is helpful -
Can you explain steps in the Async and Sync scenarios JDBC to RFC.
Hi,
Can you explain some basic steps in the Async and Sync scenarios for sending data from JDBC to RFC.
Like,
The data is picked up from the database table through JDBC adapter.
It is passed on to SAP by calling the RFC. RFC gets executed
successfully. The status is returned by the RFC. The status needs to be
updated back into the SQL database table.
Is this a sync case or async case.
What si the diffrences in the sync and async scenarios in the above JDBC to RFC scenarios.
Sooryahi check the below link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
JDBC Synchronous call using BPM
Data Types -
1) File Input
2) JDBC Req
3) JDBC Response
4) File Response of similar type of JDBC Response.. ( This you can avoid also..let it be for first time)
Message Types
4 for each data type
Message Interfaces
1) Async, Outbound, Interface, to receieve the file
2) Async, Inbound , Interface to send the file from XI
3) Async, Absract , Interface of type File message type to recieve the message in the BPM
4) Sync, Abstract Interface with Req message type as File Request, and Response Message type as a file Response
5) Sync , Inbound interface for JDBC with Input message type as a JDBC Request and Output Message type as a JDBC Response
Message Mapping:
1)Mapping between File Req to the JDBC req
2) JDBC Response to File Response
Interface mapping:
1) Sender Interface as a Sync,Abstract Interface created for the file type and target interface as Synchrnous JDBC interface.
Use corresponding mapping for Req and Resp..
note:reward points if solution found helpfull.....
regards
chandrakanth.k -
SOAP to RFC - Sync Scenario. How to find where the response is going to?
Hello All
I have a SOAP to RFC sync scenario.
In SXMB_MONI, i see that both the initial message and the response message are successfully processed.
But, the SOAP sender is not receiving the response message.
How can i trouble shoot this scenario? How can i findout what is going wrong?
Most importantly, How can i find out the web address of the SOAP sender? I do not see it anywhere.
ThanksHi Chandra,
Please check this blog.
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
You can by pass your message through a TCPIP gateway , this will help you to see the message contnet and the SOAP header information.
TCPIPGW application is availabel in one of the SAP notes for Monitoring SOAP adapter. and 2 SAP SDN PI blogs are also there on how to use this application...
Regards
Sunil. -
RFC Send (Sync) --- XI -- RFC Rec (Sync) scenario. Pls help
Hello All,
There is one scenario
RFC Send (Sync) --- XI -- RFC Rec (Sync)
Now I want to make it to async as I do not need response
RFC Send (Async) --- XI -- RFC Rec (Async)
1. I know about Abap Client and Server Proxy that can be
async but the RFC's are very complex in nature. I am not
and abaper also
Can there be a way that Sender and Receiver RFC can be
made Async. Or any other simple way.
RegardsHi Swarup,
I have done the same thing.
I have removed the export parameters of both the RFCs
In interface mapping I used the request message mapping. and kept the response mapping part blank.
Now when I run this scenario it works fine but also
in sxmb_moni I see two messages.
One for my request mapping. -- ok .
Second empty message for response mapping.
I do not want this second message in my sxmb_moni.
Pls advice
Regards -
RFC Sender and RFC Receiver Sync Scenario . Help required.
Hi,
I need to make RFC Sender and RFC Receiver Sync Scenario.
Any docs/links for it.
RegardsHi,
I have CRM (r/3) and DM (r/3)system.
Data from differnent tables of CRM system needs to go to
DM system different tables , data will be saved there and then return response back to CRM system.
For this I have given one RFC for CRM system
For this I have given one RFC for DM system
So I have to make Sync Outbound Interface
and Sync Inbound Interface.
So I think so no BPM is required.I am correct?
Adapter -- RFC Sender and RFC Receiver Adapter.
Regards
Edited by: Henry H on Jan 29, 2008 11:20 AM -
How to implement Sync-Sync scenario in BPM? Please help!
Hi Experts,
I have a Sync-Sync scenario (SOAP - RFC) where both sender as well as receiver are synchronous.
I have created outbound sender sync interface, abstract sender sync interface, Receiver abstract sync interface and Receiver inbound sync interface.
In BPM I have started with Receive step.
But in receive step I can give either Async Abstract interface or Open Sync-Async bridge. I am confused!
How to implement my scenario in BPM?
It will be really great if somebody can send me the step by step info or doc.
Thanks & Regards,
GopalHi,
Refer this link
use synchronous send step in your BPM - http://help.sap.com/saphelp_nw04/helpdata/en/43/6211331c895f6ce10000000a1553f6/content.htm
RFC Scenario using BPM --Starter Kit
http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
regards
Aashish Sinha
PS : reward points if helpful -
Problem ins Scenario RFC = XI = HTTP
Hi everybody!
I have a scenario in which an R/3 Backend queries an external System using XI. The communication path is:
ABAP Program (sync. RFC) <=> XI <=> (plain HTTP / XML) external System
Unfortunately so far the call only works one way - the RFC call is routed to the XI system which in turn calls the external system. I see the call in the external system's log files. But somehow the answer of the external system is lost.
I also have problems debugging this scenario, since I don't find <i>any</i> messages in transaction SXMB_MONI. I don't know if the two problems are related, but right now I'm really confused.
Any suggestions or hints?
Regards, JoergHi all,
Solved the problem myself. However the problem is so curious, that I post the answer here - maybe someone else with the same problem will find it.
The answer of the external system is transformed using an XSL stylesheet. The stylesheet generated the following RFC-XML message:
<rfc:Z_xxx
xmlns:rfc="urn:sap-com:document:sap:rfc:functions" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- Parameters omitted -->
</rfc:Z_xxx>
As soon as I removed the superfluous Namespace daclaration <b>xmlns:xsi</b> - which wasn't even used in the resulting XML document - everything worked fine. Personally I find this a bit strange, but who cares
Regards, Joerg -
Message-Split in a Sync Scenario
Hello Experts.
As i am quite new to Pi, i have some problems with an integration scenario we are about to implement. As i am not really into the topic, i do'nt even know, if the prefered solution can be implemented in PI or if our current approach is nonsense after all.
The currently preferred solution would look like this:
1.) The sender system collects the data and sends one message using a synchronous webservice call
2.) PI splits the message into n parts (one outgoing message per receiving system), sends the message-parts synchronously to the receiving systems, collects the response messages into one big message and sends this message as the response message for the webservice-call, the sender system made.
3.) The sender system receives the response message and updates the database.
The problem is, that i have no clue how to do a message-split in a Sync scenario. I already experimented with a message-split in Async scenarios and everything worked fine, but i have no idea, how to do the trick in a Sync scenario.
As the incoming message represents a table (only one kind of element; occurence 0...unbounded), i would have to do the following:
1.) Split the incoming message line by line (or childnode by childenode)
2.) Collect the lines for the single receiver systems (each receiver should get only one message)
3.) Send the messages
4.) receive the results
5.) Join the results into one response message / Handle timeouts, if a receiver could not be reached in time
6.) Send the response message to the sender system
When experimenting with the async scenario, i used BPM to split the message into parts, but an integration process seems to need asynchronous abstract interfaces. At least PI did not accept my synchronous message-Interface and even if it would do so, i would have no idea how to send the message parts synchronously and how to join the results.
Of course we could also send one record per message - in this case everything would be easy and clear, but unfortunatelly this is not the preferred solution, but the "Plan B"...
Does anybody know how to do what we want? Any suggestions would be highly appreciated.
And by the way: We are using PI 7.0.
Regards, JörgThanks for your reply.
I was already afraid, that the preferred approach could be a dead end. If the described scenario is impossible to implement, i could immagine two alternative solutions:
1.) Our "Plan B":
-> Single records
-> One record per message
-> Synchronous communication
PI would only have to do a quite stupid routing based on a certain field in the message.
2.) Something totally different:
-> Asynchronous communication
-> The sender still send the data for n receivers in one message
-> PI splits the message and sends the n parts to n receivers
-> The receiver sends a response after processing the data
-> PI simply forwards this message to the sender
I think scenario #2 could have a better performance, as the total number of messages is limited to the necessary minimum, but as i'm not experienced in PI, i'm not actually sure about this.
Any recommendations?
regards, Jörg -
SOAP sync to RFC - Multiple lines in the RFC 'input'
Hello everyone!
I need a little 'insight help'/opinion.
I had a cenario that was working just fine, SOAP Async to iDoc. In the cenario I received 1:n lines and send it to the iDoc. No problem at all.
Now, the analyst asked us to change this cenario to: SOAP Sync to RFC (I opposed that but.. it's their decision..)
So, I created a RFC with NO IMPORTING AND EXPORTING and 2 TABLES. One table to receive 1:n lines as inputs of the data, and other table to give 1:n line as response of the process of that line.(the RFC is remote, so can be used by PI)
When I test this RFC in R3 using transaction SE37, I am able to enter 1:n line in the input table, and get the 1:n line in the response table. And also, the data is inserted in my table. Perfect.
When I import and use this RFC in PI, everything seems to be fine during mapping procedures and such, but when I execute the SOAP call, I get an mapping error. I was able to see that:
1 - The Response from the RFC using PI is 'blank'. I mean, the mapping from the response of the RFC to my SOAP is 'null', that's why I´m getting the error mapping.
2 - Tha data WAS NOT inserted into the table using PI. This worries me more.
So, my question is, does PI understand the use of 2 tables (one as 'input' and other as 'output') from the RFC? - the RFC has no importing and exporting, only tables, as I've mentioned.
Also, is this what I am trying to achieve here, possible? I mean, can I expect to use a RFC with multiple line as 'input' or PI only accepts 'parameters' as input?
Thanks for the insight help!
Ricardo Sancio Lóra
Brazilbut when I map anything from the response to my output, I get the mapping error, but if I map something constant it
worked
Did you test the mapping in IR using the Test tab of Interface/ Message mapping? If it is working for Constant and not for runtime (or other) values then it means that the mapping logic is not proper.
But did you see when I say that the item was NOT inserted into the table in R3?
Now the last check-point in XI.....is your RFC channel showing proper payload in RWB --> Component Monitoring --> Adapter Engine --> CC Monitoring?
Regards,
Abhishek. -
RFC To SOAP With & Without ICO
Hi,
First Scenario RFC To SOAP (External Webservice) with ICO object is resulting with following error:
This error could be seen in Sender Communication Channel for Response message.
Error in processing caused by: com.sap.aii.adapter.rfc.core.server.RfcServerException: got unexpected document type:DOC_TYPE_UNKNOWN
I searched help for the same error in SDN forums there are only two links on the same topic:
1. DOC_TYPE_UNKNOWN
2. DOC_TYPE_UNKNOWN RFC -> XI ->Webservice
Didn't help me much to solve the issue:
Second scenario RFC To SOAP (External Webservice) without ICO object is executing fine.Any solution...
Have any one tried this scenario. Please let me know ur inputs to solve this issue.
Edited by: Praveen Kurni on Jan 6, 2010 11:16 AM -
BPM- scenario RFC - XI - receive file - - SOAP - return answer to RFC
Hello everybody,
I have the scenario
RFC call a BPM
In the BPM, I have to receive information from a file ( generated by another system 4 times in a day)
Mix the data of the file with the data of RFC
Send them a SOAP
send the reply to the RFC
My problem is : how to receive the file on demand because in file adapter ( sender ), the definition is only by interval of time?
Is there anybody who can help me?
Thanks in advance and best regards.
Eric.Hi Eric,
in sender file adapter, we just have polling interval - so in your receive step in BPM you have to wait for the source file.....
i do not think any other workaround will be feasible for your this case
Regards,
Rajeev Gupta -
Proxy to JDBC Synchronus with ccBPM
Hi Experts,
my scenario is : Proxy to JDBC Synchronus with ccBPM
we are fetting data from ECC to PI and same data inserting into DataBase Table Name : ABC via JDBC
after 2 mins i need to get same data from DataBase Table Name : ABC and sending back to ECC with ccBPM.
what are BPM steps required for this requirement and i need to handle the exception handling with control step also.
Table name is same Table Name : ABC in DataBase for request data and response data.
Please anybody help me on this requirement, i am new to BPM scenarios.
Thanks,
AadiHi,
Have you checked the JDBC XML request?, you need to check that the XML has all the company codes in the SELECT.
Regards.
Maybe you are looking for
-
Insufficient authorization for sales document
Insufficient authorization for sales document We are getting an error message as insufficient authorization in spite Sales Order fully approved. We are using Credit Card Processing without clearing house as payment process on sales order processing.
-
How to check my iphone warranty
how to check my iphone warranty
-
Does anyone know of a good screen capture utility for the TouchPad? Thanks! I found a thread answering this at: http://forums.hpwebos.com/t5/HP-TouchPad-Software-Hardware/How-to-collect-a-Screen-Capture-on-a-Touc... Woohoo
-
I would like to copy a workflow I created on my testing site and paste the workflow in to my production environment. I really don't want to rewrite the entire workflow over again in production.
-
My installation of Itunes to syne my iphone with PC was missing AppleApplicationSupport.msi after 2 installs how can I install such a file do you have a path for this