I generated web service from function module.Where can I find .wsdl file ?

Hi,
I generated web service from function module.
Where can I find .wsdl file ?
I want to use .wsdl file in .Net application.
Thanks.

Hii Cemil Bozlagan,
  All Remote enabled Function Modules in Web AS 6.20 and Above are available as Webservices and the WSDL documents are available in the web service repository at
[http://<host>:<port>/sap/bc/bsp/sap/webservicebrowser/search.html]
Find the respective BAPI.
Click on the WSDL link in the browser and download the WSDL document and use it as per the requirement
Regards,
Varun

Similar Messages

  • Urgent: Web Service from Function Module

    Hi guys, I am new to this area so please help to achieve following:
    I want to show a demo to load data from a web service to BI. I have performed the following steps and don’t know how to process further. Please help me in the sense where do I put the logic to show fields on the web service and ….
    1. I have created a web service data source in BI with four fields (Cal dat, material, amount and currency)
    2. This created a Web Service /RFC FM automatically.
    3. From this FM I created a web service (Utilities – create web service – from function module)
    4. I followed the web service creation wizard.
    Thanks,
    sam

    releasing and related steps are fine,
    what i want to know is, BW/BI datasource will create a FM, from this FM inturn I will create a webservice.
    Lets say BW/BI datasource has 4 fields account, company, amount & currency.
    I want to enter these 4 values from the webservice which will bring these values to BW delta queue and eventually get loaded in BW.
    For this process do I need to code anything in the FM or any other part of the system

  • Calling Web Service from Function Module

    dear all
    i am new to SAP.
    i have a web Service developed with .net and C#.
    i want to call this web Service from inside a function module.
    how can i do this ?
    thanks,

    Hi Ramzy,
    Please browse through chrome or sdn , there is a lot of documents and discussions, any how find the below URL, which might be helpful.
    Create an SAP Web Service Consumer (calling External Web Service from ABAP)
    Create a Function Module and full the below Code :
    Sample code :
    DATA: http_client TYPE REF TO if_http_client,
          host_str TYPE string VALUE 'www.myservice.in',
          service_str TYPE string,
          path TYPE string VALUE  'my path',
          errortext TYPE string. "used for error handling
    DATA  : wf_string1 TYPE string,
             lw_inputs TYPE string,
             error_text type string,
             subrc TYPE SY-SUBRC,
             lw_outputs TYPE  string.
    CALL METHOD cl_http_client=>create_by_url
      EXPORTING
        url                = 'myurl'
      IMPORTING
        client             = http_client
      EXCEPTIONS
        argument_not_found = 1
        plugin_not_active  = 2
        internal_error     = 3
        OTHERS             = 4.
      IF sy-subrc <> 0.
    *  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *             WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    CALL METHOD http_client->request->set_header_field
      EXPORTING
        name  = '~request_method'
        value = 'POST'.
    CALL METHOD http_client->request->set_header_field
      EXPORTING
        name  = '~server_protocol'
        value = 'HTTP/1.1'.
    CALL METHOD http_client->request->set_header_field
      EXPORTING
        name  = '~request_uri'
        value = 'mypath'.
    CALL METHOD http_client->request->set_header_field
      EXPORTING
        name  = 'Content-Type'
        value = 'application/soap+xml; charset=utf-8'."'text/xml; charset=utf-8'.
    CALL METHOD http_client->request->set_header_field
      EXPORTING
        name  = 'Content-Length'
        value = '19000'."txlen.
    CALL METHOD http_client->request->set_header_field
      EXPORTING
        name  = 'SOAPAction'
        value = 'myURL'.
    concatenate 'data u need sned' into wf_string
    CALL METHOD http_client->request->set_cdata
      EXPORTING
        data   = wf_string1
        offset = 0
        length = '19000'.
    Regards,
    Lokeswar.

  • Error while generating Web Service from a function module.

    Hi Experts,
    I am trying to create a web service from function module by doing the steps as mentioned in the below document:
    http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417800)ID1146834250DB10778842957931285337End?rid=/library/uuid/80fa3dff-ce76-2a10-3f94-f3df8f2db5a2&overridelayout=true
    When i save it as an local object instead of generating the Web Service it gives me the below error:
    "Error during activation of Web Service"
    Kindly let me know what needs to be done inorder to resolve this issue.
    I have a feeling that this error may be with respect to some authorizations, in that case how do we resolve it
    Helpful Inputs Awaited.!!!
    Thanks
    Dhwani

    Hi Dhawani,
    Hi Pavan,
    Can you please elaborate...how this will help??
    Thanks
    Dhwani
    I dont know the specific reason but internally there may some inconsistancy but i faced the same error and i tried with saving it in the package.
    Thanks

  • Have problem when generate Web Service from bapi function

    Dear all,
    Please kindly help me about generating Web Service from BAPI function, It does not success only this attached function.
    I have done so many function without any problems.
    I found 1 case that I use specific variable to be an import/ export then, it can't create as well.
    As for this one, I try so many changes but I can't success it as well.
    This is my function on R/3 4.6C, Dot net connector 2.0, Dot net Frame Work 1.1.
    FUNCTION Z_BAPI_ATTACHMENT_CREATE.
    ""Local interface: Type: Remote-enabled module
    *"  IMPORTING
    *"     VALUE(P_BOTYPE) LIKE  BORIDENT-OBJTYPE
    *"     VALUE(P_BO_ID) LIKE  BORIDENT-OBJKEY
    *"     VALUE(P_MSGTYP) LIKE  SOFM-DOCTP
    *"     VALUE(P_DOCTY) LIKE  BORIDENT-OBJTYPE
    *"     VALUE(P_RELTYP) LIKE  BRELTYP-RELTYPE
    *"     VALUE(P_FNAME) LIKE  RLGRAP-FILENAME
    *"     VALUE(P_OBJDES) TYPE  SO_OBJ_DES
    *"  EXPORTING
    *"     VALUE(RETURNMESSAGE) TYPE  CHAR50
    INCLUDE : <cntn01>.
    P_BOTYPE  TYPE  BORIDENT-OBJTYPE DEFAULT 'BUS2105'
    P_BO_ID   TYPE  BORIDENT-OBJKEY
    P_MSGTYPE TYPE  SOFM-DOCTP DEFAULT 'URL'
    P_DOCTY   TYPE  BORIDENT-OBJTYPE DEFAULT 'MESSAGE'
    P_RELTYP  TYPE  BRELTYP-RELTYPE DEFAULT 'ATTA'
    P_FNAME   TYPE  RLGRAP-FILENAME
    P_OBJDES  TYPE  SO_OBJ_DES
    TYPES: BEGIN OF ty_message_key,
    foltp TYPE so_fol_tp,
    folyr TYPE so_fol_yr,
    folno TYPE so_fol_no,
    doctp TYPE so_doc_tp,
    docyr TYPE so_doc_yr,
    docno TYPE so_doc_no,
    fortp TYPE so_for_tp,
    foryr TYPE so_for_yr,
    forno TYPE so_for_no,
    END OF ty_message_key.
    DATA : lv_message_key TYPE ty_message_key.
    DATA : lo_message TYPE swc_object.
    DATA : lt_doc_content TYPE STANDARD TABLE OF soli-line
    WITH HEADER LINE.
    First derive the Attachment's ( MESSAGE )document type.
    p_docty = 'MESSAGE'.
    CASE p_reltyp.
    In case of URls
      WHEN 'URL'.
        p_msgtyp = 'URL'.
    In case of Notes / Private Notes
      WHEN 'NOTE' OR 'PNOT'.
        p_msgtyp = 'RAW'.
      WHEN 'ATTA'.
    Take given parameter e.g. 'DOC', 'PDF' etc.
    P_MSGTYP = 'EXT'.
      WHEN OTHERS.
    ....exit
        EXIT.
    ENDCASE.
    Create an initial instance of BO 'MESSAGE' - to call the
    instance-independent method 'Create'.
    swc_create_object lo_message 'MESSAGE' lv_message_key.
    define container to pass the parameter values to the method call
    in next step.
    swc_container lt_message_container.
    Populate container with parameters for method
    swc_set_element lt_message_container 'DOCUMENTTITLE' p_objdes.
    swc_set_element lt_message_container 'DOCUMENTLANGU' 'E'.
    swc_set_element lt_message_container 'NO_DIALOG' 'X'.
    swc_set_element lt_message_container 'DOCUMENTNAME' p_docty.
    swc_set_element lt_message_container 'DOCUMENTTYPE' p_msgtyp.
    In case of URLs..it should be concatenated with &KEY& in the begining.
    CASE p_msgtyp.
      WHEN 'URL'.
      lt_doc_content = '&KEY&http://www.rmtiwari.com' .
        CONCATENATE '&KEY&' p_fname INTO lt_doc_content.
        APPEND lt_doc_content.
    In case of Notes or Private Notes, get the data from files on appl
    server or from wherever(? - remember background).
      WHEN 'RAW'.
        lt_doc_content = p_fname.
        APPEND lt_doc_content.
    In case of PC File attachments
      WHEN OTHERS.
        OPEN DATASET p_fname FOR INPUT IN BINARY MODE.
        IF sy-subrc EQ 0.
          DO.
            READ DATASET p_fname INTO lt_doc_content.           "2 of 27
            IF sy-subrc EQ 0.
              APPEND lt_doc_content.
            ELSE.
              EXIT.
            ENDIF.
          ENDDO.
          CLOSE DATASET p_fname.
        ENDIF.
    ENDCASE.
    'DocumentContent' is a multi-line element ( itab ).
    swc_set_table lt_message_container 'DocumentContent' lt_doc_content.
    Size is required in case of File attachments
    DATA : lv_doc_size TYPE i.
    DATA : l_file_lines TYPE i.
    DESCRIBE TABLE lt_doc_content LINES l_file_lines.
    READ TABLE lt_doc_content INDEX l_file_lines.
    lv_doc_size = ( 255 * ( l_file_lines - 1 ) ) +
    STRLEN( lt_doc_content ).
    swc_set_element lt_message_container 'DOCUMENTSIZE' lv_doc_size .
    Refresh to get the reference of create 'MESSAGE' object for attachment
    swc_refresh_object lo_message.
    swc_call_method lo_message 'CREATE' lt_message_container.
    Get Key of new object
    swc_get_object_key lo_message lv_message_key.
    Now we have attachment as a business object instance. We can now
    attach it to our main business object instance.
    Create main BO object_a
    data: LO_IS_OBJECT_A type SIBFLPORB. "type SIBFLPORB is unknown, so I
    DATA: lo_is_object_a TYPE borident.
    lo_is_object_a-objkey = p_bo_id.
    lo_is_object_a-objtype = p_botype.
    LO_IS_OBJECT_A-CATID = 'BO'.
    Create attachment BO object_b
    data: LO_IS_OBJECT_B type SIBFLPORB. "type SIBFLPORB is unknown
    DATA: lo_is_object_b TYPE borident.
    lo_is_object_b-objkey = lv_message_key.
    lo_is_object_b-objtype = p_docty.
    LO_IS_OBJECT_B-CATID = 'BO'.
    *TRY.
    *CALL METHOD CL_BINARY_RELATION=&gtCREATE_LINK
    EXPORTING
    IS_OBJECT_A = LO_IS_OBJECT_A
    IS_OBJECT_B = LO_IS_OBJECT_B
    IP_RELTYPE = P_RELTYP.
    CALL FUNCTION 'BINARY_RELATION_CREATE'
      EXPORTING
        obj_rolea    = lo_is_object_a
        obj_roleb    = lo_is_object_b
        relationtype = p_reltyp
      EXCEPTIONS
        OTHERS       = 1.
    Check if everything OK...who cares!!
    COMMIT WORK.
    if sy-subrc = 0.
      RETURNMESSAGE = 'S-Success'.
    else.
      RETURNMESSAGE = 'E-Error'.
    endif.
    ENDFUNCTION.
    Thanks in advance,
    Benjawan
    Edited by: Nitipat Chadchavalpanichaya on Oct 20, 2008 9:02 AM

    There is no any error message show up. It just the class
    Z_BAPI_ATTACHMENT_CREATE  doesn't create autometically as normal. I showed you as below.
    That means I can't call class z_bapi_attachment_create.
    ' <autogenerated>
    '     This code was generated by a SAP. NET Connector Proxy Generator Version 2.0
    '     Created at 21/10/2551
    '     Created from Windows
    '     Changes to this file may cause incorrect behavior and will be lost if
    '     the code is regenerated.
    ' </autogenerated>
    Imports System
    Imports System.Text
    Imports System.Collections
    Imports System.ComponentModel
    Imports System.Runtime.InteropServices
    Imports System.Xml.Serialization
    Imports System.Web.Services
    Imports System.Web.Services.Description
    Imports System.Web.Services.Protocols
    Imports SAP.Connector
      '@ <summary>
      '@ Client SAP proxy class
      '@ </summary>
      <WebServiceBinding(Name:="dummy.Binding", Namespace:="urn:sap-com:document:sap:rfc:functions")> _
      Public Class PRAttachment
        Inherits SAPClient
        '@ <summary>
        '@ Initializes a new PRAttachment.
        '@ </summary>
        Public Sub New()
        End Sub
        '@ <summary>
        '@ Initializes a new PRAttachment with a new connection based on the specified connection string.
        '@ </summary>
        '@ <param name="connectionString">A connection string (e.g. RFC or URL) specifying the system where the proxy should connect to.</param>
        Public Sub New(ByVal ConnectionString As String)
          MyBase.New(ConnectionString)
        End Sub
        '@ <summary>
        '@ Initializes a new PRAttachment and adds it to the given container.
        '@ This allows automated connection mananged by VS component designer:
        '@ If container is disposed, it will also dispose this SAPClient instance,
        '@ which will dispose a contained connection if needed.
        '@ </summary>
        '@ <param name="Cont">The container where the new SAPClient instance is to be added.</param>
        Public Sub New(ByVal Cont As Container)
          MyBase.New(Cont)
        End Sub
      End Class

  • Where can I find the file where the static mapping allocations of the DHCP server are stored?

    In our company we are using DHCP to assign static ip addresses to our clients.
    Now we are forced to change the ip address range. To prevent changing each allocation
    of mac-address to ip-address manually with the admin tool i would like to change the allocation
    in the file where the allocations are saved. The reason ist that i just have to use copy & paste for all
    the allocations.
    So how is the file named and where can I find the file where
    the static mapping allocations of the DHCP server are stored? Is it just an ASCII file?
    Must i note anything when i change the file manually?

    From man bootpd:
    BOOTP/DHCP STATIC BINDINGS
         Static IP address to ethernet address bindings are stored in the /etc/bootptab file and in Open Directory.  Bindings specified in the /etc/bootptab file take precedence over those in Open Directory.
         See bootptab(5) for more information about the /etc/bootptab file.
         For Open Directory, bootpd looks at the /Computers records for the following properties:
    /etc/bootptab is a standard text file, while the records in Open Directory can be manipulated either through the command line, or via Workgroup Manager.

  • Where can I find Icon files (*.ico) for using in forms

    Q) Where can I find Icon files (*.ico) for using in forms?
    Explaination: I am looking for icons for showing them in my application. Like I have an iconic button for 'Data Entry' option on Vertical Toolbar. Then one icon for Reports and Queries and so on. I need some icons which reflect the heading like for 'Data Entry', I would like a person working on a keyboard. For reports I would like to have a person reading a report or something like that.
    Can I find such icons on internet or any specific site?
    Pl. guide.
    TIA
    Tariq

    There are thousands and thousands of places on the internet to find .ICO files. Just find one with image and size you want, and use it.
    Note that if you are using web-deployed Forms, you will need to convert the .ICO file to .GIF or .JPG for runtime. The Forms Builder still uses .ICO files, though.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Where can i find .trn file location when i successfully take the back up of the database?

    Where can i find .trn file location when i successfully take the back up of the database?
    I accidentally deleted some records in my table, then i followed the procedure based up on this blog:
    "http://sqlbak.com/blog/recover-deleted-data-in-sql-server/"
    here it saying to find the .trn file, So here i am unable to find the .trn file where the location file i can found.
    Can some one help to find out of this issue.
    Ramesh S

    Hi,
    Try this select to check backup history:
    Select 
    r1.database_name, 
    r1.name, 
    (case r1.[type] when 'D' then 'Full database backup' when 'I' then 'Differential database' when 'L' then 'Transaction Log Backup' else r1.[type] end) as BackupType, 
    r3.physical_device_name, 
    r1.backup_start_date, 
    r1.backup_finish_date, 
    r1.backup_size, 
    r1.compressed_backup_size, 
    r2.is_compressed,
    r1.server_name, 
    r1.first_lsn, 
    r1.last_lsn 
    from msdb.dbo.backupset r1 
    inner join [msdb].[dbo].[backupmediaset] r2
    on r1.media_set_id = r2.media_set_id
    inner join [msdb].[dbo].[backupmediafamily] r3
    on r1.media_set_id = r3.media_set_id

  • Where can I find the files when I "Created iPod version"?

    I tried getting some of my video podcasts onto my iPod by using the "Create iPod version" but only audio plays. Where can I find these files so I can delete them and get them off my iPod?

    Select the movie in the iTunes Window (you should see it in Library > Movies) and ctrl-click or right-click it. Then select "Show in Finder" and you will see the File.
    Usually it should be located at
    Users > your home >Music >iTunes >iTunes Music > Movies >your movie name(iPhone & iPod).m4v
    if your library is managed by iTunes and located at the default place.
    But don't delete the movie in the Finder, delete from iTunes, otherwise you will be left with an inconsistent library.

  • After connecting the Hard Drive to the airport extreme, where can I find the file location in Windows 7

    After connecting the Hard Drive to the airport extreme, where can I find the File Location (to access my files from my Hard drive)

    Hi,
    Try this select to check backup history:
    Select 
    r1.database_name, 
    r1.name, 
    (case r1.[type] when 'D' then 'Full database backup' when 'I' then 'Differential database' when 'L' then 'Transaction Log Backup' else r1.[type] end) as BackupType, 
    r3.physical_device_name, 
    r1.backup_start_date, 
    r1.backup_finish_date, 
    r1.backup_size, 
    r1.compressed_backup_size, 
    r2.is_compressed,
    r1.server_name, 
    r1.first_lsn, 
    r1.last_lsn 
    from msdb.dbo.backupset r1 
    inner join [msdb].[dbo].[backupmediaset] r2
    on r1.media_set_id = r2.media_set_id
    inner join [msdb].[dbo].[backupmediafamily] r3
    on r1.media_set_id = r3.media_set_id

  • When I click "about this mac" to check on my storage, I get a number of different sections music, movies, etc. but also I get a section called backups, where can I find the files in this section?

    When I click "about this mac" to check on my storage, I get a number of different sections music, movies, etc. but also I get a section called backups, where can I find the files in this section?

    Welcome to Apple Support Communities
    All the storage in "Backups" is taken up by local snapshots, which are made automatically in all MacBooks, MacBooks Pro and MacBooks Air with OS X Lion or newer and Time Machine turned on.
    See > http://pondini.org/TM/30.html I recommend you to leave them there, because they will be removed automatically. However, if you want, you can disable or remove them manually if you want, even if there's no reason to do this. Have a look at the link above for more information

  • Where can I find the file Photoshop .exe in CS6/Windows 7 please?

    Where can I find the file Photoshop .exe in CS6/Windows7 ?  It is not in the usual place.

    Click on the Start button.
    Type Photoshop into the search field.
    "Adobe Photoshop CS6" will be listed, probably at the top.
    Hover your mouse over the words Adobe Photoshop CS6 - the location will be displayed.
    To open the folder containing Photoshop.exe , with your secondary mouse button, click on "Adobe Photoshop CS6" and select "Open file location".

  • Where can I find the file sizes for each application before downloading?

    Where can I find the file sizes for each application before downloading? I have limited download (525 MBs/day) because of Hughsnet and I need to know each applications total size before I download.

    You can go to the trial page to get an estimated size.  As the Creative Cloud products change over time though this may become less accurate.
    If you are on a limited bandwidth account then you may want to consider purchasing a perpetual copy of Creative Suite 6 as opposed to subscribing to the Creative Cloud.

  • Where can i find the file manager of yendo?

    where can i find the file manager in yendo phone(sony ericsson)

    I do not think there is a default file manager in the Yendo.
    I think you have to connect your phone via the USB cable to the PC in Mass Storage Mode and use the PC file manager.

  • I installed a game, where can i find the files and maps? where does iMac store this data?

    I installed a game,Now I need to add some files however, I cannot find where iMac stores it.. where can i find the files and maps? where does iMac store this data?
    thx alot
    erik

    Depends on game, i would look first on the game file itself, right click (or ctrl click) the game file you installed (Applications?) and select show package contents, its usually a application bundle, as in basicly a folder where the application and the required files and subfolders are.

Maybe you are looking for

  • AppleShare error message when connecting to network in Classic

    I have been using an old PowerPC Macintosh 7300/166 as a file server connected by ethernet cable to a 15" PowerBook G4 running OS X (10.3.9) in Classic without problems. However on updating to 10.4.8 I get the message "AppleShare system error" after

  • How to come out of loop at last record?

    As I told in my previous posts,Iam transferring data from excel to zgkmaster tabel table structure: eid ename First I did SHDB(recording) and then made my BDC program.There are 10 records in table with names gopi,hari,rajesh.... with eid 1 to 10.My t

  • Can't access my Mac files (Users/.../Documents for instance) from Bootcamp

    Hi everyone, From Windows XP with Bootcamp 3.0, I can't access my Mac users files whereas I can access folders being at the root of the Mac OS partition. Size mismatch? (my windows partition's size is 32 go and my users folder is much larger) Thanks

  • Has anyone solved or worked around the After Effects CC red flash frame glitch?

    I can't find any mention on any forums of the After Effects CC red flash frame glitch later than Feb. 2014. I just installed 12.2 (which was my first CC version) on my macpro and started getting the red flash frames randomly, but with increasing freq

  • Changing variant in FBL5N

    Hi all, In FBL5N (Customer line item display), users would like to change and save a variant but they are not authorized. Which authorization object allows changing and saving a variant? Thank you very much, Annabelle