on 02-03-2011 2:40 PM
Hello,
Situation is:
BAPI is imported in SAP PI from SAP R/3 system.
The BAPI will be used for R/3 as Sync.Receiver.
A Web Application should connect to SAP PI with the same message structure for request and response.
So the idea is to publish the BAPI interface as a WSDL for this partner.
But when doing this in Directory SAP PI does not offer BAPIs as Interfaces for WSDL, only message interfaces created
in Repository are offered.
BAPIs are interfaces per definition. So we dont need a message interface to add the BAPI to it.
Maybe this woin t work anyhow with a SAP system.
But how to use the BAPI for a WSDL?
Is it required to create an interface for this purpose and add this one in the Directory WSDL create function?
Best regards
Dirk
you cannot create a WSDL direct from RFC or IDoc. But you can create a service interface based on the RFC or IDoc as message type, so you can forward the message without mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Meinhard,
There are more ways to get where you want to go, some are mentioned above.
You can also do the following:
1) From the BAPI you create the Webservice in R3 (as described in the link from pavan kumar)
2) Go to trx SOAMANGER (in R3) and get the URL for the WSDL
3) Import the WSDL in PI as an External Definition (ED)
4) Now you create an INBOUND, synchronous, service interface with the external definition.
5) After saving the SI you can create a matching Outbound service interface (it's a menu option)
Now you can use these service interfaces in the Integration directory.
You can even create an ICO (integrated configuration) provided you use SOAP communication channels.
kr
Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>But how to use the BAPI for a WSDL?
>>>Is it required to create an interface for this purpose and add this one in the Directory WSDL create function
As Stefan mentioned, first import RFC in PI as message type. Then create service interface for this. Use Integration Directory to create wsdl for the service interface. Now you can have webservice that has RFC's request and response structure
Hope you understand.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dirk,
>>But how to use the BAPI for a WSDL?
you can get the WSDL form - the Directory WSDL create function?
Thanks
Agasthuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dirk,
--> If you want to use BAPI as WSDL refer the below link
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0a53caf-bf0e-2e10-45b9-ba5a63eb810e
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.