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

RANGES USE

Hi Friends,

why we are sing ranges in org..

what is diffreence between RANGES AND SELECT-OPTIONS..

REGARDS,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 06:49 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 08:49 PM

    some times during codeing u might get a req where u need to select some set, in such cases u can just build a range there and say XXX in Range R1.

    Add a comment
    10|10000 characters needed characters exceeded

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

    SELECT-OPTIONS can be used with the CHECK field IN ... statement. RANGES cannot.

    Rob

    Add a comment
    10|10000 characters needed characters exceeded

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

    RANGES have to be declared when you want to put IF condition against a group of records.

    suppose you wanna say IF a = 3 or a = 5 or a = 7 or a =11

    you can do

    ranges xxx for XXX

    xxx-sign = 'I'

    xxx-option = 'EQ'

    xxx-low = 3

    append xxx

    xxx-sign = 'I'

    xxx-option = 'EQ'

    xxx-low = 5

    append xxx

    xxx-sign = 'I'

    xxx-option = 'EQ'

    xxx-low = 7

    append xxx

    xxx-sign = 'I'

    xxx-option = 'EQ'

    xxx-low = 11

    append xxx

    IF a IN xxx.

    logic

    ENDIF.

    Add a comment
    10|10000 characters needed characters exceeded

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

    you would not like to create select options for the above requirement cuz then it will come on the selection screen.

    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.