cancel
Showing results for 
Search instead for 
Did you mean: 

SAP objects into Webservices

Former Member
0 Kudos

Hello Experts,

Can anybody guide me to explain how to convert the SAP objects into webservices.

For example, convert Leads in SAP to be exposed as webservices.

Thanks,

Vijay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Vijay,

As of Web Application Server 6.40 SAP has supported the concept of Web services, comprising a framework for processing ABAP and Java programs and basic functionality for communications,transction handling, database access, and other functions.

You can explore for webservices for ERP or CRM in the Enterprise service Repository,and you can test the Webservices there it self, you can consume

your web serive using Visual composer or PI7(Process Integration) in the Landscape.

or else you can use your Discovery system to see the full functionlity of SOA concept.

regards,

Muralidhar Prasad Chatna

Former Member
0 Kudos

Folks,

Thanks for reply,

I understand that as of 6.40, there is a support for Web Services.

Let me explain me the scenario where exactly we require this. We are ISVs who communicate with back-end, ex. SAP CRM, via http using SOAP/XML requests. When we fire a SOAP/XML request to the back end systems we send the following detail in the SOAP envelope: URL, Login Id and Password and the query information.

Few questions:

Where do we register the URL in the SAP?

Can anybody help me locate the Enterprise Service Repository?

Thanks,

Vijay

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Vijay,

I think you have strayed into a wrong forum. Before I direct you to the right forum, here is some warm up information you can use.

<h5>[Deep Dive into the Enterprise Services Repository|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0f90f22-678c-2a10-91a0-f1f1bf7ff191]</h5> Check the [Orgainzation of ESR Content |http://help.sap.com/saphelp_nwpi71/helpdata/en/80/41d6fab68dca439063d16e7a1875dc/content.htm]which might answer your current question.

Now here is the link to the forum <h5>[ESR Forum|;</h5>

Hope this helps. If you need any further help, feel free to ping.

Easwar Ram

http://www.parxlns.com

Former Member
0 Kudos

Ram,

Thanks for the reply. Following explains your words "I think you have strayed into a wrong forum"

Well, I am looking for the ways to convert SAP CRM standard objects to Web Services using XIF Adapter. I have some documentation available from the following links:

Link: [url] http://help.sap.com/saphelp_nw04/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm

SAP explains that standard objects are exposed as Web Services. However, this documentation doesn't explain the exposure of standard objects.

My question is: How do I convert the standard SAP CRM object to Webservices and Which interface helps me in seeing the request and response without the help of SAP J2EE engine and SAP XI?

Thanks

Vijay

Former Member
0 Kudos

Hello,

Quick answer to find the standard services without J2EE Engine or XI there is a BSP application that can be used to list the Web Services.

http://<host_name>:<port_number>/sap/bc/bsp/sap/WebServiceBrowser/search.html?sap-client=<relevant_c...;

See this link: [Generating WSDL in SAP WebAS|http://help.sap.com/saphelp_webas620/helpdata/en/94/f8c8c8e68811d6b2dc00508b5d5211/content.htm]

Detailed answer

Classical way of creating Web services in ABAP stack is easy. If you are familiar with SAP RFC (Remore Function Calls), every RFC enabled Function Module can be "published" as a web service. The trick is the SOAP (runtime) service available since WAS 6.20. See the [Basic Concepts of SAP SOAP runtime|http://help.sap.com/saphelp_webas620/helpdata/en/94/f8c8a2e68811d6b2dc00508b5d5211/content.htm] here.

So, literally you don't have to anything to "generate" web services for "standard objects" - if BAPIs and RFC enabled FMs are those standard objects you are looking for.

To enable the use of Web Services in external tools, a description of the interface must exist in the Web Service Description Language WSDL. - This is common knowledge right?

In the SAP Web AS, you can generate these descriptions using the Web Service Browser, which is a BSP application.

You can access the Web Service Browser using the URL:

http://<host_name>:<port_number>/sap/bc/bsp/sap/WebServiceBrowser/search.html?sap-client=<relevant_c...;

Trick to find the <host_name>, <port_number> and <relevant_client>:

You can determine values of host_name and port_number in transaction SMICM (choose GoTo -> Services or Shift - F1.

Hope this is very useful.

Easwar Ram

http://www.parxlns.com