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

Dynamic population of a selection parameter in a Variant

Hi All,

Is there a way to dynamically populate the selection-screen parameter(not a date) in a variant...SAP provides option of doing this only for dates(FM RS_VARI*).

To explain my requirement,

I have 3 parameters on the selection screen. Eg: In the variant if param1 = A and param2 = B. Can I write a function to read the two parameters above and populate param3 dynamically.

TIA & Regards,

Pramod

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 19, 2004 at 10:19 AM

    Why do you need to do it in the variant cant you just do it in the program code within the AT 'SELECTION-SCREEN OUTPUT' event.

    ie.

    AT SELECTION-SCREEN OUTPUT.

    if param1 = 'A' and param2 = 'B'.

    param2 = 'AB'. "or what ever

    endif.

    This will always populate param3 based on param1 and 2 irrespective of whether it is using a variant or not.

    hope this helps

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 19, 2004 at 09:47 PM

    Hi Mart,

    My requirement is for a std SAP program...hence changing the program is not an option.

    Regards,

    Pramod

    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.