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

symbol as default in a selection screen in alv

hi all,

how to bring GE(>=) symbol as default in a selection screen in alv report.

by

Ramesh.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2014 at 09:35 AM

    Hi Ramesh,

    you can put this under INITIALIZATION.

    s_xxxxx-sign = 'I'.

    s_xxxxx-option = 'GE'.

    modify s_xxxxx.

    Sam

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 22, 2014 at 09:35 AM

    Hi Ramesh,

    Can you please elborate your query, where exactly you need 'GE' icon/symbol?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2014 at 09:35 AM

    Hi

    You can do it in INITIALIZATION event:

    initialization.

    s_bukrs(3) = 'IGE'.

    append s_bukrs.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2014 at 09:43 AM

    Hi Ramesh,

    To make select option of selection screen as (>=) as default, you can use the FM

    SELECT_OPTIONS_RESTRICT

    Thanks & Regards,

    Arun

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 22, 2014 at 10:00 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2014 at 11:10 AM

    Hai Ramesh,

    Create Pushbuttons in selection screen ,In pushbutton write the ' >=' instead of providing the text.

    Try like this may be u will find the answer,

    REPORT DEMO.

    TABLES SSCRFIELDS.

    DATA FLAG.

    SELECTION-SCREEN:

    BEGIN OF SCREEN 500 AS WINDOW TITLE TIT,

    BEGIN OF LINE,

    PUSHBUTTON 2(10) BUT1 USER-COMMAND CLI1,

    PUSHBUTTON 12(10) TEXT-020 USER-COMMAND CLI2,

    END OF LINE,

    BEGIN OF LINE,

    PUSHBUTTON 2(10) BUT3 USER-COMMAND CLI3,

    PUSHBUTTON 12(10) TEXT-040 USER-COMMAND CLI4,

    END OF LINE,

    END OF SCREEN 500.

    AT SELECTION-SCREEN.

    CASE SSCRFIELDS.

    WHEN 'CLI1'.

    FLAG = '1'.

    WHEN 'CLI2'.

    FLAG = '2'.

    WHEN 'CLI3'.

    FLAG = '3'.

    WHEN 'CLI4'.

    FLAG = '4'.

    ENDCASE.

    START-OF-SELECTION.

    TIT = 'Four Buttons'.

    BUT1 = 'Button 1'.

    BUT3 = 'Button 3'.

    CALL SELECTION-SCREEN 500 STARTING AT 10 10.

    CASE FLAG.

    WHEN '1'.

    WRITE / 'Button 1 was clicked'.

    WHEN '2'.

    WRITE / 'Button 2 was clicked'.

    WHEN '3'.

    WRITE / 'Button 3 was clicked'.

    WHEN '4'.

    WRITE / 'Button 4 was clicked'.

    WHEN OTHERS.

    WRITE / 'No Button was clicked'.

    ENDCASE.

    This example defines four pushbuttons on a selection screen that is displayed as a dialog box. The selection screen is defined in a statement chain for keyword SELECTION-SCREEN.

    If the text symbols TEXT-020 and TEXT-040 are defined as 'Button 2' and 'Button 4', the four pushbuttons appear as follows on the selection screen displayed as a dialog box.

    CLI1, CLI2, CLI3 and CLI4 are used for <ucom>. When the user clicks one of the pushbuttons, the AT SELECTION-SCREEN event is triggered, and the FLAG field is set. The FLAG field can be further processed during subsequent program flow after the user has chosen Execute.

    Refer the above code, and make change just to clear all the fields in the selection screen, when corresponding push button is clicked..

    May be this answer is helpful to u.

    Regards,

    Skumari

    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.