How to retrieve SAP variables via XMLA

Hi Experts,
I would like to know how to retrieve SAP BW variables via XMLA.
Full points will be assigned.
Thanks,
Sapna

HI
/people/prakash.darji/blog/2006/09/04/work-with-xmla-web-service-for-bi-data-in-external-applications
http://publib.boulder.ibm.com/infocenter/wpfhelp/v6r1m2/index.jsp?topic=/com.bowstreet.designer.doc/designer/c_sapbw_data_builder.htm
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/67acb63d-0401-0010-b685-b1b87dd78892
Hope it helps

Similar Messages

  • SAP variables via XMLA

    Hi Experts,
    I would like to know how to retrieve SAP BW variables via XMLA.
    Full points will be assigned.
    Thanks,
    Sapna

    Hi Sapna,
    Find the below link ....this may helpful.....
    http://209.85.175.132/search?q=cache:cw1fHe2QhUEJ:download.microsoft.com/download/4/7/a/47a548b9-249e-484c-abd7-29f31282b04d/UsingRSwithSAPNetWeaver.dochowtoretrieveSAPBWvariablesthroughXMLA&hl=en&ct=clnk&cd=4&gl=in
    Thanks==points
    Regards
    Sudheer
    Edited by: SUDHEER on Jan 6, 2009 7:17 AM

  • Mdrmsap - retrieve SAP variables

    I'm trying to retrieve the properties of the SAP variables, used in a BI query, using a VB 6 application.
    Using the following command :
    Dim myObj As Object
    Set myObj = m_cube.GetSchemaObject(adObjectTypeMember, "SAP VARIABLES")
    generates the error : "Internal error when creating MEMBER SCHEMA ROWSET. Error #MEMBER"
    How do I retrieve the properties of the SAP variables in VB 6 ? I need to retrieve the VARIABLE_SELECTION_TY
    PE.
    Thanks in advance

    Hi Sat,
    I've checked following objects within the references  :
    Microsoft ActiveX Data Objects (Multi-dimensional) 2.8 Library (MSADOMD.DLL)
    Microsoft ActiveX Data Objects 2.8 Library (MSADO15.DLL)
    Microsoft DAO 3.6 Object Library
    so the version of MSADOMD is newer than the one you mentioned.
    Data of the info provider is read fine, using the cellset.open function.
    I need the properties of the parameters of the query, because I have to build a filter screen in my VB application, and I
    need to know whether or not it's a required parameter and what kind of parameter is used (single entry, single input list, range
    regards,
    Danielle

  • How to retrieve sessions variables in JSP

    hi,
    I am trying to retrieve session variable from servlet to JSP.
    In the servlet i am retrieving employeenames from database and storing them in a ArrayList variable then i am setting this variable into the session.
    When retrieving the session in the jsp it displays as [empname1, empname2].
    Please help how to retrieve them
    Thanks in Advance,
    sha

    At the servlet:
    ArrayList<String> employeeNames = new ArrayList<String>();
    employeenames.add(blahBlahblah);
    session.setAttribute("eNames", employeeNames);
    At the JSP:
    ArrayList<String> names = (ArrayList<String>) session.getAttribute("eNames");
    for (String nom : names) {
    do something with the name stored in String variable nom...
    }

  • Query SAP BW via XMLA Webservice and save response to HD

    Hi,
    I´m currently working for an QM Project to create an Overview-page with figures from various BW-Querys. Unfortunatly the the BW-Performance isn´t fast enough to execute a lot of Querys in realtime, so I can´t use the Web App Designer.
    To improve performance I want to execute those querys once a day and save the result sets on hard disk. To get the data out of the BW I want to use the XMLA-Webservice which is already running.
    Is there a simple way or application to send my XMLA to the webservice and save the response on hard disk?

    You can use XMLA web service or the queryview web service to get the data in XML format. The queryview XML service is only available from BW 3.5, see attached documentation.
    http://help.sap.com/saphelp_nw04/helpdata/en/d8/3bfc3f8fc2c542e10000000a1550b0/content.htm
    Ther is also an How to document available for XMLA under the BW 3.0B section.
    If you are looking at a report with no navigation you can use the pre-calculation of the web reports with reporting agent which will create a pre-calculated HTML output on the BW server. Everytime you access the web report the pre-calculated HTML output will be displayed and the performance is great as the data is not accessed at runtime.
    http://help.sap.com/saphelp_nw04/helpdata/en/9e/9f653ade969f4de10000000a114084/content.htm
    Thanks.

  • How to pass session variables via the URL in CF10?

    Hi
    I have a client with some old Flash functionality (AS2). The SWF allows the user to upload an image. However a new session is being started when the upload script is called. I have added the CFID, CFTOKEN and JSESSIONID to the URL as I did in the past to maintain the session but I believe you cannot do this anymore with CF10, if this is correct can anyone point me in the right direction of how I would accomplish maintaining the session for the upload?
    This has a note about CF 10 - http://forums.adobe.com/thread/1178420
    Kind regards
    Shaun

    Hi Shaun
    Are you facing the same issue with all the browsers?
    Thanks
    VJ

  • Retrieve POST variables just like in a normal HTTP forms

    Hi All :D
    Can anyone tell me how to retrieve POST variables just like
    in a normal HTTP form?
    I have 2 flex applications. One will send the POST variables
    and I would like the other to retrieve
    these variables. How to implement this?
    Thanks :D

    "JuggerOgre" <[email protected]> wrote in
    message
    news:g92bce$kgf$[email protected]..
    > Hi All :D
    >
    > Can anyone tell me how to retrieve POST variables just
    like in a normal
    > HTTP
    > form?
    > I have 2 flex applications. One will send the POST
    variables and I would
    > like
    > the other to retrieve
    > these variables. How to implement this?
    Flex is a client side application. You could send them from
    one client and
    then request them from the other client, or you could use
    something like
    BlazeDS to "push" the information.
    HTH;
    Amy

  • How to Enhance the SAP standard WebService XMLA or others

    Now we will show the SAP BW data for other application, we apply the SAP standard WebService XMLA to retrieve the BW Cube or ODS data for external system, but the authorization for data scope is a question, I didn't know how to pass the logon user name and password to the BW system,  the SAP standard WebService XMLA did not provide the paramters for input these variants. So I want to enhance this webservice but didn't know how to do it, if anyone know this please tell me, thank you very much!

    Hi,
    When you try to access url of webservice it will prompt for user/password. .Net and Java have provision to supply user/password to webservice.
    Regards,
    Gourav

  • HOW TO CREATE A VARIABLE IN SAP SCRIPT

    HI ALL,
    CAN ANYONE TELL ME HOW TO CREATE A VARIABLE IN SAP SCRIPT.
    THANK YOU,
    BYE
    TAKE CARE.

    Hi Ravi,
    You can use like this
    A text in the editor contains the following DEFINE commands:
    /: DEFINE &mysymbol& = 'xxx xxx xxxxx xxxx'
    &mysymbol&
    /: DEFINE &mysymbol& = 'yyyyy yyy yyyy'
    / &mysymbol&
    The printed text appears

  • How to retrieve the data from SAP database.

    Hi Pals,
    How to retrieve data from SAP R/3 System to my third party software. I will make my query little bit more clear. There is a list of assets entered and stored in the SAP system. For example 3 mobile phones.
    1) Mobile 1- Nokia
    2) Mobile 2 - Samsung
    3) Mobile 3 u2013 Sony
    Now think I do not know what all assets is there. I have to retrieve the data and get it on my third party software. Just display the list of assets. Lets say SAP XI is also there. Now how will I map it and get the details.
    Please give me step by step method.
    N.B: Just to read the data from SAP database.
    Please make the flow clear step by step.
    Thanking you
    AK

    Hi,
    You can use RFC or ABAP Proxy to make synchronous call with SAP.
    Under RFC or ABAP Proxy Program you can get the data from SAP tables. Direct access to SAP Database is not preferrable even if its possible.
    The better way to go for RFC or PROXY.
    You will send the request from Third party system and the it will be as input parameters from RFC/ Proxy it will response based on it.
    This got it all..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
    HTTP to RFC - A Starter Kit
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    Refer
    Thanks
    Swarup
    Edited by: Swarup Sawant on Jun 4, 2008 9:32 AM

  • How to retrieve the data from SAP-BAPI by using VB Code

    Hi ,
    I am new to BAPI.
    V have created an application in Visual Basic with the following fields
    EmpNo , EmpName, Addr1, Addr2, City and Phone (Only for Test)
    We have written the code for SAVING the data into SAP. Already we have
    constructed a table with the respective fields in SAP.
    For that we ourself created our own BAPI Structure / Function Group /
    Function Module/ Business Object - RELEASED related elements.
    1)Established the connection successfully.
    2)Stored the data into SAP Successfully and v r in need of
    3)HOW TO RETRIEVE THE DATA FROM SAP (USING GETLIST.....GETDETAIL....)
    Following is the code :
    'BAPI Structure  : ZBAPIEMP
    'Function Group  : ZBAPIEMP
    'Function Module : ZBAPI_EMP_CREATEFROMDATA
    'Business Object : ZBAPIEMP
    'Function Module : ZBAPI_EMP_GETLIST
    Dim bapictrl As Object
    Dim oconnection As Object
    Dim boEmp As Object
    Dim oZEmp_Header As Object
    Dim oImpStruct As Object
    Dim oExpStruct As Object
    Dim oreturn As Object
    Dim x As String
    Private Sub Form_Load()
    Set bapictrl = CreateObject("SAP.BAPI.1")
    Set oconnection = bapictrl.Connection
    oconnection.logon
    Set boEmp = bapictrl.GetSAPObject("ZBAPIEMP")
    Set oZEmp_Header = bapictrl.DimAs(boEmp, "CreateFromData", "EmployeeHeader")
    Set oImpStruct = bapictrl.DimAs(boEmp, "GetList", "EmployeeDispStruct")
    End Sub
    Private Sub cmdSave_Click()
        oZEmp_Header.Value("EMPNO") = txtEmpNo.Text
        oZEmp_Header.Value("EMPNAME") = txtEmpName.Text
        oZEmp_Header.Value("ADDR1") = txtAddr1.Text
        oZEmp_Header.Value("ADDR2") = txtAddr2.Text
        oZEmp_Header.Value("CITY") = txtCity.Text
        oZEmp_Header.Value("PHONE") = txtPhone.Text
        boEmp.CreateFromData EmployeeHeader:=oZEmp_Header, Return:=oreturn
        x = oreturn.Value("Message")
        If x = "" Then
            MsgBox "Transaction Completed!..."
        Else
            MsgBox x
        End If
    End Sub
    Private Sub cmdView_Click()
    End Sub
    COULD ANYBODY GUIDE ME, HOW TO RETRIEVE THE DATA FROM BAPI, FOR THE WRITTEN CODE.

    I didn't seen any other answers but here's how it's been done previously in our organization for a custom BAPI. In this example, we give material and language to return the part description. It's not specific to your project but may give you ideas..
    -Tim
    Option Compare Database
    Dim SAPLOGIN As Boolean
    Dim FunctionCtrl As Object
    Dim SapConnection As Object
    Sub SAPLOGOUT()
    On Error GoTo LogoutFehler
        SapConnection.logoff
        SAPLOGIN = False
    Exit Sub
    LogoutFehler:
        If Err.Number = 91 Then
            Exit Sub
        Else
            MsgBox Err.Description, vbCritical, "Fehler-Nr." & CStr(Err.Number) & " bei SAP-Logout"
        End If
    End Sub
    Function SAPLOG() As Boolean
    'Verbindungsobjekt setzen (Property von FunctionCtrl)
       Set FunctionCtrl = CreateObject("SAP.Functions")
       Set SapConnection = FunctionCtrl.Connection
    'Logon mit Initialwerten
       SapConnection.Client = "010"
       SapConnection.Language = "EN"
       SapConnection.System = "PR1"
       SapConnection.SystemNumber = "00"
       'SapConnection.Password = ""
       SapConnection.GroupName = "PR1"
       SapConnection.HostName = "168.9.25.120"
       SapConnection.MessageServer = "168.9.25.120"
         If SapConnection.Logon(0, False) <> True Then  'Logon mit Dialog
             Set SapConnection = Nothing
             DoCmd.Hourglass False
             MsgBox "No connection to SAP R/3 !"
             SAPLOGIN = False
             SAPLOG = False
             Exit Function
          End If
        SAPLOG = True
    End Function
    Function MatDescr(MatNr As String)
    Dim func1 As Object
    Dim row As Object, X As Integer, ErsteNr As String
    Dim DatensatzZähler As Long
    Dim RowField(1 To 50, 0 To 1) As String, RowLine As Long
        If Not SAPLOGIN Then
            If Not SAPLOG() Then
                MsgBox "No connection  to SAP !", 16
                SAPLOGOUT
                Exit Function
            End If
        End If
    ' Instanziieren des Function-Objektes
    Set func1 = FunctionCtrl.Add("Z_BAPI_READ_MAKT")
    ' Export-Paramter definieren
    func1.exports("MATNR") = MatNr
    func1.exports("SPRAS") = "EN"
    DoEvents
    If Not func1.call Then
        If func1.exception <> "" Then
            MsgBox "Communication Error with RFC " & func1.exception
        End If
        DoCmd.Hourglass False
        SAPLOGOUT
        Exit Function
    Else
      MatDescr = func1.imports("MAKTX")
    End If
    If MatDescr = "" Then
        MatDescr = "PART NO. NOT FOUND"
    End If
    End Function

  • How to  pass a variable value into a custom planning function via a web

    Can some one tell me
    How to  pass a variable value into a custom planning function via a web template?
    What are the different types of Planning function parameters available and what is the difference between them?
    Thanks
    babu

    Hi Sutrtha,
    Yeah I got the pop up asking to select the variables used, I have selected ENTITY_ID that was used by the interfaces, but on execution of the package the Scenario did not work as the passeed variable #ENTITY_ID is set to 0 instead of the value I am passing.
    Am I missing something?
    Regards
    B

  • How to retrieve Nexus 7010 et 5596 configuration via Snmp ?

    Hello all,
    I want to know how to retrieve the complete configuration for a Nexus via the snmpwalk or snmpget commands...
    What mib's is needed ?
    Thanks for the feedback

    Hi more information, i execute the scrip below :
    #!/bin/sh
    # Script to demonstrate the SNMP commands necessary to backup the Cisco Nexus Switches
    COMMUNITY="RW community"
    HOST="Ip @"
    TFTPSERVER="srv @"
    FILENAME="nex7000.cfg"
    RND="10"
    snmpset -v 2c -c$COMMUNITY $HOST ccCopyProtocol.$RND i 1 ccCopySourceFileType.$RND i 4 ccCopyDestFileType.$RND i 1 ccCopyServerAddress.$RND a $TFTPSERVER ccCopyFileName.$RND s $FILENAME ccCopyEntryRowStatus.$RND i 4
    sleep 5
    snmpget -v 2c -c$COMMUNITY $HOST ccCopyState.$RND
    sleep 5
    snmpget -v 2c -c$COMMUNITY $HOST ccCopyState.$RND
    sleep 5
    snmpget -v 2c -c$COMMUNITY $HOST ccCopyState.$RND
    sleep 5
    snmpget -v 2c -c$COMMUNITY $HOST ccCopyState.$RND
    snmpset -v 2c -c$COMMUNITY $HOST ccCopyEntryRowStatus.$RND i 6
    When i launch it i have this message on the server :
    ./testnexus.sh
    ccCopyProtocol.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyProtocol)
    ccCopySourceFileType.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopySourceFileType)
    ccCopyDestFileType.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyDestFileType)
    ccCopyServerAddress.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyServerAddress)
    ccCopyFileName.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyFileName)
    ccCopyEntryRowStatus.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyEntryRowStatus)
    ccCopyState.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyState)
    ccCopyState.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyState)
    ccCopyState.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyState)
    ccCopyState.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyState)
    ccCopyEntryRowStatus.10: Unknown Object Identifier (Sub-id not found: (top) -> ccCopyEntryRowStatus)
    When i launch a debug snmp all, i have no error, i just see that the packet that comes it's accepted by the ACL
    Thanks for your feedback

  • How to create contract in SAP-SRM via a bespoke?

    Hi All,
    I got one requirement to create contract in SAP-SRM via a bespoke interface from the sourcing workbench.
    How to create contract in SRM via a bespoke?
    Even I don't know what is a bespoke. I belong to SAP bw platform
    kindly give me the solution.
    Thanx in advance,
    Ravi.

    Hi
    <b>Bespoke</b> <u>means</u> <b><u>Customer development</u></b>.
    So you can create Shopping carts, either automatically via logging to SRM portal or programmatically using Bespoke developments / programs.
    <b>BAPI Function module -  'BBP_PD_SC_CREATE_EXTERNAL' is used to create shopping cart from portal with other function modules.</b>
    <u>Also you can use RFC BBP_PD_SC_CREATE function module for Creating Shopping Cart.</u>
    <b>Create Shopping cart (or PO) in SRM/EBP from a flat file</b>  
    /message/3529548#3529548 [original link is broken]
    Create Shopping cart (or PO) in SRM/EBP from a flat file
    Function Module's for Shopping Cart.
    Do let me know.
    Regards
    - Atul

  • How to retrieve the values from a table if they differ in Unit of Measure

    How to retrieve the values from a table if they differ in Unit of Measure?

    If no data is read
    - Insure that you use internal code in SELECT statement, check via SE16 desactivating conversion exit on table T006A. ([ref|http://help.sap.com/saphelp_nw70/helpdata/en/2a/fa0122493111d182b70000e829fbfe/frameset.htm])
    If no quanity in result internal table
    - There is no adqntp field in the internal table, so no quantity is copied in itab ([ref|http://help.sap.com /abapdocu_70/en/ABAPINTO_CLAUSE.htm#&ABAP_ALTERNATIVE_1@1@]).
    - - Remove the CORRESPONDING, so quantity will fill the first field adqntp1.  ([ref|http://help.sap.com/abapdocu_70/en/ABENOPEN_SQL_WA.htm])
    - - Then loop at the internal table and move the quantity when necessary to the 2 other fields.
    * Fill the internal table
    SELECT msehi adqntp
      INTO TABLE internal table
      FROM lipso2
      WHERE vbeln = wrk_doc1
        AND msehi IN ('KL','K15','MT').
    * If required move the read quantity in the appropriate column.
    LOOP AT internal_table ASSIGNING <fs>.
      CASE <fs>-msehi.
        WHEN 'K15'.
          <fs>-adqnt2 = <fs>-adqnt1.
          CLEAR <fs>-adqnt1.
        WHEN 'MT'.
          <fs>-adqnt3 = <fs>-adqnt1.
          CLEAR <fs>-adqnt1.
      ENDCASE.
    ENDLOOP.
    - You could also create another table with only fields msehi and adqntp and then collect ([ref|http://help.sap.com/abapdocu_70/en/ABAPCOLLECT.htm]) the data to another table.
    Regards,
    Raymond

Maybe you are looking for

  • I think I have got it! (Almost)...Please take a look.

    Hi - I am working on a homework assignment for my Java Programming class and I have already gotten some really good advice here. I am trying to create a program that allows me to Encode/Decode Morse Code and display the cipher text or plain text depe

  • Mac OS X 10.5.6 Crash

    Right when i insert an SD card reader my mac crashes requiring a restart and when i restart it says that Mac OS X unexpectedly quit and this is the log info can anyone tell me how to fix this problem Wed Feb 25 20:21:56 2009 panic(cpu 0 caller 0x003E

  • XML transformation -- abap

    Hi Experts, I need help with this XSLT for call transformation. I have defined an internal table and intend to use it as a source for Call Tranformation. But I have Problems to defining my internal table to get the resut of the function transformatio

  • Can i eligibal for Microsoft MVP ,contributing since last three year on various forums

    Can i eligible for Microsoft MVP ,contributing since last three year on various forums,my questions are what are the Dates when I apply for MVP ? I am contributing since last three year on various forums. I am actively contributing on http://www.c-sh

  • 9iAS 9.0.3 / Webcache / Auto-Start does not start!

    Hello! I've installed 9iAS 9.0.3 (OHS, J2EE, Webcache) on SUSE-Linux. I've changed the configuration to use auto-start with the Webcache-Admin-Website and restarted the webcache. But using webcachectl status shows, that the auto-restart monitor is no