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

Select-options How to assign Default value as "Not equal to something"

My req. is to asssign default value for a select-option as <> "DS1" . I am able to give default value as DS1 But dont know how to give "<> DS1" . Please help me

Thanking u in advance ..

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 14, 2004 at 10:48 AM

    INITIALIZATION.

    s_lifnr-low = '0001'.

    s_lifnr-high = '0002'.

    s_LIFNR-sign = 'I'.

    s_lifnr-option = 'NE'.

    append s_lifnr.

    Regards,

    Subramanian V.

    P.S. - Raja, still mode = BSP ??? :-P

    Message was edited by: Subramanian Venkateswaran

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Actually i had put the following code in

      start-of-selection.

      INITIALIZATION.

      s_lifnr-low = '0001'.

      s_lifnr-high = '0002'.

      s_LIFNR-sign = 'I'.

      s_lifnr-option = 'NE'.

      append s_lifnr.

      I moved the same and put it before start-of-selection.

      Then it was working fine ..

      Thank u for spending time with me to solve the problem.

  • Posted on Dec 14, 2004 at 10:45 AM

    In your OnInitialization event fill up the range table of the selectoption.

    For e.g if your select-option is BUKRS.

    move: 'I' to bukrs-sign ,

    'NE' to bukrs-option ,

    <defualt value> to bukrs-low .

    append bukrs.

    Hope this helps.

    REgards

    Raja

    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.