cancel
Showing results for 
Search instead for 
Did you mean: 

Get Query Data via RFC

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

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

Warwick