Skip to Content
author's profile photo
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    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 comment
    10|10000 characters needed characters exceeded