2013 Aug 05 9:34 AM
Hi All,
I am new to work on web-services in ECC system.
I need to create a web-service for the request which contains the sales order number from the third party system and
give all the details about sales order (like billing and delivery details) as a response.
I need details about,
i. System configuration and settings required for creating the web-service
ii. In the Remote enabled function module, how will we get the URL of third-party system which contains the request(SO number)?
iii. Steps to get the SO details based on the request (SO number) - Methods used to get SO number from the URL request and how to process it further to get the details as a response
iv. In what way will we give the response (Which contains the SO details) back?
Please guide me on this.
With Regards,
Gurulakshmi
2013 Aug 05 9:38 AM
2013 Aug 05 10:05 AM
Hi,
As my concern you need "Synchronous" Communication , mean two way communication or sending some information to sap using web service and receive some Related information from sap in your non-sap application .
In SAP Side you need to Create one Custom RFC FM with Import / Export Parameter , In RFC is One way where you Communicate Synchronous Mode with Non-Sap application .
1 : Create Custom RFC FM with Import / Export Parameter.
2 : Create Web service and generate WSDL File (One web link find in this WSDL File ).
3: Give that WSDL File to your Non-SAP Developer to deploy in Non-SAP Code(i.e. Java,.Net etc..) .
4: Test your WSDL File working Fine using SOAP UI Software (it is easily available in google) .
Regard's
Smruti
2013 Aug 07 6:55 AM
Hi,
You have different options to build and consume a web service for Point to Point scenario you can follow below
SAP delivers standard enterprise services which may meet your business requirements and can be found in esworkplace
or You can model a service in PI/XI and implement(business logic) the proxy in ECC by wrapping a standard FM or BAPI or custom business logic
http://wiki.sdn.sap.com/wiki/display/ABAPConn/ABAP+Connectivity++-+Web+Services+ABAP
or if you have identified any standard RFC or BAPI it can be consumed has a webservice
Thank You
Regards
Goverdhan Totawar