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

Setting multiple default values for a BEx variable

Hi,

Can anyone tell me how to set multiple default values for a BEx variable?

Regards,

Suchitra

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 09:48 AM

    Suchitra,

    You can do this while creating the variable itself or else go the change mode of the variable created and the there in the default values option you can se the multiple variables as per your req..

    Gattu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 09:41 AM

    Suchitra,

    you can do that in eth default option given in teh variable definition. Also you can populate the default values using a customer exit by writing the code in I_STEP = 1.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 10:50 AM

    Hi,Try the follwing exit:

    Cerate a variable which represents Multiple single values and ready for input.

    replace 001 and 002 with Keys of your characteristic values.

    DATA:L_S_RANGE TYPE RSR_S_RANGESID.

    I_STEP = 1.

    CLEAR L_S_RANGE.

    L_S_RANGE-LOW ='001'.

    L_S_RANGE-SIGN = 'I'.

    L_S_RANGE-OPT = 'EQ'.

    APPEND L_S_RANGE TO E_T_RANGE.

    L_S_RANGE-LOW = '002'.

    L_S_RANGE-SIGN = 'I'.

    L_S_RANGE-OPT = 'EQ'.

    APPEND L_S_RANGE TO E_T_RANGE.

    ENDFUNCTION.

    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.