Init & at selection screen o/p

hi !
i need the difference between
initialization and at selection-screen output   events.
please explain with an example.
points will be awarded!

At selection screen o/pevent is executed at PBO of the selection screen every time the user presses ENTER - in contrast to INITIALIZATION . Therefore, this event is not suitable for setting selection screen default values. Also, since AT SELECTION-SCREEN OUTPUT is first executed after the variant is imported (if a variant is used) and after adopting any values specified under SUBMIT in the WITH clause, changing the report parameters or the selection options in AT SELECTION-SCREEN OUTPUT would destroy the specified values.
Here, however, you can use LOOP AT SCREEN or MODIFY SCREEN to change the input/output attributes of selection screen fields.
Example
Output all fields of the SELECT-OPTION NAME highlighted:
    SELECT-OPTIONS NAME FOR SY-REPID MODIF ID XYZ.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        CHECK SCREEN-GROUP1 = 'XYZ'.
        SCREEN-INTENSIFIED = '1'.
        MODIFY SCREEN.
      ENDLOOP.
Executed before the selection screen is displayed.
The parameters (PARAMETERS ) and selection criteria (SELECT-OPTIONS ) defined in the program already contain default values (if specified). You can assign different values here and also change the database-specific selections.
In contrast to R/2 , this event is also executed during background processing.
Example
Define the last day of the previous month as the key date:
    PARAMETERS QUAL_DAY TYPE D DEFAULT SY-DATUM.
    INITIALIZATION.
      QUAL_DAY+6(2) = '01'.
      QUAL_DAY      = QUAL_DAY - 1.
Here, the default value of QUAL_DAY is the current date, e.g. 05.04.88 ( QUAL_DAY = '19880405'). Two subseqent statements set the date first to the beginning of the month, e.g. 01.04.88 ( QUAL_DAY = '19880401') and then, by subtracting one day, to the last day of the previous month, e.g. 31.03.88 ( QUAL_DAY = '19880331').
Note
In more precise terms, INITIALIZATION is executed in the following steps:
Specify default values for the selections. Execute the event INITIALIZATION. Import variant (if used to start the report). On SUBMIT , the values specified for each WHERE clause are also transferred, if necessary. Execute the event AT SELECTION-SCREEN OUTPUT , if it occurs in the report (unlike INITIALIZATION , this event is always executed for PBO of a selection screen). Display selection screen. Transport the screen fields containing user input to the report fields. Continue with START-OF-SELECTION .

Similar Messages

  • How to hide default buttons on WD selection screen

    Hi Experts,
    Is there a way to hide default buttons ( Cancel, Check, Reset, Copy ) on web dynpro selection screen ??
    Please let me know how can I achieve this..
    Thanks in advance !
    Anand

    By selection screen do you mean the select-options reusable component?  If so, then there is an API of the component that you can call to disable these fields. Use the SET_GLOBAL_OPTIONS method of the select-options API to acomplish this:
    data: l_ref_cmp_usage type ref to if_wd_component_usage.
      l_ref_cmp_usage =   wd_this->wd_cpuse_select_options( ).
      if l_ref_cmp_usage->has_active_component( ) is initial.
        l_ref_cmp_usage->create_component( ).
      endif.
      wd_this->lv_wd_select_options =
           wd_this->wd_cpifc_select_options( ).
    * init the select screen
      wd_this->lv_sel_handler =
           wd_this->lv_wd_select_options->init_selection_screen( ).
      wd_this->lv_sel_handler->set_global_options(
        EXPORTING
    *      i_display_btn_cancel  = ABAP_TRUE    " Displays "Cancel" Button
    *      i_display_btn_check   = ABAP_TRUE    " Displays "Check" Button
    *      i_display_btn_reset   = ABAP_TRUE    " Displays "Reset" Button
          i_display_btn_execute = abap_false    " Displays "Apply" Button

  • How to display icons on selection screen ,without using classes.

    Hi Experts,
    How can we display icons on the selection-screen ..?
    one of the methods i heard frm my frnds was to use                   ->cl_gui_picture_viewer
    but as a begginer i am not tht comfortable with classes .So is there a way around to display icons on my selection screen without using classes .
    Thanx in Advance,
    Regards ,
    Rajesh .

    Hi,
    here a short example:
    REPORT Z_TEST2.
    TABLES: SSCRFIELDS.   "Felder auf Selektionsbildern
    INCLUDE .
    SELECTION-SCREEN: BEGIN OF BLOCK A01 WITH FRAME TITLE MELDUNG1.
    SELECTION-SCREEN: SKIP 2.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN: COMMENT 10(04) T_ICON.
    SELECTION-SCREEN: END   OF LINE.
    SELECTION-SCREEN: SKIP.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN: COMMENT 01(34) T_AUFSD.
    PARAMETERS:       P_AUFSD  AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN: END   OF LINE.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN: COMMENT 01(34) T_AUFCO.
    PARAMETERS:       P_AUFCO  AS CHECKBOX DEFAULT ' '.
    SELECTION-SCREEN: PUSHBUTTON 45(04) PB01 USER-COMMAND SALL.
    SELECTION-SCREEN: PUSHBUTTON 50(04) PB02 USER-COMMAND DALL.
    SELECTION-SCREEN: END   OF LINE.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN: COMMENT 01(34) T_AUFCS.
    PARAMETERS:       P_AUFCS  AS CHECKBOX DEFAULT ' '.
    SELECTION-SCREEN: END   OF LINE.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN: COMMENT 01(34) T_AUFPP.
    PARAMETERS:       P_AUFPP  AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN: PUSHBUTTON 45(15) PB03 USER-COMMAND INIT.
    SELECTION-SCREEN: END   OF LINE.
    SELECTION-SCREEN: SKIP 2.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN: PUSHBUTTON 45(15) PB04 USER-COMMAND ONLI.
    SELECTION-SCREEN: END   OF LINE.
    SELECTION-SCREEN: SKIP 2.
    SELECTION-SCREEN: END   OF BLOCK A01.
    AT SELECTION-SCREEN.
      IF SSCRFIELDS-UCOMM = 'SALL'. "alle selektieren
        P_AUFSD = 'X'.
        P_AUFCO = 'X'.
        P_AUFCS = 'X'.
        P_AUFPP = 'X'.
      ENDIF.
      IF SSCRFIELDS-UCOMM = 'DALL'. "alle deselektieren
        P_AUFSD = ' '.
        P_AUFCO = ' '.
        P_AUFCS = ' '.
        P_AUFPP = ' '.
      ENDIF.
      IF SSCRFIELDS-UCOMM = 'INIT'. "initialisiern
        P_AUFSD = 'X'.
        P_AUFCO = ' '.
        P_AUFCS = ' '.
        P_AUFPP = 'X'.
      ENDIF.
    INITIALIZATION.
      MELDUNG1 = 'Datenbankselektion'.
      T_ICON   = ICON_PRINT.
      T_AUFSD  = 'Kundenauftrag'.
      T_AUFCO  = 'Innenauftrag'.
      T_AUFCS  = 'Serviceauftrag'.
      T_AUFPP  = 'Fertingungsauftrag'.
      PB01     = ICON_SELECT_ALL.
      PB02     = ICON_DESELECT_ALL.
      CONCATENATE ICON_REFRESH 'Initial' INTO PB03.
      CONCATENATE ICON_EXECUTE_OBJECT 'Ausführen' INTO PB04.
    START-OF-SELECTION.
    write: / 'Test'.
    END-OF-SELECTION.
    Regards, Dieter

  • Selection screen field not accepting 0 as a value

    i have declared a field in the selection screen as
    SELECT-OPTIONS:  s_level    FOR  crmm_territory-level_id .
    and this field will comprise of values from 0-9. but when im executing the report this field is not accepting 0 as a value, instead it is treating it as a blank and providing me all the values for s_level from 0-9.
    its working fine with any other value and is displaying their respective values for 1-9
    only problem is when i give the value as zero.
    also in the debugger i tried to IF s-level[] is not initail...its showing it as initial
    while i have provided it a value of 0.
    thanks.

    Hello Divya,
    If you are giving 0 in the select-options....
    if that field is numeric... it means that it is inital.
    If that field is character... then it will display the result accordingly.
    Check with the data element of the reference field.
    Reward If Helpful
    Regards
    Sasidhar Reddy Matli.

  • Navigational attribute in selection screen gives no applicable data

    Hi Gurus
    In the report i am using the navigational attribute in the selection screen.e.g Brand (attribute of material)
    My problem is whenevr i enter value in the navigational attribute (brand)  in the selection screen and execute  its says no data found.
    If i do not fill this parameter and fill only the parent attribute (material)  in the selection screen  , then i can see the results and from its properties  (drilling down )i can see the values of brand .
    If the values of brand exist why via selection screen its not giving vales, However Via material i can drill down and see brand values.
    I have done all the necessary steps to make this attribute as navigational.
    On top of this i have this same navigation attributes as one of the characterisitc in the cube.
    Thanks
    DD

    Hello,
    I've the same problem... for new nav. attributes for 0Material.
    Settings for nav. attibutes in BEx Q.D. are OK.
    But in BEx Analyzer:
    1- not display all values for this attributes. Some values are displayed, some don't.
    I try display it with and without selection screen.  The result is the same.
    2- I try to display (normal) attributes - not nav. In this case everything is OK.
    But I've 2 columns: normal attribute for all values and nav. attribute only with some values...
    (the query is something like: 0Material + 0Material_NOTnav_attr + 0Material_NOTnav_attr)
    It isn't a normal...
    I don't know... Maybe it's depend of the time?
    I can't clear all master data for 0Material, because they're used in some cubes. I had old characteristic without nav. attr. but with master data. I added nav. attr. in 0Material and activated it. Next I load master data (full method). Then I added nav. attr. in infocube, activated it, delete and load data into the cube (Init + Delta).
    If I display data for the cube in RSA1, I can see nav. attr. for all records. I can't see it in BEx Analyzer...
    Can U explain it?
    Thx,
    MSzN

  • BEx web report selection screen entries retain when closing and opening the report again

    Hello all,
    please help me in the below query.
    Till last month the entries we made in BEx web report selection screen are retained in the selection screen even when we close the web report and open it again from portal without logging off. But recently this functionality is missing and the entries in selection screen are not remembered when we close and open the same report again. It is a good feature for the users. Have you come across this issue?

    No...I think i can reframe the question very clearly......For ex:  we are opening a Bex Web report...so initally we would be prompted by the variable selection screen...in which we have to give the entries(Values) for those variables like Cal month, Sales org, Company code, etc.....Later on the report will get open based on the values we have given......
    Now if we close the particular report without logging off then if i try to open the same report that selected values are missing.....earlier it used to remember the values we have given until we log off....But now that functionality is missing....It was very useful feature.....Can you please tel me what can be done to resolve this??
    I hope the explanation would be clear now.

  • How to  create a selection screen with two tab strips

    Hi Experts,
    I need to craete a selection screen '100' with two tab strips, in the 1st tab strip i need create some select options as subscreen and in other tabstrip i need to call the subscren '4000' of the program 'SAPLCTMS' . i need to call this screen as selection screen from the zprogram. please help me out.
    Thanks in advance...
    Sarath...J

    Hi,
    I have developed some code.
    It just displays a table control and after entering the values init, upon hitting the return button, the values will be put into table itab. Have a look and make necessary changes as you see fit.
    *& Report  ZMADHU_TBCNTL
    REPORT  zmadhu_tbcntl.
    DATA: BEGIN OF itab OCCURS 0,
         sel TYPE s_flag,
         matnr TYPE matnr,
         ersda TYPE ersda,
         ernam TYPE ernam,
      END OF itab.
    CONTROLS: tab_cntl TYPE TABLEVIEW USING SCREEN 100.
    *START-OF-SELECTION.
    CALL SCREEN 100.
    *END-OF-SELECTION.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'TABCNTL'.   "pf status
    SET TITLEBAR 'xxx'.
      CASE sy-ucomm.
        WHEN 'BACK' OR
             'CANCEL' OR
             'EXIT'.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  ITAB_MODIFY  INPUT
          text
    MODULE itab_modify INPUT.
      CASE sy-ucomm .
        WHEN ' '.        " When pressed enter
    if itab-sel = 'X'.
          MODIFY itab INDEX tab_cntl-current_line.
          APPEND itab.    " append lines to internal table
          CLEAR itab.
    *endif.
      ENDCASE.
    ENDMODULE.                 " ITAB_MODIFY  INPUT
    *Screen 100 flow logic.
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      LOOP AT itab WITH CONTROL tab_cntl CURSOR
      tab_cntl-current_line..
      ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE select_data.
      LOOP .
        CHAIN.
          FIELD itab-matnr.
          FIELD itab-ersda.
          FIELD itab-ernam.
          MODULE itab_modify ON CHAIN-REQUEST.
        ENDCHAIN.
      ENDLOOP.
    MODULE USER_COMMAND_0100.
    Hope it will helps to u.
    Thanks,
    Shankar

  • Selection-screen comment.....?`

    Hi All,
    I need explanation for the following statement
           SELECTION-SCREEN COMMENT 1(15) TEXT-001.
    What does 1 and 15 mean in the above statement?
    Regards
    Dnyanesh

    Hai Go through the following Document
    SELECTION-SCREEN COMMENT fmt name.
    Additions
    1. ... FOR TABLE dbtab
    2. ... FOR FIELD f
    3. ... MODIF ID mod
    4. ... ID id
    Effect
    Generates a comment on the selection screen. For the name name , there are two options:
    name takes the form TEXT-xxx where xxx is a three-character name for a text symbol. In this case, the contents of the text symbol are displayed at runtime, i.e. the text cannot be changed dynamically. name is another eight-character name. Here, you create a field with the name name in the length specified in the format fmt< /> and it is then generated as an output field on the selection screen. The contents of these comments must therefore be set at runtime (e.g. at INITIALIZATION or - in the case of comments in the database include program DBldbSEL - in the routine INIT of the database program SAPDBldb . They can also be changed when the selection screen is being processed.
    Note
    The field name is generated automatically and so cannot be defined with DATA .
    With comments, you must always specify a format fmt (see variant ULINE ).
    Note
    You must program a new line yourself via the format fmt .
    Addition 1
    ... FOR TABLE dbtab
    Note
    See variation 3 (SELECTION-SCREEN SKIP).
    Addition 2
    ... FOR FIELD f
    Effect
    Since the comment is assigned to a parameteror a select-option , the help display shows the documentation of the reference field if this parameter or selection option.
    In addition, the comment is suppressed if the reference object was set to 'invisible' via a selection variant.
    Note
    In database access routines, the comment is generated whenever the reference field is output. Therefore, you should not use the addition FOR TABLE with this variant.
    Example
    SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT 10(20) TEXT-001
                       FOR FIELD PARM.
      SELECTION-SCREEN POSITION POS_LOW.
      PARAMETERS PARM LIKE SAPLANE-PLANETYPE.
    SELECTION-SCREEN END OF LINE.
    This code displays a 20-byte long comment followed by the parameter at the normal position ( POS_LOW ) on the same line. If the user presses F1 for both objects, the documentation of SAPLANE-PLANETYPE is displayed.
    Addition 3
    ... MODIF ID mod
    Addition 4
    ... ID id
    Thansk & regards
    Sreenivasulu P

  • Get TEXT OF Pushbutton on selection-screen

    HI ,
       How can i get the name of the pushbutton on the selection-screen.

    Dear Arun,
    First of all Thanks for giving me points for your 'Time Query'.
    It was my first inauguration in sdn.
    Regarding this 'Button Name'  Query,
    It seems to me that your problem is still not solved.
    All the answers provided do 'Something Else'
    and your 'Real Questions' remains unsolved.
    Its a very good question. I also tried much and
    presently conclude that for achieving this :
    1. Some Discipline in Naming Convention has to be followed.
    2. This discipline is between
        a) Name of button
        b) user command for this button
    3. I have written a sample code in which
        a) 3 buttons appear on screen.
        b) press any one button
        c) then press 'Execute' Button For displaying name
    4. The main logic is to
        a) search by using a 'Loop at Screen'
        b) In the loop, in the name field search the ucomm.
    5. I hope this will be satisfactory till time. If it get
    something more, i will let u know.
    6. Once again please give points if u feel satisfied.
    Thanks & Regards,
    Amit Mittal.
    REPORT abc.
    DATA : btnname(8) TYPE c.
    REQUIRED
    TABLES sscrfields.
    Create Button
    Note : Name Of Button 'U1_HELLO'
            Starts with 'U1' (assigned user command)
            This kind of discipline required
    SELECTION-SCREEN PUSHBUTTON /10(20) u1_hello USER-COMMAND u1.
    SELECTION-SCREEN PUSHBUTTON /10(20) u2_hello USER-COMMAND u2.
    SELECTION-SCREEN PUSHBUTTON /10(20) u3_hello USER-COMMAND u3.
    Init
    INITIALIZATION.
      MOVE 'BUTTON 1' TO u1_hello.
    MOVE 'BUTTON 2' TO u2_hello.
    MOVE 'BUTTON 3' TO u3_hello.
    AT SELECTION-SCREEN.
    *------- Loop at Screen
      LOOP AT SCREEN.
        IF screen-name CS sscrfields-ucomm.
    FOUND
          btnname = screen-name.
        ENDIF.
      ENDLOOP.
    END-OF-SELECTION.
      WRITE:  'BUTTON NAME IS ' , btnname.

  • Add Selection Screen on splitter container

    Hi All,
    Can anyone help me how to add selection screen like select-options: matnr for mara-matnr etc..in custom container.
    I have one custom container and i splitted into left panel and right panel. My left panel will be selection screen, Once user enters the selection in left panel right panel should be populated with data,
    Your valuable answers will ge great and rewarded....
    Thanks
    Cris

    Hi All,
    Any other suggessions to acheive my requirement. For example create sub screen add my selection parameters into sub screen.
    I have never used oops tech in ABAP, but know theoritically and how to use.
    Finally is there any method which we can add subscreen to container.
    Given below is my actual code and i need to add selection screen into w_child21.
    REPORT  ZTEST.
    TYPE-POOLS: cndp,slis.
    DATA  init.
    DATA ok_code TYPE sy-ucomm.
    DATA: w_container   TYPE REF TO cl_gui_custom_container,
          w_splitter    TYPE REF TO cl_gui_splitter_container,
          w_child1        TYPE REF TO cl_gui_container,
          w_child2        TYPE REF TO cl_gui_container,
          w_splitter2     TYPE REF TO cl_gui_splitter_container,
          w_child21       TYPE REF TO cl_gui_container,
          w_child22       TYPE REF TO cl_gui_container.
    CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'STATUS'.
      IF init is initial.
    create a container for the control
        CREATE OBJECT w_container
          EXPORTING
            container_name              = 'CUSTOM'
          EXCEPTIONS
            cntl_error                  = 1
            cntl_system_error           = 2
            create_error                = 3
            lifetime_error              = 4
            lifetime_dynpro_dynpro_link = 5.
        IF sy-subrc <> 0.
          MESSAGE a000(tree_control_msg).
        ENDIF.
    Instance of Splitter control - 2 columns
        CREATE OBJECT w_splitter
          EXPORTING
            parent  = w_container
            rows    = 1
            columns = 2.
        CALL METHOD W_SPLITTER->SET_COLUMN_WIDTH
          EXPORTING
            ID    = 1
            WIDTH = 30.
    Assign first column to continer
        CALL METHOD w_splitter->get_container
          EXPORTING
            row       = 1
            column    = 2
          RECEIVING
            container = w_child1.
    Assign 2nd child to holding container
        CALL METHOD w_splitter->get_container
          EXPORTING
            row       = 1
            column    = 1
          RECEIVING
            container = w_child2.
    Instance of Splitter control - 2 rows
        CREATE OBJECT w_splitter2
          EXPORTING
            parent  = w_child2
            rows    = 2
            columns = 1.
    Assign first row of 2nd column to continer
        CALL METHOD w_splitter2->get_container
          EXPORTING
            row       = 1
            column    = 1
          RECEIVING
            container = w_child21.
    Assign 2nd row 2nd column to continer
        CALL METHOD w_splitter2->get_container
          EXPORTING
            row       = 2
            column    = 1
          RECEIVING
            container = w_child22.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  EXIT  INPUT
          text
    MODULE EXIT INPUT.
      call method w_container->free.
      LEAVE PROGRAM.
    ENDMODULE.                 " EXIT  INPUT
    I appreciate your quick responses. Please suggest any other valuable solutions. Please let me know if you need any ohter inputs from my side.
    Thanks
    Cris

  • Hi, unable to display full text on selection screen

    hi all
    please any one tell me how one can display full text on selection screen because whatevery i have defined in text for selection screen variable is not displaying full text, some letters are missing.
    for example :
    Poste(s) du document de facturation       
    above text i want to display on selection screen.
    but only  Poste(s) du document de factur
    is displying. some letters are missing
    please try to solve this
    thanking in advance

    Hi Raj,
    Check this..
    SELECTION-SCREEN COMMENT fmt name.
    Additions
    1. ... FOR TABLE dbtab
    2. ... FOR FIELD f
    3. ... MODIF ID mod
    4. ... ID id
    Effect
    Generates a comment on the selection screen. For the name name , there are two options:
    name takes the form TEXT-xxx where xxx is a three-character name for a text symbol. In this case, the contents of the text symbol are displayed at runtime, i.e. the text cannot be changed dynamically. name is another eight-character name. Here, you create a field with the name name in the length specified in the format fmt< /> and it is then generated as an output field on the selection screen. The contents of these comments must therefore be set at runtime (e.g. at INITIALIZATION or - in the case of comments in the database include program DBldbSEL - in the routine INIT of the database program SAPDBldb . They can also be changed when the selection screen is being processed.
    Note
    The field name is generated automatically and so cannot be defined with DATA .
    With comments, you must always specify a format fmt (see variant ULINE ).
    Note
    You must program a new line yourself via the format fmt .
    <b>Example
    SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT 10(20) TEXT-001
                       FOR FIELD PARM.
      SELECTION-SCREEN POSITION POS_LOW.
      PARAMETERS PARM LIKE SAPLANE-PLANETYPE.
    SELECTION-SCREEN END OF LINE.
    This code displays a 20-byte long comment followed by the parameter at the normal position ( POS_LOW ) on the same line. If the user presses F1 for both objects, the documentation of SAPLANE-PLANETYPE is displayed.</b>
    Regards,
    Raj

  • Regarding Selection Screen field making display field  in ALV report

    Hi All,
               In ALV Report,  at runtime how can i make the field as Display Field in selection screen .
    Thks & Regds
    Shailesh

    hii,
    Go to se38 and give the below progra name execute.... check the source code it is very easy to understand.
    1.demo_dynpro_modify_simple
    2.demo_dynpro_modify_screen
    if tou are using grid,u can refer to foll link
    sequencing / choosing fields in report screen at runtime,
    Display the Columns in the grid at run time
    rgrds,
    Shweta

  • Help Needed in At selection screen output

    Hi Experts,
    I need your help in AT SELECTION SCREEN OUTPUT event. My issue is i have 4 radio button and with each radio button couple of parameters that need to be filled in selection screen of report. My requirement is that sometimes user enters details in second radio button parameters but forgot to change the radio button to second one so kindly suggest a solution so that radio button gets selected as per user input in parameter like if user clicks on certain parameter to enter value then automatically corresponding radio button gets selected.
    Thanks in advance for all your help.

    example from a checkbox in one of my progs..but you can do same approach with radio butts
    parameters p_test as checkbox default abap_on user-command test.
    at selection-screen.
        if sy-ucomm = 'TEST'.
          perform birth_mnth_chck.
        endif.

  • Help needed in selection screen - Urgent

    Hi Experts,
    I have a selection screen. I have three radi buttons in that selection screen. Based on the selection of the radio buttons I need to activate corresponding selection screen parameters.
    e.g : if radiobutton1 is selected, njo activation needed,
           if radiobutton2 is selected, activate selection screen parameter p_one,
           if radiobutton3 is selected, activate selection screen parameter p_two.
    All three radiobuttons are attached to the same radio button group.
    I have assigned the parameters p_one, p_two, p_three to MODIF ID as follows.
    p_one - NULL
    p_two - t01
    p_three - t02.
    on the selection of a radio button I want the corresponding parameter to get activated.
    please help me.
    Regards,
    Arul jothi A.

    hi
    jothi
    AT SELECTION-SCREEN OUTPUT.                                      
      CASE SY-TCODE.                                                 
        WHEN 'ZEDI6'.                                                
          LOOP AT SCREEN.                                             
            CASE SCREEN-GROUP4.                                      
              WHEN '001'.                  "Sales order select       
                SCREEN-ACTIVE = '1'.       "1=Active, 0=Don't display
                MODIFY SCREEN.                                       
              WHEN '002'.                  "Delivery select          
                SCREEN-ACTIVE = '0'.       "1=Active, 0=Don't display
                MODIFY SCREEN.                                        
              WHEN '003'.                  "Invoice select           
                SCREEN-ACTIVE = '0'.       "1=Active, 0=Don't display
                MODIFY SCREEN.                                       
              WHEN '004'.                  "PO Select                
                SCREEN-ACTIVE = '0'.       "1=Active, 0=Don't display
                MODIFY SCREEN.                                       
    regards
    praveen

  • Compare the input filename in the selection screen

    In the selection screen input field
    there is an option of selecting the directory and file name and not the extension .
    This is used to download the datas
    Extension can be selected by using the option button
    rtf
    csv.
    the user has to give only  the filename and not the extension.
    suppose if the user input is C:\temp\file1.rtf.
    Either i should take only the filename
    or i should display the message give only the filename and not the extension . its already been selected!!!!
    I want to compare the input string contains  .doc
    how to do the comparison and to get the above results mentiond
    Thanks in advance

    Because the requirment is there are two option buttion for selecting the download file format
    But unknowingly if the user gives the filename along with the extension. I need to handle that error
    giving some error message or information message
    By comparing the last 4 letters of the filename.. either.doc or rtf or csv or watever
    so how to do that
    then after comparing that i should give the user a msg doc type is already selected give only the filename
    I hope u understand my req

Maybe you are looking for

  • How to get an count for a fields in fields

    Hai All I have created a table and the table contains three fields code,date,time and now i need to count that how many times the time come for a day for example in this table is calculated for daily attendance Code Date Time 001 01-02-10 0815 001 01

  • Excise Duty Related

    Hi SAP guru, How to Removal of imported material as such on payment /reversal of appropriate duties where particularly ACD (Additional Custom Duty ) @ 4 % CENVATABLE , has to be reversed ? Thanks In adavance. Regards, Parveen kumar

  • How do I stop the Plugin Check page from appearing?

    Firefox 3.6.17, Win2K. Don't laugh at the OS, it just works. But I get the Plugin Check page every time I start Firefox. It doesn't help, because I have the most recent versions of all my plugins that support Win2K. I just *cannot* update my plugins.

  • I downloaded an update yesterday and it did not install correctly..gives me error... now I cant even open itunes...should I uninstall I tunes totally and do a brand new install?

    I downloaded a new version of I tunes yesterday and it did not install correctly- I cannot open I tunes, I have tried to download again, install again, repair and nothing... should I uninstall ITunes completely and reinstall fresh? what happens to my

  • Document Data

    Hi, where is the Text information stored in a DefaultStyled Document? There is an AttributeSet in each Element for the Attribute Information but no data Field for the Text Content? In AbstractDocument there is a field "data" which is of Type "Content