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

RRW3_GET_QUERY_VIEW_DATA Parameter

Hello,gurus!

I'm fighting the whole day against this parameter table!

So, I'm testing this FM via SM37.

I enter I_QUERY = Name of my query

and then I fill the table I_T_PARAMETER with following values:

VAR_SIGN_1 = I

VAR_OPERATOR_1 = EQ

VAR_VALUE_LOW_EXT_1 = USD

VAR_NAME_1 = ZMY_CURR_VAR

When I write N = V I mean that I place N into Name column and V into Value.

But system writes that variable ZMY_CURR_VAR is empty!

Every resource says that this table is only data I need, but it doesn't work!

Any ideas?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 04, 2015 at 06:49 PM

    Hi Mike,

    It would help us to give better advice if we understand more about the context of using Function Module RRW3_GET_QUERY_VIEW_DATA and also the relevant coding where the Function Module is called.

    I had a look at the interface of the Function Module and I do not understand how you are trying to deal with importing parameter table I_T_PARAMETER. It is defined as Table Type RRXW3TQUERY which uses Line Type W3QUERY. Line Type W3QUERY only has two components:

    NAME (CHAR30)

    VALUE (CHAR250)

    As far as I understood what you are trying to do, you want to create a record in the internal table with NAME = 'ZMY_CURR_VAR' and VALUE = 'USD'. You will have to prepare an internal table of type RRXW3TQUERY where you append a record of type W3QUERY with the NAME and VALUE you need.

    The coding to prepare the internal table could roughly look as follows:

    DATA:

    l_t_parameter TYPE RRXW3TQUERY,

    l_s_parameter TYPE W3QUERY.

    REFRESH:

    l_t_parameter.

    CLEAR:

    l_s_parameter.

    REFRESH:

    l_s_parameter-name = 'ZMY_CURR_VAR'.

    l_s_parameter-value = 'USD'.

    APPEND l_s_parameter TO l_t_parameter.

    Best regards,

    Sander

    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.