How To Set Parameters in a SOAP-Message for QUERY_VIEW_DATA Web Service

Hi all,
I want to use the QUERY_VIEW_DATA Web Service to get data from BI through an existing BEx-query.
How can I set a navigation status as it is stated in the SAP documentation [Web Service for Accessing Query Data|http://help.sap.com/saphelp_nw04/helpdata/en/d8/3bfc3f8fc2c542e10000000a1550b0/frameset.htm]?
I am able to set filter values but setting any parameter with the name 'CMD' has no effect to the response.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
  <soapenv:Header/>
  <soapenv:Body>
    <urn:GetQueryViewData>
      <Parameter>
        <!-- This has no effect -->
        <item>
          <Name>CMD</Name>
          <Value>SWITCH_AXIS</Value>
        </item>
        <!-- This works --> 
        <item>
          <Name>FILTER_IOBJNM</Name>
          <Value>0COMP_CODE</Value>
        </item>
        <item>
          <Name>FILTER_VALUE</Name>
          <Value>4020</Value>
        </item>
      </Parameter>
      <Query>Z_MYQUERY</Query>
    </urn:GetQueryViewData>
  </soapenv:Body>
</soapenv:Envelope>
We use SAP NetWeaver 7.0 EHP1. The documentation mentioned above belongs to NetWeaver 2004s and I can't find it in the docu for 7.0. Does that mean the QUERY_VIEW_DATA is deprecated?
Thanks for your help!
Best regards
Heiko Braeske

Dear Heiko,
did you solve this problem?
We are facing the same problem. Every parameter that requries "cmd" does not work. I guess we don´t use this paramter the right way.
Best, Chris

Similar Messages

  • How to add security credentials to SOAP header for EBS Web Service call..

    All,
    I am trying to invoke a webservice that I successfully exposed as a WSDL Web Service using EBS Integrated SOA Gateway. I am using OBIEE 11g Action Framework which uses WebLogic.
    Here are the steps I completed:
    - I exposed a WSDL web service in EBS R12 via Integrated SOA Gateway
    - I granted the access to this service in EBS R12 to user SYSADMIN
    - I used OBIEE 11g to make a Action to call the Web service (using Action Framework) by searching for the WSDL
    - When I try to execute the action: I get the error:
    Action could not be invoked.
    ServiceExecutionFailure :
    Error invoking web service HR_PHONE_API_Service at endpoint http://ip-10-87-33-3.ec2.internal:8000/webservices/SOAProvider/plsql/hr_phone_api/ Missing <wsse:Security> in SOAP Header
    PROBLEM: I am unsure how to add the credentials for SYSADMIN user and password to add the SOAP username/pwd to the outgoing call. Anyone on this forum know how to set up the SOAP to call with the correct credentials? I have been looking at the documentation but it is not clearly explained.

    Dear Heiko,
    did you solve this problem?
    We are facing the same problem. Every parameter that requries "cmd" does not work. I guess we don´t use this paramter the right way.
    Best, Chris

  • How to view the SOAP message in a web service call + Urgent

    Hi All,
    Iam trying to test a web service call(Iam using CXF). But I need to view SOAP message sent to web service or need to debug the web service call. Please help me on this regard with example.

    Yes. to find any tcp monitor, define a listen port number, task host and port number, changing your request to listen post, then you can monitor TCP/IP like
    HTTP/1.1 200 OK
    Set-Cookie: JSESSIONID=7A00BD65EF7516AD8947359A25C4D98B; Path=/ComponentName
    Content-Type: text/xml;charset=utf-8
    Date: Wed, 20 Oct 2004 15:45:03 GMT
    Server: Apache-Coyote/1.1
    Connection: close
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <ns1:testObjectResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:ComponentName">
    <testObjectReturn href="#id0"/>
    </ns1:testObjectResponse>
    <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:MyObject" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:ComponentName">
    <name xsi:type="xsd:string">Set Name</name>
    <value xsi:type="xsd:string">set Value</value>
    </multiRef>
    </soapenv:Body>
    </soapenv:Envelope>
    Lixin

  • How to set an 'alert'  or reminder message for end-user Acrobat X form.

    Hi,
    I'm trying to see if I can add an alert or reminder message for the end user who will be filling in a form that I'm creating from Acrobat Pro X.
    Does it require a script if so, could anyone share one that is already exists?
    If it doesn't need a script, how can I set that up?
    What I want to do, is to remind end-user to fill in Numbers Only and not text.  I have already set my properties for numbers only and provided an example. But, In-case end users did not understand, I'd like to have a message for them to say that they must type in number and not text.
    Currently, with the limitation I've made, they couldn't type in any letters but, they might be frustrated and not fill in anything!
    Please help!
    Thanks,

    Thank you for the code.
    Is it correct to put that code under VALIDATE > run custome validate script, within the Properties box?
    Because I tried it, and it worked only AFTER I typed a number onto the field.
    Since my goal is to have the alert BEFORE, so if someone typed in a text, they should see the alert and correct themselves to type in a number instead.
    Please clarify.
    Thanks!

  • How can I post data (via soap/xml) to a web services?

    Please help. I am new to this concept.
    The web service runs at (not an actual website name) -- https://something.someone.sometms.com/cgibin/somthing.exe?Script=/someapp/some_interfaces/webservice/ws_main.wml
    The soap/xml output expected will lok similar to:
    <?xml version="1.0"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soap:Body>
    <d1:HereIsSomeData xmlns:d1="http://www.vendorname.com/namespace">
    <InputStruct>
    <HereMineData>
    <HereIsDataStruct>
    <Resource>SomeResource</Resource>
    <Date>2006-02-27</Date>
    <SomeInterval>1205</SomeInterval>
    <SomeMtrMW>5</SomeMtrMW>
    </HereIsDataStruct>
    <HereIsDataStruct>
    <Resource>SomeResource</Resource>
    <Date>2008-02-27</Date>
    <SomeInterval>1405</SomeInterval>
    <SomeMtrMW>5</SomeMtrMW>
    </HereIsDataStruct>
    </InputStruct></d1:HereIsSomeData>
    </soap:Body>
    </soap:Envelope>
    The data is in regular table with 4 columns (not an xml schema- table).

    And what does soap/xml have to do with Oracle?
    You should post this thread in the appropiate soap/xml forum to get some adequate help.

  • Without to change the setting.how to set the decimal place to 7 for an UDF.

    Without to change the setting, how to set the decimal place to 7 for an UDF?

    Hi
    Once you create a UDF it will automatically be binded to the data source of data type that you gave at the time of creating UDF.
    So i think you can not set the decimal places without changing the setting in display parameters.
    i am not sure whether it will work or not one thing you can try is that create it as a alphanumeric data type and convert your decimal value to sting and then assign it to UDF,While retrieving for any manipulation you convert it as decimal.
    Hope it helps you
    Regards
    Vishnu

  • How to set the gain and input coupling for each channel on a NI 4462 DaQ card?

    I've seen a few examples in how to set the gain for NI 4462, but none tell me how to chose the channel I wish to set this gain.  Also the same problem with input coupling
    Does anyone know how to set the gain and input coupling for each individual channel?
    Thanks,
    Hector
    LabView 8.5 Windows XP

    Hey Hector,
    http://forums.ni.com/ni/board/message?board.id=100&thread.id=1688
    This has a few examples of how to do that.  Let me know if you have further questions.
    Have fun!
    -gaving

  • How to set up and configure AirPort Express for AirPlay and iTunes

    Saw somewhere that supposedly there were some apple written guidlines on the above topic. I have searched all over for them. Anyone know where I can get a copy to read through. Just trying to educate myself a bit and sety up another room with access to itunes, radio, etc with high quality speakers and amp off my express.

    Here you go ...
    How to set up and configure AirPort Express for AirPlay and iTunes

  • How to set default User preferences in Analyzer for all users

    How to set default User preferences in Analyzer for all users<BR><BR>Hi,<BR><BR>I would like to set some settings in Analyzer as default for all users. For example:<BR>1. Display | Char<BR>2. right mouse click on char | Chart Properties<BR>3. Axes tab<BR>4. "Format: Currency" i would like to change to "Format: Number".<BR><BR>How to set default values to all users? Is this possible?<BR><BR>Thanks,<BR>Grofaty

    I'm pretty sure higher access superceedes, so you could set up a group with no actual access, just to get the preferences working, then their individual security will dictate what they can do. I haven't tested this fully, but I beleive this is how it will work.<BR>As far as setting the preferences, go into the admin console and right click on the group, then select Preferences. To apply the group preferences to a user, add the user to the group, then right click on the user, select preferences and from the upper left corner, use the drop down to select the active preference, in this case, it will be the group you created and added them to.<BR><BR>HTH

  • How to fire event to generate insert message for the child objects?

    We are in process to integrate CRM On Demand and existing Microsoft SQL DB.
    We have the following problem:
    For ex., we have CRM Object_1 that already synchronized with the SQL DB. CRM also has independent Object_2 and its child Object_2.1
    We dicided that we want to connect the Object_2 as child to the Object_1.
    The question is how to fire event to generate insert message for the Object_2 and Object_2.1?
    What is the best technique? Is it possible to do it by workflow configuration or it needs to be done programmatically?
    Thanks,
    Dmitry
    Edited by: 955827 on Aug 29, 2012 11:57 AM

    Hi,
    integration events can be generated only via worklow. You will need to create separate workflows for each record type (regardless if it is child or parent) because a workflow for the parent record type will not trigger when a child record is created/ associated. Also, the association workflows will trigger only when the specific event occurs.
    There is not way to generate the integrtaion events programatically. They are generated by workflows and are read/ interpreted by a code extension.

  • How to set user preferred timezone in OBIEE for all objects.

    How to set user preferred timezone in OBIEE for all objects based on users TZ(may be from @{session.timeZone}). without changing My Account -> Preferences

    Check
    Time Zone Specification from http://docs.oracle.com/cd/E12844_01/doc/bip.1013/e12187/T421739T481157.htm#4535403
    just in case https://blogs.oracle.com/xmlpublisher/entry/how_to_keep_your_dates_from_go

  • How to set and resent reconcilation a/c for Assent a/c

    hi
    how to set and resent reconcilation a/c for Assent a/c
    amk

    You are permitted to post the recon account undercertain special circumstances :
    USe the transaction codes OAMK and OASV.
    Kindly read the SAP on line documentation before making a postings directly to the recon account.
    Definition of the Reconciliation Accounts
    You are not allowed to manually post to the reconciliation accounts for Asset Accounting in Financial Accounting. Normally, you designate the corresponding General Ledger accounts in Financial Accounting as reconciliation accounts. This change, however, can no longer be made in Financial Accounting, once these accounts already have balances from the legacy data transfer. However, you can use a special report to assign these accounts the status of reconciliation accounts in Financial Accounting (in Customizing for Asset Accounting, choose Preparing for Production Startup ® Production Startup ® Set Reconciliation Accounts).
    There is another report for removing this specification (Reset Reconciliation Accounts).
    Subsequent Correction Postings to Reconciliation Accounts
    Suppose you have already defined the asset G/L accounts in Financial Accounting as reconciliation accounts, but still need to transfer balances to these accounts, or make corrections. You can make correction postings to these reconciliation accounts with a special posting transaction in Customizing for Asset Accounting (Transfer Balances), using posting key 40 or 50. You can only postings to those accounts in a company code with implementation status (Customizing for Asset Accounting, choose Preparing for Production Startup ® Production Startup ® Activate Company Code).

  • How to set a minimum width and height for a stage or scene?

    Hello,
    Does anyone how to set a minimum width and height for a stage or scene?
    I tried listening for width/height property value changes and then adjust the width/height if necessary, but that causes unpleasant flickering of the window.
    In JavaFX 2.1 beta SDK for Mac OS, the Stage class has setMinWidth() and setMinHeight() functions which work very well.
    I'm wondering what's the equivalent way to do that when using the FX SDK for Windows.
    Any help is appreciated!
    Thanks.

    I was wondering how to enforce a minimum stage size with JavaFX 2.0.3.The same flickering way you are currently doing it. See: http://javafx-jira.kenai.com/browse/RT-15200 "Need a way to set the minimum size of a window"

  • How to set up an iPhone as PAN for MacBook Air

    I would like to know how to set up a Personal Area Network for my MacBookAir by using my iPhone.
    I successfully used Bluetooth to pair the two, according to the MacAir, but the iPhone never believed it and insisted that it had found no device to pair to.
    This is after it had presented the correct pairing number with the Mac.
    Thank you.
    Kit

    Create a folder on the external drive named "Music." Copy your /Home/Music/iTunes/ folder into the Music folder on the external drive.
    Now select the iTunes folder on the external drive. Hold down the COMMAND-OPTION keys then drag the iTunes folder icon to your Desktop. This should create an alias named, "iTunes alias." Open the /Home/Music/ folder on your internal hard drive. Drag the iTunes folder to the Trash but do not Empty the Trash. Copy the alias on the Desktop into the /Home/Music/ folder. Select the alias and press RETURN to edit the name. Delete the word, "alias" so that the alias is now simply "iTunes."
    Now open iTunes to verify that you are accessing your real iTunes data. If all is well you can Empty the Trash.

  • Help in forming SOAP message for Bpel process

    Hi,
    I have a following schema file - UnpackMessage.xsd
    <?xml version="1.0" encoding="windows-1252"?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.w3.org/2001/XMLSchema/UnpackMessage"
    xmlns:tns="http://www.w3.org/2001/XMLSchema/UnpackMessage"
    elementFormDefault="qualified">
    <complexType name="PackHandlerProcessRequestType">
    <sequence>
    <element name="instanceId" type="string"/>
    <element name="activityName" type="string"/>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    <element name="PackHandlerProcessRequest" type="tns:PackHandlerProcessRequestType"/>
    </schema>
    and the following wsdl file for a bpel process
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <definitions name="PackManagerWSDL"
    targetNamespace="http://xmlns.oracle.com/PackManager"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:client="http://xmlns.oracle.com/PackManager"
    xmlns:tns="http://xmlns.oracle.com/PackManager"
    xmlns:ns2="urn:UnpackHandler"
    xmlns:ns3="http://www.w3.org/2001/XMLSchema/UnpackMessage">
    <types>
    <schema attributeFormDefault="qualified" elementFormDefault="qualified"
    targetNamespace="http://xmlns.oracle.com/PackManager"
    xmlns="http://www.w3.org/2001/XMLSchema"
    >
    <import namespace="http://www.w3.org/2001/XMLSchema/UnpackMessage" schemaLocation="UnpackMessage.xsd"/>
    <element name="PackManagerProcessResponse">
    <complexType>
    <sequence>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    <message name="PackManagerRequestMessage">
    <part name="payload" type="ns3:PackHandlerProcessRequestType"/>
    </message>
    <message name="PackManagerResponseMessage">
    <part name="payload" element="client:PackManagerProcessResponse"/>
    </message>
    <portType name="PackManager">
    <operation name="initiate">
    <input message="client:PackManagerRequestMessage"/>
    </operation>
    </portType>
    <portType name="PackManagerCallback">
    <operation name="onResult">
    <input message="client:PackManagerResponseMessage"/>
    </operation>
    </portType>
    <plnk:partnerLinkType name="PackManager">
    <plnk:role name="PackManagerProvider">
    <plnk:portType name="client:PackManager"/>
    </plnk:role>
    <plnk:role name="PackManagerRequester">
    <plnk:portType name="client:PackManagerCallback"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    The receive activity in bpel process expects input message "PackManagerRequestMessage" of type "PackHandlerProcessRequestType"
    Now on invoking the Bpel process directly by using the console ... the default input to the process looks like this -
    <payload xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema/UnpackMessage"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:type="def:PackHandlerProcessRequestType">
    <instanceId xmlns="http://www.w3.org/2001/XMLSchema/UnpackMessage">600</instanceId>
    <activityName xmlns="http://www.w3.org/2001/XMLSchema/UnpackMessage">receive</activityName>
    <result xmlns="http://www.w3.org/2001/XMLSchema/UnpackMessage">ok</result>
    </payload>
    and the receive activity gets the following as input (as taken from Flow in bpel console)
    <ReceiveInput_initiate_InputVariable>
         <part name="payload" >
              <payload xsi:type="def:PackHandlerProcessRequestType" >
                   <instanceId>800</instanceId>
                   <activityName>receive</activityName>
                   <result/>
              </payload>
         </part>
    </ReceiveInput_initiate_InputVariable>
    But when i invoke the same process using a SOAP message which looks like
    <?xml version = "1.0" encoding = "UTF-8"?>
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="http://www.w3.org/2001/XMLSchema/UnpackMessage" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
    <SOAP:Body>
    <payload xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:PackHandlerProcessRequestType">
    <ns2:instanceId>600</ns2:instanceId>
    <ns2:activityName>receive</ns2:activityName>
    <ns2:result>OK</ns2:result>
    </payload>
    </SOAP:Body>
    </SOAP:Envelope>
    the receive activity now gets the following as input (taken from Flow in bpel console)
    <ReceiveInput_initiate_InputVariable>
    <part name="payload">
    <ns1:instanceId>600</ns1:instanceId>
    </part>
    </ReceiveInput_initiate_InputVariable>
    So i am losing input data. Can someone help me form appropriate SOAP message for this ?
    Thanks,
    Srini

    Thanks Marc,
    The SoapUI is really useful. The SOAP request as generated by the SoapUI for above case is
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:add="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:pack="http://xmlns.oracle.com/PackManager" xmlns:unp="http://www.w3.org/2001/XMLSchema/UnpackMessage">
    <soapenv:Body>
    <pack:initiate>
    <payload>
    <unp:instanceId>800</unp:instanceId>
    <unp:activityName>receive</unp:activityName>
    <unp:result/>
    </payload>
    </pack:initiate>
    </soapenv:Body>
    </soapenv:Envelope>
    and the input received at BPEL was as expected.
    Thanks a lot.
    Srini.

Maybe you are looking for