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

select-options and parameters

hi,

In How many ways we can define select-options and parameters.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2008 at 05:13 AM

    PARAMETERS for single fields

    SELECT-OPTIONS for complex selections

    Check this link for defining Parameters and select options

    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba68335c111d1829f0000e829fbfe/content.htm

    Regards,

    Maha

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2008 at 05:30 AM

    hi uday,

    Usually we use PARAMETERS for single value input and

    SELECT-OPTIONS is used to give a range of input values for a single field

    SELECT-OPTIONS implicitly consists of internal table with fields

    OPTIONS

    LOW

    HIGH

    SIGN

    eg:

    DATA: G_VBELN TYPE VBAK-VBELN.

    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.

    PARAMETERS : P_VBELN LIKE VBAK-VBELN.

    SELECT-OPTIONS: S_VBELN FOR G_VBELN.

    SELECTION-SCREEN END OF BLOCK B1.

    o/p:

    P_VBELN: _________________.

    S_VBELN:___________ TO ____________.

    reward if helpful

    regards.

    shashikanth naram.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2008 at 06:55 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2008 at 08:55 AM

    Hi uday Kiran,

    There is only one method to define SELECT-OPTIONS but there is two methods are available to define PARAMETERS.

    SELECT-OPTIONS:

    TABLES:MARA

    SELECT-OPTIONS: S_MATNR FOR MARA-MATNR.

    PARAMETERS:

    TABLES:MARA

    1.PARAMETES : S_MATNR TYPE MATNR.

    2.SELECT-OPTIONS: S_MATNR FOR MARA-MATNR NO-EXTENSION NO INTERVALS.

    Reward points if helpful.

    Kiran Kumar.G.A

    Have a Nice Day..

    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.