Query Service in SAP WEB AS 6.20

Hello everybody,
I want to use Object Services at a SAP WEB AS 6.20 system. In the SAP help documents I have read that a Query Service is part of that Object Service. Generating a Persistence Class and the Class Actor (CA-Class) at a WEB AS 6.20 System I cannot find this Query Service. There is no method called IF_OS_CA_PERSISTENCY~GET_PERSISTENT_BY_QUERY in the Class Actor (CA-Class).
Is there a possibility to add this service to version 6.20?
At SAP WEB AS 7.0 the Query Service is available.
Can anybody help me?
Thanks and Regards,
Georg

Hi Reiner! Thanks for your reply!
- I want to create a secure connection between the .NET client and the SAP Web AS 6.20 Web Service, and HTTPS would be great. Is there any documentation regarding this issue?
- No, I don't want to provide the result of a Web Service as a Web Service. Maybe I was quite unclear... :/ What I meant was:
I want my Web Service to return a table (the result comes in the structure of a table). How do I define the Out-parameter in transaction se37 to accomplish this? Right now the best solution I got was to construct an array of strings (like the ZZVALUES int array in the example) where each position of the array, is a string that has the various fields of the table i want to return concatenated.
I'm able to retrieve the array in Visual Studio .NET 2003 client, and separate the fields (to fill a table again with them). If I could just return the table from SAP and receive it in .NET would be much more simpler.
Thanks again.

Similar Messages

  • Problem: 503 Service Unavailable  SAP WebAS Engine is starting...

    Problem: 503 Service Unavailable
    SAP WebAS Engine is starting...
    If this state does not change within a few minutes,
    please contact your system administrator.
    Check the recommendations in SAP Notes: 943498, 764417
    Message: Dispatcher running but no server connected!
    Details: No details available
    This problem occurs suddenly after a time interval when working on Sap Enterprise Portal. Please Suggest me Number of possible solutions for this type of problem.....
    Thank's in Advance
    Regards-
    Sumeet Sharma

    Hi,
    The issue here is that the JAVA engine has not ye started completely. Check the status of the SAP instance in SAP MMC. You need to have the SDM, dipatcher, Server0 in green(started completely). If the server0 is in yellow/grey, then u will not be able to launch the portal URL.
    Check and post us the dev_server0 log for more information.
    Regards,
    Varadharajan M

  • ABAP web services vs XI web services

    Hi All,
    Can you please explain
    1. ABAP web services
    2. XI webservices
    3.Which is best practice / recommended performance wise and for high through put scenarios.
    Thanks
    Praveen kumar Ch

    Hi,
    1. ABAP web services
    Refer
    ABAP Web Services in the Real World
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/244e7923-0a01-0010-5887-fe0b0c6dbb8d
    Providing and Consuming Web Services in ABAP
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9
    /people/sergio.ferrari2/blog/2004/11/22/supply-energy-to-abap-web-services-in-sap-web-as-620
    SAP Web Services FAQs
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fportal-and-collaboration%2fenterprise-portal-6.0-sp2%2fwebServiceson+EP6.zip
    2. XI webservices
    XI Webservice menas you are just defining the web service to generate the WSDL. Here you need to give the URL which will be directed to XI server. This is used for Sender Web Application.
    Here you need to deploy this generated Web service on sender application to send the request to XI.
    thanks
    Swarup
    Thanks
    Swarup

  • SAP WebAS Engine is starting...................

    Problem:   503   Service Unavailable
      SAP WebAS Engine is starting...
    If this state does not change within a few minutes,
    please contact your system administrator.
    Check the recommendations in SAP Notes: 943498, 764417
    Message: Dispatcher running but no server connected!
      Details:   No details available
    This problem occurs suddenly after a time interval when working on Sap Enterprise Portal. Please Suggest me Number of possible solutions for this type of problem.....
    Thank's in Advance
    Regards-
    Sumeet Sharma

    hi....
    Thank's for Reply
    I have increased the heap memory size and permissible memory size in dev_server0 file.... but i still get this problem....
    Engine automatically starts after an interval of time....
    Please suggest me other possible solutions

  • Doubt  regarding SAP WebAs

    hi frds,
          1) what is the use of WebAs?
          2) All SAP Components can run in SAP WebAs?
          3) SAP System means SAP WebAS ?
          4) XI Components like IR,IDand SLD..etc reside on SAP WebAS...like this     other SAP Netweaver Components like EP Components also reside in 2 stacks of SAP WebAS?
          5)How the XI Message flows from sender  Business system to Receiver Business system via WebAS ? plz give example?
          6) What is Difference between SAP System and SAP WebAS and 3rd Party Systems?

    hi Murali
    <b>1)  WAS</b> : SAP Web Application Server is a scalable and reliable component platform. It supports the development and operation of J2EE-based and ABAP-based Web applications and Web services. SAP Web Application Server embraces native Web technologies while providing all the benefits of what has previously been referred to as SAP Basis – including the benefits of the proven and scalable data, system, and software lifecycle management capabilities that SAP is known for.
    2) The new release of SAP Web Application Server offers full compliance with J2EE 1.3 standard. A completely revamped load-balancing technique highly improves the scalability of the server. Internal persistent information that the system needs to access is now stored in a conventional relational database increasing the robustness and the reliability of the server.
    3) SAP System not means SAP WebAS but other parts are also involved
    4) yes XI Components like IR,IDand SLD..etc reside on SAP WebAS
    5)To know about flow  you go through a scenario from TBIT
    TBIT40:
    https://websmp109.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT40
    6) What is Difference between SAP System and SAP WebAS and 3rd Party Systems?
    SAP Web Application Server adds business value because it
    &#9679;     Allows customers
    &#9679;     to run any 3rd party J2EE 1.3 compliant application
    &#9679;     to develop and run their own J2EE 1.3 compliant applications
    &#9679;     to easily extend SAP solutions on the basis of ABAP and J2EE technology
    &#9679;     Offers an highly improved load-balancing which results in much better performance and, even more important provides much better scalability
    so third party business system is party's own system which is being integrated by SAP XI
    for more details on WAS kindly follow this link
    http://help.sap.com/saphelp_nw04/helpdata/en/92/7e63423dbc0e53e10000000a155106/frameset.htm
    Thanks
    sandeep
    PS; if helpful reward points

  • Consuming SAP web services with tables

    I'm doing kind of feasibility study on consuming SAP web
    services from CF.
    So far so good, but I'm stuck dealing with tables
    (import/export parameters in SAP world).
    I know how to receive a table object from SAP functions:
    * With Apache Axis v1.2: pass an empty CF structure as a
    parameter
    * With Apache Axis v1.4: pass an empty CF array as a
    parameter
    Then the parameter is filled with data (replaced with Java
    object) and we can just parse the object accordingly.
    My question here is whether or not we can pass a *table with
    actual records*.
    For example, I want to pass a table with multiple records to
    update DB records under SAP.
    I tried passing (1) CF array of structure and (2) Java
    ArrayList with no chance.
    The web service call itself completes without errors (no
    method signature error), but the SAP function seems to see the
    parameter as an empty table.
    Anyone has been successful with this case?
    Any suggestion would be much appreciated.

    Thanks Dan,
    Unfortunately CF query object didn't work either.
    Now I'm looking at the code generated by Flex Builder to see
    how the classes are like ;-)
    It's just an ArrayCollection of simple value objects
    (representing a row).
    So CF array of structure or Java ArrayList looks a reasonable
    approach though they don't at all.

  • About web service for SAP BW

    SAP可以发布web service,并通过该WS访问R3中的一张表,是否有可能用web service发布一个SAP BW中的一个Cube或Query?谢谢

    就我所知,你可以用web service
    1. upload data 到 BW
    http://help.sap.com/saphelp_nw04/helpdata/en/71/421640033ae569e10000000a155106/frameset.htm
    2. 通过HTTP services可以
    ·        Display of metadata for BW objects (see Calling the Metadata Repository as an HTTP-Service)
    ·        Exchanging metadata between various systems (see Exchange of Metadata in XMI Format)
    ·        Display of user-defined online documentation for metadata objects (see Structure linkDocument as Online Documentation)
    The following services are implemented as Web services:
    ·        Open Analysis Interfaces (see Structure linkXML for Analysis)
    ·        Structure linkWeb Service for Access to Query Data
    3. 通过Web Service可以access Query Data
    http://help.sap.com/saphelp_nw04/helpdata/en/d8/3bfc3f8fc2c542e10000000a1550b0/frameset.htm
    最后是不是可以通过Web Service发布一个SAP BW中的一个Cube,这个我没有遇到过,也没找到相关文档,估计直接得话多半是不可以。但间接的比如通过open hub Service,或是XI应该也是可以的。
    希望能有帮助。

  • SAP WebAS Supportability - cannot run Web Service

    Hi Experts,
    I found in the supported platform document, boe_xi_30_supported_platforms_windows.pdf.
    It states that SAP Web Application Server 7 ...  Not supported for Web Services.
    Does this mean we cannot use Xcelius with Query as a web service on the top of SAP BW ?
    Thanks and regards,
    Manabu

    Hi Manabu,
    In the company I'm working for, we want to implement this solution (Business Object <-> SAP and Xcelsius with QAAWS in order to extract data from SAP Queries).
    To do so, we got advises from SAP consultants. Apparently, there is a way to customise the WaS server with a special SDK, in order that it supports Web Services.
    But the consultants did not recommand this solution (I didn't know why). The way we choosed is to use a Tomcat for the Web Services and a WaS for the rest of all the applications (You just have to interface the two server and to separate the tasks).
    I can't tell you the result we've got, because we will try it next month...
    Hope it helps...

  • Invoking a SAP web service from Dreamweaver MX

    I am trying to invoke a SAP web service from ColdFusion and it looks like ColdFusion does not even recognize the rfc generated wsdl file as a wsld file.  I have tried other wsdl url's outside my company and they work...so I know that web services at least work in ColdFusion.  Can anyone advise on this topic?
    Thanks!

    Paula,
    I suppose you're using CFINVOKE (http://www.activsoftware.com/code_samples/code.cfm/CodeID/44/ColdFusion/Invoking_SOAP_Web_Services_with_ColdFusion_MX_CFINVOKE_Tag) or are you using a third party tool like CFX_SOAP (http://www.activsoftware.com/products/productdetail.cfm/id/1015)?
    Are you working with WebAS 6.4 or 6.2?
    It works with web services created with WebAS 6.4, but you should generate proxy classes. Check Thomas' weblog (second part of it)->https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1012. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    The WSDL generated by this method is more standard than the one generated when you just Remote enable an FM and look at the webservice browser.
    Th core of CF MX is Java and that engine is rather strict in standards.
    Eddy

  • INVOKING WEB SERVICE FROM SAP ERP

    Hi to all
    I need interchange informacion between NON-SAP system and SAP ERP using web services
    I know publish web services in SAP ERP, but I don't know how SAP consume a WS of other system
    Please, somebody know how can I do it this ? I don't want that XI consume this WS, I want that SAP ERP consume it.
    Thank you and regards
    Dario

    Hi,
    we can do it using Webdynpro for Java or ABAP. In addtiion to this check wtih any EDI related ones or ALE-IDOCS.
    Psl check this abt the Web Services information-
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/109aa318-5aa6-2a10-799d-a495383c1e01
    Reward if helpful.
    Best Wishes,
    Chandralekha

  • How to remove user authentication for SAP Web Service?

    Hi there,
    I am using SAP Web Services in my flex application. Every time wsdl url is called, the username\password window pops up. I want to remove this.
    I searched in the forum and based on the discussions, I tried giving the user name password under Web Service Administration using SOAMANAGER, by selecting No Authentication option. But this did not work. I still get that pop up.
    I also tried giving the credentials in SICF, under Logon Data tab of the service. This too failed. I kept getting the pop up.
    Can someone pls let me know how can I remove this? If username password in mandatory to be passed, I can create a temporary username which will be used to access all of my webservices and use it. But I want to remove this authentication part when I am using the flex application ang calling the web service url from within it.
    Appreciate your help.....
    -Deepak

    Hi,
    It is a little bit tricky, because the interface has changed several times in different releases. I know that it is possible without authentification.
    I remember that i defined somewhere the default client, the username and password in the ERP system to use by this web service.
    Maybe it helps if you try the old transactions WSADMIN, WSCONFIG or WSADMIN2 ?
    Sorry that I cannot help you more. I hope it helps.
    Best regards,
    Joern

  • Calling Web Service from SAP

    Dear All,
    How can we call web service from SAP?
    Thanks in Advance,
    Ramana

    HI kcr,
    pls see this link
    http://****************/Tutorials/Others/ValidateEmailID/Webservice.htm
    write this program
    REPORT zvalidate_email.PARAMETERS: p_mail(100) LOWER CASE.                 " E-Mail id to be verifiedDATA: http_client TYPE REF TO if_http_client .DATA: w_string TYPE string ,
          w_result TYPE string ,
          r_str    TYPE string .DATA: result_tab TYPE TABLE OF string.START-OF-SELECTION .
      CLEAR w_string .
      CONCATENATE
      'http://www.webservicex.net/ValidateEmail.asmx/IsValidEmail?Email=' p_mail
    INTO
      w_string .  CALL METHOD cl_http_client=>create_by_url
        EXPORTING
          url                = w_string
        IMPORTING
          client             = http_client
        EXCEPTIONS
          argument_not_found = 1
          plugin_not_active  = 2
          internal_error     = 3
          OTHERS             = 4.  CALL METHOD http_client->send
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2.  CALL METHOD http_client->receive
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2
          http_processing_failed     = 3.
      CLEAR w_result .
      w_result = http_client->response->get_cdata( ).  REFRESH result_tab .
      SPLIT w_result AT cl_abap_char_utilities=>cr_lf INTO TABLE result_tab .  READ TABLE result_tab INTO r_str INDEX 2.
      IF r_str+44(1) = 't'.
        WRITE:/ 'Valid email address'.
      ELSE.
        WRITE:/ 'Invalid email address'.
      ENDIF.Output:
    thanks
    karthik

  • Calling SAP Web Service from BPEL

    Hi
    I am trying to call a SAP Web Service friom BPEL using the SAP WSDL.It requires a basic authentication (Username/Password) which i am providing as partnerlink properties in bpel.xml.
    While testing the BPEL Process from the console, it is giving me an error
    "<summary>exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized</summary>"
    But when i am testing it from SOAP UI tool it is giving me the desired response.
    Does anyone has any idea why it is failing from BPEL?Is there any configuration which i am missing?
    Regards
    Ayush

    HI Ayush / Suryaveer..
    I am stuck at the same situation, trying to invoke a secured SAP webservice. The invoke fails with a security previlege exception.
    Am using the basicHeaders property to propagate the credentials to the SAP system.
    Can you please suggest on the same.
    credential propagation in bpel.xml :
    <property name="basicHeaders">propagate</property>
    <property name="basicUsername">ABC</property>
    <property name="basicPassword">DEF</property>

  • Error when creatibg a web service in  SAP r/3 ecc 5, WebAS 640

    We are trying to expose a BAPI  (BAPI_CUSTOMER_GETSALESAREAS) as a web service on SAP R/3 ECC 5. web AS 640.
      We created the virtual interface (Z_VI_CUSTOMER_BAPI)and the web service definition (Z_WSD_CUSTOMER_BAPI)from SE80. When we try to release the web service definition from WSCONFIG, we get an error saying:
    "Error when creating web service(Web Service Definition Z_WSD_CUSTOMER_BAPI for SOAP application unbekannt)"
    Please help...
    Thanks,
    Shailesh

    Hi.
    I think I must clarify my question.
    The Web Service is not called inside SAP R/3 but externally. For testing pourpose I actually use WS Navigator and XMLSpy.
    The method inside ABAP Server Proxy which is exposed as a Web Server in SAP R/3 system is the following. Note that the Web Service is Asynchronous.
    METHOD zpi_ii_test_ws_4_in~test_ws_4_in.
      DATA: lwa_zpi_test TYPE zpi_test.
      lwa_zpi_test-mandt = input-mt_test-record-client.
      lwa_zpi_test-bukrs = input-mt_test-record-company.
      lwa_zpi_test-belnr = input-mt_test-record-document.
      lwa_zpi_test-gjahr = input-mt_test-record-year.
      INSERT zpi_test FROM lwa_zpi_test.
      COMMIT WORK.
    ENDMETHOD.
    I have created another Web Service in SAP R/3 which is Synchronous, and the error does not occurs. The following is the method inside ABAP Server Proxy which is exposed as a Web Service in SAP R/3 system.
    METHOD zpi_ii_test_ws_3_in~test_ws_3_in.
      DATA: l_bukrs      TYPE bukrs,
            l_belnr      TYPE belnr_d,
            l_gjahr      TYPE gjahr,
            lr_belnr     TYPE RANGE OF belnr_d,
            lwa_zpi_test TYPE zpi_test.
      l_bukrs = input-mt_req-msg+0(4).
      l_gjahr = input-mt_req-msg+4(4).
      SELECT MAX( belnr ) INTO l_belnr
        FROM zpi_test
        WHERE bukrs EQ l_bukrs
          AND belnr IN lr_belnr
          AND gjahr EQ l_gjahr.
      IF l_belnr IS INITIAL.
        l_belnr = '4700000000'.
      ELSE.
        l_belnr = l_belnr + 1.
      ENDIF.
      lwa_zpi_test-mandt = sy-mandt.
      lwa_zpi_test-bukrs = l_bukrs.
      lwa_zpi_test-belnr = l_belnr.
      lwa_zpi_test-gjahr = l_gjahr.
      INSERT zpi_test FROM lwa_zpi_test.
      COMMIT WORK.
      output-mt_resp-msg = l_belnr.
    ENDMETHOD.
    I hope to have clarified my question.
    Rafael Rojas.

  • Web-dynpro application -ERROR: ICF service node "/sap/bc/webdynpro/sap/zqm_cto_arr_general1" does not exist (see SAP Note 1109215) (termination: ERROR_MESSAGE_STATE)

    i have created my web-dynpro application in development. and sent to quality . whenever i will execute my dynpro in quality  i got one message
    ERROR: ICF service node "/sap/bc/webdynpro/sap/zqm_cto_arr_general1" does not exist (see SAP Note 1109215) (termination: ERROR_MESSAGE_STATE)
    whenever i saw  sicf  transaction my web-dynpro is not seen . my dynpro application name is more then 15 character. what i will do . please give me valuable suggestion.....

    Hi Ashok,
                   for your requirement the application is not exist in particular place. It means, the webdynpro application is saved at different package or different location.
                  Please change the webdynpro component name and save it in particular request in package, then transport it to quality ..(development server )
    then go to SICF  t.code .. sap->bc->webdynpro->sap->find  out your application and activate the service of your webdynpro application.
    Now test it ... this solution might helpful to you .
    Regards,
    Naveen M

Maybe you are looking for

  • [SOLVED] Unable to login to root unless it's through another account.

    I'm fairly inexperienced with Linux and am having a frustrating problem. I've forgotten my root password (oh boy) and am experiencing some weird problems attempting to reset it. I have other accounts, which I can log in to, and they have sudo privile

  • How do I trim the file size?

    All of a sudden I went from 400MB for a 2.5 minute movie to over 1GB with a 3.5M movie. Are there any tricks to trimming the file size so I can upload to websites? I am @ 104GB and need to shave 5GB off the file size, which should be 750GB. Any help

  • Assigning the base class

    I have a bunch of DefaultMutableTreeNodes already created and I want to convert them all to myTreeNode objects which extends DefaultMutableTreeNode. Is there an easy way for assigning the super class of myClass which is DefaultMutableTreeNode. I know

  • Roll In Roll Out issue

    I've got a button that shifts down when you roll over it, then moves back up then you roll out. All is keen except when you roll slowy from the top, if you hit the right spot you get into a tedder todder effect of rolling in and rolling out until you

  • How can I turn off the autocomplete/autofill function in Mail?

    How can I turn off the autocomplete / autofill function in Mail (Mail 7.2)? I know how to remove email addresses from the 'Previous recipient' list, but I simply want to deactivate the autocomplete function for email addresses entirely. You used to b