Skip to Content
author's profile photo Former Member
Former Member

Is it possible to create WEB SERVICE in SAP 4.7??

Hi folks,

Is it possible to create WEB SERVICE in SAP 4.7??

Thanks

smita

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 17, 2008 at 04:21 AM

    hi sir,

    Yes you can.

    approach one:

    from se80 open any bsp application , double clikc on a page and in the properites tab of the page you can find the server:port details.

    approach 2.

    use the following FM

    CALL FUNCTION 'TH_GET_VIRT_HOST_DATA'

    EXPORTING

    protocol = 1

    virt_idx = 0

    LOCAL = 1

    IMPORTING

    hostname = server

    port = port

    EXCEPTIONS

    not_found = 1

    internal_error = 2

    OTHERS = 3 .

    there are couple of excellent weblogs by Thomas Jung on this subject.

    Developing ABAP websevice

    /people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices

    Consuming webservice from ABAP

    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap

    and check out the all the other webservice related and other weblog by Thomas

    /people/thomas.jung3/blog

    here is the documentation of the was 6.20

    https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=WebAS_620.htm

    Alos try the Developer Areas -> Web Application Server -> Web Services.

    With 6.20 every function module that is rfc enabled is exposed automatically as web service. for example if you have a FM named ZTEST you can access the wsdl for that service via http://<hostname>:<portnumber>/sap/bc/soap/wsdl11?services=ZTEST&sap-client=<client>&sap-user=<username>&sap-password=<password>

    where hostname = server name, portnumber = 8001 for example (to check from http port parameter), client/username and password from the R3 system

    thanq

    if found useful please award points.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 17, 2008 at 04:26 AM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.