Error:Creating websevice out of a BAPI

Hi all,
  When i create a websevice out of a Bapi,following error is incurred
"Connection couldn't be recreated: 1 cause: Encountered invalid managed connection, last cause Couldn't execute interaction.  2 cause: Couldn't execute interaction. "
Any solution for the error?
Regards,
Dinesh

Hi Dinesh ,
<b>Please follow these Steps to create a Webservice out of a BAPI :</b>
<b>Prerequisites :</b> Version SAP 6.4 & above
1. Log into your SAP System - Enter (Client , User ID , Pwd)
2. Enter the Transaction SE37
3. Enter the name of the BAPI you want to convert into Webservice
    For EX : BAPI_BANK_GETLIST
4. Click Display
5. In the Menubar > SelectUtilities > More Utilities > Create Webservice >
    From the Function Module .
6. The Webservice Wizard Opens
7. Select Continue
8. Enter the Virtual Interface Name & Description ( User Defined )
9.  Select Endpoint : Function Module
10. Check NameMapping
11. Choose Function Module, Select Continue
12. Enter the Webservice Name & Description ( User Defined )
13. Select Profile BASIC Authorization : SOAP Pro
14. Select Continue , This will create a Webservice out of the BAPI
15. Choose a Standard Package where you want the Webservice to be parked.
16.To find the address of the Web service, use the transaction WSCONFIG, which supports you when you publish a Web service in the UDDI.
17.Enter WSADMIN transaction to open Webservive Administration for SOAP runtime.
18. Under SOAP Application for BAPI's , select your Webservive and Click on WSDL Generation Button ( Last Button among 4 Buttons - Below Title )
19. Select RPC and OK.
20. Please Enter your User Id & Password of the SAP system you are working on.
The WSDL is created for the Webservice.
<b>Thus the WebService is Created out of the BAPI.</b>
Hope this helps you very much
Regards,
Santhosh

Similar Messages

  • Creating Webservice out of a BAPI

    Hi all,
          I need to make WebService out of a BAPI.
          Hence I want the procedure to do it.Helpful Links are also Welcome.

    Hi Dinesh ,
    <b>Please follow these Steps to create a Webservice out of a BAPI :</b>
    <b>Prerequisites :</b> Version SAP 6.4 & above
    1. Log into your SAP System - Enter (Client , User ID , Pwd)
    2. Enter the Transaction SE37
    3. Enter the name of the BAPI you want to convert into Webservice
        For EX : BAPI_BANK_GETLIST
    4. Click Display
    5. In the Menubar > SelectUtilities > More Utilities > Create Webservice >
        From the Function Module .
    6. The Webservice Wizard Opens
    7. Select Continue
    8. Enter the Virtual Interface Name & Description ( User Defined )
    9.  Select Endpoint : Function Module
    10. Check NameMapping
    11. Choose Function Module, Select Continue
    12. Enter the Webservice Name & Description ( User Defined )
    13. Select Profile BASIC Authorization : SOAP Pro
    14. Select Continue , This will create a Webservice out of the BAPI
    15. Choose a Standard Package where you want the Webservice to be parked.
    16.To find the address of the Web service, use the transaction WSCONFIG, which supports you when you publish a Web service in the UDDI.
    17.Enter WSADMIN transaction to open Webservive Administration for SOAP runtime.
    18. Under SOAP Application for BAPI's , select your Webservive and Click on WSDL Generation Button ( Last Button among 4 Buttons - Below Title )
    19. Select RPC and OK.
    20. Please Enter your User Id & Password of the SAP system you are working on.
    The WSDL is created for the Webservice.
    <b>Thus the WebService is Created out of the BAPI.</b>
    Hope this helps you very much
    Regards,
    Santhosh

  • Error while creating Move-Out

    Hello Everyone,
    i am facing a issue while creating a Move-out  using EC55E
    i am getting a error which says
    You have attempted to create the customer contact move-out created or move-out created (upon move-in notification). An error occurred during reading of the customer contact configuration.
    Error Message no eq323
    Any helpful insights???
    Regards
    Ramesh Rangarajan

    This earlier post was created for the same issue.
    Error in Move Out | SCN
    Sorry heres the full path as requested...
    -> Financial Accounting
    -> Contract Accounts Receivable and Payable
    -> Basic Functions
    -> Customer Contacts
    -> Define Configuration Determination
    Hope this can solve your issue.
    Regards
    Olivia

  • How to create timed out error

    Hi All,
    I want to create a timed out error as I need it for testing some code.
    I am using "Wait" statement to make it wait more than the set run time, but its not working.
    Can some one give me a code snippet to create timed out error.
    Thanks and Regards
    Ankit.

    hi,
      take a two variables of type sy-uzeit.
    at the beginning of the program..
      v_starttime = sy-uzeit.
    loop at itab.
    v_difference = sy-uzieit - v_starttime.
    if v_difference > 100.
    raise execption TIMED_OUT.
    endif.
    endloop..
    THANKS
    Mahesh

  • Creating Move-Out Document by Program

    Hi,
    For an ISU Contract, I need to create Move-Out document programatically. Which BAPI or Function Module should I use regarding this purpose.
    I used BAPI_ISUMOVEOUT_CREATEFROMDATA to create Move-Out doc, but its generating it, but not updating them Contract. Even if I try to see the generated document in EC57, it gives an error that no document exists.
    Regards
    Pulokesh
    Edited by: Pulokesh Karmakar on Jul 12, 2010 4:29 PM

    Hi,
    you used a custom Web ADi integrator (XXFA_TEST).
    I think you have a grants problem, therefore with assigment of the system administrator, no problems exists.
    Have a look in the Web ADI Implementation Guide
    e.g. for R12.0.4 http://download.oracle.com/docs/cd/B40089_09/current/acrobat/120bneig.pdf
    Dirk

  • Error creating CONTROL FILE

    I have a problem while installing 9iAS R2 on RH LInux 8.
    When database configuration assistant starts during the installation of 9iAS infrastructure, it gives an error "Error creating CONTROL FILE" followed by many other errors.
    Please help me out.
    Zulqarnain

    I had the same problem, but with RH9
    To fix, I ran orapwd from the $ORACLE_HOME/bin directory to create a password file called orapw. Then I moved this file to the directory where the configuration assistant complains it cannot find the file. Fixed. Obviously, just ignore the errors from the configuration assistant about the CONTROL FILE until it tells you the location of the file it is looking for.

  • OATS: Error Creating datasource client connection

    Hi All
    When i try to add montiors in the OATS controller machine i am getting the following error .
    Error while creating datasource client connection.
    i am trying to monitor a linux machine. I am able to ping that machine from controller.
    when i tried to do
    plink.exe username@hostname i am getting the following error ...
    FATAL error : Network error : Connection timed out..
    Can anyone please help me on this??
    Thanks

    I'm not sure if this is the same problem but the following thread may help (mentioning the ports that may need opening on your firewalls)...
    Re: What are the various ports used by OLT?
    oracle.port.rmi=4444
    oracle.port.http=8088
    oracle.port.empstart=9001
    oracle.port.uil2=7071
    oracle.port.dataCollector=7073
    oracle.port.webservice=8083
    oracle.port.jndi.rmi=1098
    oracle.port.jndi=1099
    oracle.port.https=8433
    * 9001 (Agent Comunication Port)
    * 1099 (Datacollector Comunication Port)
    * 8088 (for running OpenScript scripts)

  • Realignment showing multilevel error propagation carried out and

    While executing realignment table it is showing  following :-
    Realignment showing multilevel error propagation carried out
    Realignment of live cache time series aborted
    Have seen all consistency checks and everything is fine no alerts received.
    Please suggest
    vikas

    Hi Vikas,
    I am assuming that you have maintained the Realignment table properly meaning you have only the necessary entries and removed all unwanted entries. Having assumed that the other reason why this error can come up is when you try to realign more than 1 Characteristic Value in the same table entry.
    For Example.
    Let us you have 3 Characterstics viz, product, location,customer.
    If for Product P1, you are trying to change the location from L1 to L2 and customer from C1 to C2 then there is a possibility such an error might occure.
    In such cases we need to create 2 entries as follows
    1) P1 L1 C1 to P1 L2 C1
    2) P1 L2 C1 to P1 L2 C2.
    It is better to avoid Multiple characteristic changes in a single step.
    Hope this helps.
    Thanks
    Mani

  • How to create the sales order using BAPI's ....?

    Hi Guru's,
    could you please provide how to create the sales order using BAPI's .....i need step by step process and please provide the details from scratch....basically  i don't have basic knowledge on this....please provide required inputs ....:)
    thanks in advance
    Srinivas......

    Hi Guru's thanks for your inouts and your valuble time...
    please find the program logic below...
    *& Report  ZAREPAS30
    REPORT  zarepas30.
    DATA : gs_vbeln                   TYPE  vbak-vbeln,
           gs_order_header_in         TYPE  bapisdhd1,
           gs_order_header_inx        TYPE  bapisdhd1x,
           gt_order_items_in          TYPE  STANDARD TABLE OF bapisditm,
           gwa_itab1                  TYPE  bapisditm,
           gt_order_items_inx         TYPE  STANDARD TABLE OF bapisditmx,
           gwa_itab2                  TYPE  bapisditmx,
           gt_order_partners          TYPE  STANDARD TABLE OF bapiparnr,
           gwa_itab3                  TYPE  bapiparnr,
           gt_return                  TYPE  STANDARD TABLE OF bapiret2,
           gwa_itab4                  TYPE  bapiret2.
    Sales document type
      PARAMETERS: p_auart TYPE auart OBLIGATORY.
    Sales organization
      PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
    Distribution channel
      PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
    Division.
      PARAMETERS: p_spart TYPE spart OBLIGATORY.
    Requested Delivery Date
      PARAMETERS: p_edatu  TYPE edatu OBLIGATORY.
    Sold-to
      PARAMETERS: p_sold  TYPE kunnr OBLIGATORY.
    Ship-to
      PARAMETERS: p_ship  TYPE kunnr OBLIGATORY.
    Material
      PARAMETERS: p_matnr TYPE matnr   OBLIGATORY.
    Quantity.
      PARAMETERS: p_menge TYPE kwmeng  OBLIGATORY.
    Plant
      PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
    Start-of-selection.
      START-OF-SELECTION.
    Header data
    Sales document type
      gs_order_header_in-doc_type = p_auart.
      gs_order_header_inx-doc_type = 'X'.
    Sales organization
      gs_order_header_in-sales_org = p_vkorg.
      gs_order_header_inx-sales_org = 'X'.
    Distribution channel
      gs_order_header_in-distr_chan  = p_vtweg.
      gs_order_header_inx-distr_chan = 'X'.
    Division
      gs_order_header_in-division = p_spart.
      gs_order_header_inx-division = 'X'.
    Reguested Delivery Date
      gs_order_header_in-req_date_h = p_edatu.
      gs_order_header_inx-req_date_h = 'X'.
      gs_order_header_inx-updateflag = 'I'.
    Partner data
    Sold to
      gwa_itab3-partn_role = 'AG'.
      gwa_itab3-partn_numb = p_sold.
      APPEND gwa_itab3 TO  gt_order_partners .
    ship to
      gwa_itab3-partn_role = 'WE'.
      gwa_itab3-partn_numb = p_ship.
      APPEND gwa_itab3 TO  gt_order_partners .
    ITEM DATA
      gwa_itab2-updateflag = 'I'.
    Line item number.
      gwa_itab1-itm_number = '000010'.
      gwa_itab2-itm_number = 'X'.
    Material
      gwa_itab1-material = p_matnr.
      gwa_itab2-material = 'X'.
    Plant
      gwa_itab1-plant    = p_plant.
      gwa_itab2-plant   = 'X'.
    Quantity
      gwa_itab1-target_qty = p_menge.
      gwa_itab2-target_qty = 'X'.
      APPEND gwa_itab1 TO gt_order_items_in.
      APPEND gwa_itab2 TO gt_order_items_inx.
    Line item number.
      gwa_itab1-itm_number = '000020'.
      gwa_itab2-itm_number = 'X'.
    Material
      gwa_itab1-material = p_matnr.
      gwa_itab2-material = 'X'.
    Plant
      gwa_itab1-plant    = p_plant.
      gwa_itab2-plant   = 'X'.
    Quantity
      gwa_itab1-target_qty = p_menge.
      gwa_itab2-target_qty = 'X'.
      APPEND gwa_itab1 TO gt_order_items_in.
      APPEND gwa_itab2 TO gt_order_items_inx.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
      EXPORTING
        order_header_in               = gs_order_header_in
        ORDER_HEADER_INX              = gs_order_header_inx
      IMPORTING
        SALESDOCUMENT                 = gs_vbeln
      tables
        RETURN                        = gt_return
        ORDER_ITEMS_IN                = gt_order_items_in
        ORDER_ITEMS_INX               = gt_order_items_inx
        order_partners                = gt_order_partners.
    Check the return table.
      LOOP AT gt_return into gwa_itab4 WHERE type = 'E' OR type = 'A'.
        EXIT.
      ENDLOOP.
      IF sy-subrc = 0.
        WRITE: / 'Error occured while creating sales order '.
      ELSE.
    Commit the work.
      CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
        WRITE: / 'Document ', gs_vbeln, ' created'.
      ENDIF.

  • Time machine backup fails; error creating folder. Western Digital drive requires password which is perhaps/likely the issue. I can't eliminate the password/encryption.

    Time Machine backup fails on new WD external drive (My Passport Studio); error creating folder (after several hours of Time Machine apparently working).
    Background: I purchased a Western Digital drive from an Apple Store to use for Time Machine backup.  I followed the Western Digital instructions that came with the drive for Mac. I didn't get the Time Machine prompt which the instructions indicated I would receive--namely to select whether I want to encrypt my Time Macine backups. (I already have a Time Machine backup I use at another location, which is perhaps why I didn't receive a prompt.)
    I decided to install the Western Digital utilities and security software that comes on the disk--with a view to potentially encrypting the disk (since I still wanted to have an encrypted backup since I was mobile). I forgot that (from experience 2-years previous) that I shouldn't install Western Digital software because it just makes life really complicated.
    I tried several times to do a Time Machine backup with failures each time (error creating the backup folder). I tried to get help from WD but I don't think the technicians were following what my issue was. Potentially I was not helpful in explaining it. I deleted the WD applications from my system after the first contact with WD. However the problem persisted--I still had an encrypted hard drive. After three phone sessions with three different WD techs I still could not get a solution. (By the second call I was not at all interested in having an encrypted drive--I just wanted to format and restore the drive to an unencrypted state so that I could have SOME kind of Time Machine backup.)
    I still don't have a solution--either to get Time Machine working with the WD encryption/password on the drive, or to remove the encryption so I can backup. Right now my options are to return the drive to the Apple Store -- or get a return authorization from WD. Seems crazy since the drive is fine and I have the working password.

    Never install "helpful software" provided by WD and Seagate (or any HD mfg.)
    All such stuff is fluff and nonsense that interferes with normal HD operation.
    Always when you buy a new HD, format it for Mac and then use it to TM backup or clone a HD, or archive data.
    Less is more on HD new out of box.  A "blank brick", no fluff and cotton candy software

  • Nokia Internet Radio Error: Connection Timed Out. ...

    Hi,
    I'm having an issue with the Nokia Internet Radio application on the Nokia N95. The app launches ok but if I try and browse the station directory or perform a search I get the error 'Connection Timed Out. Try Again' This happens almost instantly i.e. it doesn't look like it's even trying to connect. If I go to the shoutcast site and click on the 'Tune In' button next to a station the Internet radio app launches and I get an error saying 'General: System Error' and the application closes then goes back to the browser and a message saying 'Web: No Gateway Reply' The application worked fine up until recently. I upgraded to FW V 21.0.016 and hasn't worked since so it may be that this has caused the problem. I've removed and re-downloaded \ re-installed the software but still get the same issue. Web browsing works fine, so I know my internet settings are fine, and the old open-source version of the radio player even works so it's just an issue with this app. Any advice on how to fix it would be much appreciated. Thanks.

    I had the same problem and I fixed it.  For me, it was because I am on the Rogers network in Canada.  Regardless of where you are many cellular neworks use firewalls and something called NAT (Network Address Translation).  Nokia should really make people aware of this because probably 50% of people around the world have this problem.  The solution for me was to use Rogers VPN or Public IP to access the internet.  Rogers blocks access to this internet connection so you have to add the service to your account for $10 per month but I have heard that other carriers like FIDO have not blocked access to it.
    On the Nokia n79 this requires creating a new access point under TOOLS>SETTINGS>CONNECTIONS>DESTINATIONS.  Add a new access point with the following settings:
    Connection Name: Rogers VPN (or whatever you want to call it)
    Data Bearer: Packet Data
    Access Point Name: vpn.com
    User Name: wapuser1
    Prompt Password: No
    Password: wapuser
    Authenticaiton: Normal
    Homepage: None
    Use Access Point: After Confirmation (or change if you want something else)
    That's it. When you load the internet radio Application and it lists your options select "Rogers VPN".  If you don't see it in the list, press the soft button for Options then "Select Access Point" and you will see the full list.  If you want the VPN to be the first thing you see you can change the priority under destination settings.  Just select the VPN and press "Organize" then "Change priority". 

  • ERROR:Channel Timed Out

    I have a channel on my desktop, which connects to a different webserver (it's not an url scraper channel, it's a custom channel).
    As this other webserver has a very heavy load, at times, it can take several minutes before a response is returned.
    Although this is a temporary situation, it showed a nasty side-effect for my portal.
    It seems that when one of the channels in a container times out, the ENTIRE CONTAINER, including ALL OTHER CHANNELS on it, will no longer be displayed. Instead, the error "ERROR: Channel Timed Out" is displayed.
    I could have accepted that only the offending channel is not displayed, but all other channels on that same container as well ???
    Anyone else noticed this problem, and has found a way around it?
    (B.t.w.: It's very easily reproduced by creating a provider with a getcontent function, that never returns).
    Also, I find that it takes quite a long time, until the desktop (with the error) finally gets on my screen. Can the timeout values be set somewhere?
    Thank!
    Michel.

    Hi Michel,
    I have seen this behaviour too! I think what's happening is that the busy server is giving an initial acknowledgement of the request, and the portal is then left waiting for a full response. Since the portal can't render the desktop until all portlets report in, you end up waiting.
    I worked around this problem by a setting a sane timeout for the offending portlet (i.e. 10 seconds). That way, even if the content never returns, the portlet will end, reporting a timeout error for that portlet, not the entire desktop. You can add the timeout setting in the display profile if you don't have a entry for it on the admin console.
    I hope this is helpful!
    Erez.

  • Error due to out of memory condition

    Hi,
    system: Windows XP, 2 GM RAM, Indesign CS3
    I placed two files in Indesign: the first is .ai (1.1 MB, probably exported form a CAD program), the second is .psd (53 MB). When I try to print to .ps file, Indesign displays the message: "Export error: error due to out of memory condition". If I: 1. export to PDF, everything is OK, 2. rasterize .ai in Photoshop, then import the resulting .psd to Indesign, print to .ps file is OK.
    Does somebody has an answer to my problem?

    My gues is "mistakes" was referred to simply not outputting as intended by the designer.  I had output issues when going directly to PDF and had to also continue the old way of doing thinkgs by outputting to .ps then distill to PDF.  The "mistakes" that occured for me were nearly unnoticed.  The publication was a 128+4 product catalog that had a header at the top of each page.  I never had any problems outputting in the past.  At the time, I just had updated to CS3 (XP Pro SP3 Dual Core 4 gigs ram).  I was advised that outputting directly to PDF had been durastically improved.  I output my files without "mistakes" or errors, or so I thought.  After proofing, I didn't realize that all of the drop shadows for the header headline were not applied.  The problem though, wasn't that they were applied to all headers, just beginning at page 60 or so, halfway through.  After getting the finished publication back, I didn't notice it for a few months.  After noticing it, I investigated.  Several troubleshooting hours later (after forum posts and other expert help), I/we concluded that it was simply a program deficiency.  During my trouble shooting, I looked at several areas mainly focusing on the transparency settings.  I output the document several times.  I finally exported each page separately and found that that was the only way that I could output every page to include the dropshadow in each header page (past page 60 or so).
    I have been past that issue for a while now.  Now I am on Win 7, Quad core, 6 gigs of ram, and don't have the outputting problem that I used to.  Now I occasionally get this "Error due to out of memory condition" which is BS because my hardware specs are beyond reasonable for what I typically create in my workflow.  Most of the time, my memory is only at about half of its capacity when I get this error.  Not when I have a PS open with a large multipage file that I am working on.  My out of memory error happens during file output or just when performing ordinary layout functions in InDesign.
    When on my personal computer (Aluminum iMac 2.4 Core2 duo, 4 gigs of ram, 512 video, CS4 & CS5) I have neither of the above issues.

  • Error creating RFC function /BODS/ABAP_RUN : RFC_ABAP_EXCEPTION-(Exception_Key: FU_NOT_FOUND, SY-MSGTY: E, SY-MSGID: FL,

    Hi Expert,
    I try to execute job on development system but he showed error "Error creating RFC function </BODS/ABAP_RUN>: <RFC_ABAP_EXCEPTION-(Exception_Key: FU_NOT_FOUND, SY-MSGTY: E, SY-MSGID: FL, SY-MSGNO: 046, SY-MSGV1: /BODS/ABAP_RUN)>. Notify Customer Support.
    In ECC I use ABAP execute option as Execute Preloaded. How to solve this problem? Thanks for your advise.

    Dear,
    have you checked in EXX wether the function group /BODS/BODS is available?
    Some notes here:
    You will have to have to import the new ABAP Program group "BODS/BOS" which you can find in the local install folder...
    Here are some details:
    Installing Functions on the SAP Server
    SAP BusinessObjects Data Services provides functions that support the use of the ABAP, BAPI, and
    IDoc interfaces on SAP servers. You will need some or all of these functions in the normal operation
    of the software in an SAP environment. These functions perform such operations as dynamically loading
    and executing ABAP programs from Data Services, efficiently running preloaded ABAP programs,
    allowing for seamless metadata browsing and importing from SAP servers, and reporting the status of
    running jobs. Some of these functions read data from SAP NetWeaver BW sources.
    You must upload the provided functions to your SAP server in a production environment. It is
    recommended that you always upload the functions to your SAP server whether you are in a
    development, test, or production environment. The functions provide seamless integration between
    Data Services and SAP servers.
    The default installation places two function module files for SAP servers in the ...\Data
    Services\Admin\R3_Functions\transport directory. You then upload these files to SAP servers
    using the SAP Correction and Transport System (CTS) or manually. Using CTS allows for version
    control as the functions evolve across releases.
    The installation provides two versions of transport files (depending on the server version you are using)
    to install the functions on the SAP server. To obtain the names of the latest transport files for installing
    or upgrading these SAP server functions, see the readme.txt file
    And I've found those files and text files in the local install folder....in:
    Program Files\SAP BusinessObjects\Data Services\admin\R3_Functions
    (that's where I've installed it).
    There you'll find some descriptive txt as how to proceed.
    After installing, it might happen that the executing user is missing some authorizations.
    Here my authorizations team helped me by tracing the user and then adding the necessary rights.
    Sure hope this will help you.
    Notes to check:
    see SAP Note 1919255
    Note 1916294

  • "Error creating ds account: null" after iphone ios 5 update when attempting sign in with Apple ID..any ideas?

    I have just updated my iPhone software to ios 5, it all seemed to go very smoothly until I was asked for my Apple ID.
    I clearly have a working ID as I'm signed into this very website so it isn't a problem with that - but when I've attempted sign-in it has come up with "Error creating ds account: null"
    I was going to skip this step but it pops up again saying that you need it for iTunes and I wasn't sure if I could sign into my ID at a later time or not, so I'm stuck on the Apple ID page!
    Has anyone else had this issue or a solution?
    Thank you!

    I've managed to sort it out now - I think my problem was to do with the Internet, as my connection wasn't working when I first tried to sign into apple ID. I did a step back and re-selected my Internet router, and it then seemed to work! Give this a go because it worked for me!

Maybe you are looking for