Web Service To File Scenario In Sap Pi Xi

Posted on  by  admin

Hi,I've been through a lot of documentation about configuring a simple scenario of rfc to webservice using sap PI/XI and I'm always facing some problems when I try to create the communication channels.Imagine that I want to use a rfc from an SAP system and I'm trying to invoke a web service from the following website.If I try to create the sender communication channel (rfc adapter) it's all OK. But when I create the receiver communication channel (SOAP adapter) I realize I don't have any technical and/or business systems created and I'm not really sure how to create them.Does anyone know how to create the technical/business systems for this case? I'm assuming they're necessary to complete the design of this rfc to web service scenario.Thanks in advance.Regards,Ricardo. But when I create the receiver communication channel (SOAP adapter) I realize I don't have anytechnical and/or business systems created and I'm not really sure how to create them.Does anyone know how to create the technical/business systems for this case? I'm assuming they'renecessary to complete the design of this rfc to web service scenario.you dont need to create a Business System for this scenario.what you need is a Business Service (called as receiver service for your scenario).create it in ID.assign the receiver MI to this service in the receiver tab and then do the configurationEdited by: abhishek salvi on May 5, 2009 1:28 PM.

XI/PI: A Guide to Using SAP XI/PI SOAP Adapter In this article we will discuss the usage of SAP XI SOAP Adapter. The SOAP adapter enables communication via web services, Proxy services(PI7.11) with ECC. A Web service user is called a service requester who uses the web service with the help of a web browser. In a common scenario, a service requester is an application that access Web service. An application takes all the necessary details to access a Web service from service explanation and these facts is maintained in the service archive.

If you have gone through the and decided to start learning XI, this article will help you create your first XI scenario. You will understand the concepts better since do-it-yourself is always the best approach rather than simply reading through. I assume that you have read the and are by now fairly familiar with the architecture of Exchange Infrastructure. I shall still introduce the different components of XI Architecture in course of this example.The ScenarioA custom XML document containing certain data is picked up from the file system by file adapter. The message is mapped to IDoc-XML format and then routed to the IDoc adapter. A custom IDoc is posted into the partner R/3 system by means of a call to an inbound function module.

Data is updated into custom DDic tables in the R/3 system. A custom IDoc type ZRZORDER and message type ZRZSOMT have been defined in target R/3 system.Overview of DDic tablesCustom IDoc ZRZORDER contains three segments to hold the data records of these tables.

If you haven’t already created, create three data dictionary tables as shown below:In this example we are using a custom IDoc. However, you may use any existing IDoc to try out this scenario. To understand how to create a custom IDoc, refer to my post on.System Landscape DirectorySLD stores information about different systems involved in the Integration Landscape. It also helps administer the software components and their usage dependencies on each other. The products, software component and dependency information (collectively called Software Catalog) is used by the Integration Repository while the systems or the landscape information (Technical Landscape and Business Landscape) is used by the Integration Directory. Technical Landscape contains Technical systems, which store the technical information about software systems like the physical host where it is installed.

Business Landscape contains Business Systems which is nothing but a business-specific wrapper to a technical system. Every Business System points to a Technical System. For example, an SAP system would be defined as a Technical System of type Web AS ABAP while a particular client on this system could then be defined as a Business system.

This Business system would thus point to its Technical System. Hi Riyaz,Months ago you’ve been a good help for me, so i need u one more time.I’m developing an interface that runs several times from SAP to other system and from other system to SAP. Well, the adapter should be SOAP, or SOA, i don’t have it clear at all.The problem is that the XML that goes from SAP SRM Portal to the other system should use a user and pasword to access in the second system, ok? I mean:-Interface goes from SAP to a “system”-several users can try to log in the target system.-A requirement of the second system is to be logged with the user and pwd per person that tries it.– i need to add a header like this:ZoeIloveDogs4sample, so, i don`t know how it works, where should i fill this header? Can i create it in the source XML file? Can it be added in the CommChannel as a propperty?Thanks and best regards.

Passing passwords in XML would be risky. Instead, you can maintain a service user who logs into the target system on behalf of all the users. This service user can be maintained in the adapter configuration.If you want to track which user actually initiated the transaction, you can add a reference field in the XML.

This field would contain the actual username. Whether or not a particular user has authorization to access the system can be checked through mapping lookups or by similar means from within PI. If a user does not have authorization, you can terminate the message processing.

Web Service To File Scenario In Sap Pi Xi 2

Sciha,You need to create business system and technical systems for your R/3 system. You can do this automatically by executing the transaction RZ70 on your R/3 system. Provide the gateway information of your PI system. The technical system will be of type ‘Web AS ABAP’.The products/SWCV you created for legacy system are different from this. You should create a separate business system and technical system to represent the legacy system. This technical system would generally be of type ‘Third Party’ and can be created manually in SLD as explained in the above article. Thanks Riyaz’I’m making a RFC to RFC integration just to test if my PI is working okay but when i tried to run the function module on the ECC side i’ve encountered this problem on my sender comm.

Web service to file scenario in sap pi xi meaning

Web Service To File Scenario In Sap Pi Xic

Chann.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, direction INBOUND, fromParty ”, fromService ‘COMCICSCONNECT’, toParty ”, toService ”, interface ‘GWYREADCONNECTEDSYSTEMS’, NS ‘urn:sap-com:document:sap:rfc:functions’ for channel ‘CCFROMSAP’ (channelId 056caa338a3738a6b6433f639db11da4)is it because i haven’t yet fully configured my SAP ECC system connection to PI?btw i’ve followed this scenario for the rfc testing. Hi, good website about SAP PI. I’m also just involved in a project relatedto SAP PI. Unfortunately i’m on customer site (means most of the project isdone by our vendor), my main job more towards on Abap work load task. Myexprience with SAP PI only created an abap code where the programme willdownload some data into mysql using JDBC adapter.currently i’m gain interest to learn create a simple programme from A to Z,from created an abap programme, setting PI connection until on web service(maybe implement a simple web using PHP and Mysql since i also have basic inthat language). Hopefully by can find more on your website. Keep on yourgood job!My Latest Abap Post.

Coments are closed