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.

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

Similar Messages

  • How to pass a default value in selection screen of logical database pnpce

    Dear All,
    Can any one tell me how to pass a default value in selection screen of logical database pnpce .
    Regards
    Rakesh Singh

    Hi Rakesh,
    Go to SE36 (logical database Builder).First enter PNPCE in Logical Database and press documentation,here you will get the details of exactly what is PNPCE and how it works.After that select selections in subojects in se36 only and enter display ,there you have the include from where you acn get the idea.
    Regards,
    Rahul

  • Set Default Layout in Selection Screen of  FBL3N

    Dear All,
    Here in FBL3N presently i we have a default layout is /balaji.
    But now i want to change this as a standard layout 1sap.
    I can try this in path SETTING->ADMINISTRATOR->SET DEFAULT LAYOUT.
    But after done this and save this procedure when i run this Transaction again
    no change effected.
    Means my change is not effect in selection screen of FBL3N.
    So can anybody tell me how can i change my default layout in selection screen of FBL3N .
    Please kindly help me ....
    Thanks
    Keyur

    Hi,
    Try with below navigation
    Run the report and go to the menu settings->Layout->Choose
    and also go through this link
    http://wiki.sdn.sap.com/wiki/display/ERPFI/Howtochange-setdefaultlayoutintransactionFBL1N%2CFBL3NandFBL5N
    regards
    kk

  • Default value on Selection Screen

    Hi experts,
    I want to put sy-datum + 1 as a default value on selection screen.
    I tried this but it didnt work. Please help me.
    DATA : tarih like sy-datum.
    initialization.
    tarih = sy-datum  + 1.
    SELECTION-SCREEN BEGIN OF BLOCK 3 WITH FRAME TITLE TEXT-002.
    parameters : h_tarih like sy-datum obligatory default tarih.
    SELECTION-SCREEN END OF BLOCK 3.
    Thanks

    Hi,
    Do it in INITIALIZATION event.
    SELECTION-SCREEN BEGIN OF BLOCK 3 WITH FRAME TITLE TEXT-002.
    parameters : h_tarih like sy-datum obligatory default tarih.
    SELECTION-SCREEN END OF BLOCK 3.
    INITIALIZATION.
    h_tarih = sy-datum + 1.
    In this case no need to have one more extra variable. U can directly assign to ur parameter.
    In data declaration u can only default hard coded values. But not calculated values. This is because first selection screen will be triggered and later ur calculations. So at the time of selection screen is triggered ur variable dont have any value. Thats why it was not working. Change ur code to like above. It will work fine.
    Thanks,
    Vinod.
    Edited by: Vinod Reddy Vemuru on Jun 27, 2008 12:37 PM

  • How to get default values on selection screen(multiple ranges)?

    i want to know how to maintain default ranges in selection screen...like 2000 to 3000 and 7000 to 8000 and 11000 to 15000
    all the above ranges must get by default how to provide those to selection screen by default...please give me idea...with example...

    Hi Suresh,
    You can either use select-options or Ranges. If you want the selection screen to be displayed with allwoing user to enter values apart for the default ones use select options else use ranges. With ranges what ever values use hard code would be set and the end user will not be able to add any more values (or range of values).
    Simply write the following code
    tables : <name of the table from which the field belongs>
    select-options <fieldname> for <tablename>-<fieldname>.
    <fieldname>-sign = 'I'.
    <fieldname>-option = 'BT'.
    <fieldname>-low = '7000'.
    <fieldname>-high = '8000'.
    append <fieldname>..
    similiarly add all the ranges that you need to include as default and in your select statement use the IN operator inthe where clause to include the range.
    If using range replacethe select-option with the range statement.
    Thanks.

  • To change Default Setting of Selection Screen while Filtering on infoobject

    Dear Guru's,
    I just want to know where can I change the Deafult Setting from 100 to 500 which we get in the Selection Screen when we want to Filter on Info-Object level in the Workbook.
    Hope this will clear the question , incase any further information required please let me know.
    Many thanks.

    Hi Kasi,
    Please do not post the same question twice. You can see my reply at:
    Re: To change Default Setting of Selection Screen while Filtering on infoobject

  • Default value for selection screen field

    Hi all,
      I am using LDB PNPCE. I want to give default value for field Personnel area on selection screen.
    How can I do it?
    Thanks
    Rahul

    Hi Rahul,
    In the INITIALIZATION event we can set the default values for selection screen fields.
    INITIALIZATION.
    loop at screen.
    if screen-name = 'S_MATNR-LOW'.
    CLEAR S_MATNR.
    s_matnr-low = '1234'.
    s_matnr-option = 'EQ'.
    s_matnr-sign = 'I'.
    append s_matnr.
    CLEAR S_MATNR.
    s_matnr-high = '5678'.
    s_matnr-option = 'EQ'.
    s_matnr-sign = 'I'.
    append s_matnr
    clear s_matnr.
    endif.
    endloop.
    Hope it helps.
    Mark if useful
    Regards,
    Saumya

  • Regarding selection screens in alv.

    Hi experts,
    SELECTION-SCREEN COMMENT 01(31) text-026 for field rastbis1.
    what is meant by this statement, and what is meant by 01(31) after comment.

    HI
    SELECTION-SCREEN COMMENT 01(31) text-026 for field rastbis1
    this statment means that
    for filed RASLBIS! put TEXT-026 as the comment at location starting at 01 loaction and up to 31 location
    after this statment for that filed from 01 location to 31 you can write any comment
    it will display on the screen
    see this example
    for radiobuttons normally the text will display before and next button
    i had changed that button first and text next like this
    REPORT  ZNNR_REPORT NO STANDARD PAGE HEADING MESSAGE-ID ZNNR LINE-SIZE 100 LINE-COUNT 65(4).
    ******DATA DECLARATIONS**********
    DATA : BEGIN OF IT_PLANT OCCURS 0,
            MATNR LIKE MARA-MATNR,
            WERKS LIKE MARC-WERKS,
            PSTAT LIKE MARC-PSTAT,
            EKGRP LIKE MARC-EKGRP,
           END OF IT_PLANT.
    DATA : BEGIN OF IT_PONO OCCURS 0,
            EBELN LIKE EKKO-EBELN,
            EBELP LIKE EKPO-EBELP,
            MATNR LIKE EKPO-MATNR,
            WERKS LIKE EKPO-WERKS,
            LGORT LIKE EKPO-LGORT,
           END OF IT_PONO.
    TABLES EKKO.
    ********END OF DATA DECLARATIONS*********
    ********SELECTION SCREEN DESIGN ***********
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETER : P_WERKS LIKE MARC-WERKS MODIF ID S1.
    SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS MODIF ID S2.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-004.
    SELECTION-SCREEN BEGIN OF LINE.
    <b>PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.</b>
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    <b>PARAMETERS : R2 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.</b>
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B2.
    ******END OF SELECTION SCREEN DESIGN****************
    <b>Rewar dif usefull</b>

  • How to create Multiple Selection Screen in ALV

    Hi,
    Can anybody tell me how to create the Multiple Selection screen in ALV reports.
    Plse give me code sample if possible.
    Thanks in advance
    KP

    Hi Rich,
    thanks for the reply.
    I am creating a report. in that for one field, i need to create a multiple selection screen. i mean in the output screen , i need to get the multiple selection screen for that field. in that i should be able to select multiple values, or single values or range of values.
    eg: if i take the field kunnr, i should be able to select the multiple kunnar values in the output screen. 
    Hope my problem is understood.
    Thanks
    KP

  • Selection screen in ALV output

    Hi Experts,
    My requirement is - A selection screen should pop up on the click of a button in the ALV output. Using the parameters I input on the selection screen anothor ALV should be displayed on the same page at the bottom. I'm displaying ALV using cl_gui_alv_grid.
    Thanks.
    Ajith

    Hi Nimesh,
    The requirement has slightly been updated so as to display the 2nd ALV is another screen.
    As you suggested I used the call selection screen. How ever I did not use events for the same. I called the selection screen on checking sy-ucomm in PAI.
    After I input the values in the pop up selection screen , even if I click the cancel button(at bottom) or the close button( top corner)  the execution still  follows and the second ALV is displayed.
    Please help me in this so that If I click on cancel or close the second ALV is not displayed and the control remains in the first ALV
    Thank you.
    Edited by: Ajith  Krishna on Oct 31, 2008 10:24 PM

  • Set default value to selection screen for report

    Hi All,
       I've a report selection screen which has 3 fields from the report category: PNPPERNR, PNPSTAT1, PNPBTRTL. My logical database is PNPCE.
       How can I set the default value to the field PNPSTAT1? Means when I first display the selection screen, the value for this field will automatically display '3' in it.
       Hope someone can help me on this.
    Thanks.

    Hi All,
       Thanks for reply. But I think I should declare my question clearer.
       Actually it's not a parameter.
      My problem is when using the logical database, if you define a TABLES: PERNR, then you can see the SAP standard report selection screen. So my selection screen has 3 standard fields which are PNPPERNR, PNPSTAT1, and PNPBTRTL.
       I need to set the default value '3' to field PNPSTAT1.
    Thanks.

  • How to get a varient vale by default on to selection screen?

    How do we display the varient value on selection screen by default?

    Hi,
    Call the following FM in Initialization event.
      g_save = 'A'.
      CLEAR g_variant.
      g_variant-report = sy-repid.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
        EXPORTING
          i_save     = g_save
        CHANGING
          cs_variant = g_variant
        EXCEPTIONS
          not_found  = 2.
      IF sy-subrc = 0.
        p_vari = g_variant-variant.
      ENDIF.

  • Default value in Selection-screen

    Hi,
    Am using Email address as a parameter on Selection-screen.
    like
    PARAMETERS:p_addr type AD_SMTPADR.
    it works fine but problem is:
    now i want to fill it by-default in selecrion-screen as login user id's email address.
    how can i achieve that?
    Amit.

    Hi,
    PARAMETERS:p_addr type AD_SMTPADR.
    Write the code in Initialization
    INITIALIZATION.
    p_addr = abc at xyz.com
    Reward points if helpful.

  • Default value in selection screen in display mode

    Hai Friends,
    In my selection screen i have a parameter PA_LEVEL, this should have a default value as 10 but it should not be in the change mode. i want that to be in the display mode as in FAGLL03 ( Ledger value ).
    how can i do this.
    Moderator message - Please do not ask such basic questions. This can easily be answered by searching the forum.
    Edited by: Rob Burbank on Apr 16, 2009 12:18 PM

    Hi,
    Use LOOP AT SCREEN...ENDLOOP. in the AT SELECTION-SCREEN OUPTUT event to disable the input field.
    LOOP AT SCREEN.
    IF screen-name CS 'FIELDNAME'.
    screen-input = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.

  • How to set default variant for selection screen

    Hi,
    I want to make one variant as default for selection screen for one user.
    For eg., take COOIS. For the selection screen, i have 3 variants. But i want one variant to be default. Thsi is not for all users. Thsi is for particular user.
    I am not seeing any way to do this. please help me..
    Thanks
    Srini

    Hi,
    If you are using Z program then you can ask your developer to get Variant name Runtime from Parameter ID.
    This means you decide a Parameter ID name : ZVAR in your Z program and ask your developer to load variant each time your Z program loads.
    Now, second step will be using SU01 transaction you can set value of ZVAR in Parameters tab for the user. This value will be the variant which you created for this user.
    This will solve your problem and you can make n number of variants and assign it to different users.
    Regards,
    Arpit

Maybe you are looking for

  • Maintaining BW authorization data in R/3

    Hi, I am faced with a new problem now. My client wants to maintain BW authorization data in R/3 for ease of maintainence. I have used two ODS template for data (value) and (hierarchy) - (0TCT_DS01 and 0TCT_DS02) and have created two data targets for

  • Packaging ADF application with Libraries

    Hi Experts, I was exploring on packaging/ bundling an ADF application with all required libraries, so that this application can be deployed on any J2EE server. I have gone through another thread on similar topic - Error while deploying ADF applicatio

  • Connect camera to IMac by WiFi

    I want to connect my Sony camera (DSC HX50V) to my IMac (Intel, 10.6.8) through WiFi.  The camera instructions say to press the WPS button on my router to set this up.  Unfortunately, my Airport Express router (802.11n) does not have a WPS button.  I

  • How to change location information under metadata tab?

    When I use the search box under the Places icon to assign a location to a photo, sometimes Aperture places a pin near but not directly on the place I have identified and puts an incorrect location in the tag.  If I zoom in, I can accurately place the

  • Storing a voice into file using RTP

    Hello every body Can I store the voice Conversation which transmitted between two end points? Im using AVtransmit and AVReceive for transmitting and Receiving. I want to store the voice in to a file. is it possibe? kindly provide me the code if Thank