Skip to Content
author's profile photo Former Member
Former Member

Get Query Data via RFC

Hello!

I try to execute an Query via RFC in an Visual Basic environment.

I have heard that this could be done with RRW3_GET_QUERY_VIEW_DATA Function Call.

Here is the source code I wrote:

     Dim getQueryData As Object
        Dim paramQuery As Object
        Dim paramInfoprovider As Object
        
        
        Dim OK As Boolean
        
        
        Set getQueryData = funcControl.Add("RRW3_GET_QUERY_VIEW_DATA")
        
        Set paramQuery = getQueryData.exports("I_QUERY")
        Set paramInfoprovider = getQueryData.exports("I_INFOPROVIDER")
        
        paramQuery.value = "ZSUNMAINACCOUNTS"
        paramInfoprovider.value = "0FIGL_VC1"
        
        
        OK = getQueryData.Call

The object funcControl contains an successfully loged in connection to My SAP BW SEM 4.0.

The variables paramQuery contains the technical query name to get.

The code does't work, after adding the RRW3_GET_QUERY_VIEW_DATA I can't set the export parameters.

Whats going wrong here! Is there documenation how to get queries out of my BW?

Thank you for any reply!

Best regards,

Richard

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 04, 2011 at 04:14 PM

    Hi

    I've got the same problem - did you find a resolution?

    Warwick

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.