Hide Tab in Selection Screen After Pressing Button

Hiii All..
My requirement is I have to disable the tab in the selection screen when the user presses the button 'Disable Tabstrip' which is present in Application toolbar..
And it should come back if the user presses another button 'Enable Tabstrip' and that time the above screen should hide.
I am showing u the screen..
Link : [https://www.filesanywhere.com/FS/M.aspx?v=8972698c58616eb771af]
If anyone knows then please help.
Regards,
Jhings.

Thanks For the reply Anju...
But the problem is.. this selection screen is not the default screen.. this is user defined screen.. and SY-UCOMM is not giving any value on the "AT SELECTION SCREEN OUTPUT" Event..
I am giving u the code.. How I defined this..
* This is screen where we are inclucing tab screen
SELECTION-SCREEN : BEGIN OF SCREEN 100.
SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-005.
SELECTION-SCREEN : BEGIN OF LINE.
SELECTION-SCREEN : COMMENT 1(15) CUS_TXT.
SELECT-OPTIONS : CUST_ID FOR VBAK-KUNNR.
SELECTION-SCREEN : PUSHBUTTON 79(20) BUT1 USER-COMMAND CLICK1 VISIBLE LENGTH 20.
SELECTION-SCREEN : END OF LINE.
SELECTION-SCREEN : BEGIN OF LINE.
SELECTION-SCREEN : COMMENT 1(15) MAT_TXT.
SELECT-OPTIONS :  MATNR FOR VBAP-MATNR.
SELECTION-SCREEN : PUSHBUTTON 79(20) BUT2 USER-COMMAND CLICK2 VISIBLE LENGTH 20.
SELECTION-SCREEN : END OF LINE.
SELECTION-SCREEN : BEGIN OF LINE.
SELECTION-SCREEN : COMMENT 1(15) CRE_TXT.
SELECT-OPTIONS : CRE_BY FOR VBAK-ERNAM.
SELECTION-SCREEN : PUSHBUTTON 79(20) BUT3 USER-COMMAND CLICK3 VISIBLE LENGTH 20.
SELECTION-SCREEN : END OF LINE.
SELECTION-SCREEN : BEGIN OF LINE.
PARAMETERS : A AS CHECKBOX USER-COMMAND UC.
SELECTION-SCREEN : COMMENT 5(33) CHK_TXT.
PARAMETERS:        NUM TYPE I MODIF ID M1.
SELECTION-SCREEN : END OF LINE.
SELECTION-SCREEN: END OF BLOCK B1.
SELECTION-SCREEN BEGIN OF TABBED BLOCK T1 FOR 20 LINES.
SELECTION-SCREEN TAB (10) NAME1 USER-COMMAND UCOMM1 DEFAULT SCREEN 101.
SELECTION-SCREEN TAB (20) NAME2 USER-COMMAND UCOMM2 DEFAULT SCREEN 102.
SELECTION-SCREEN TAB (30) NAME3 USER-COMMAND UCOMM3 DEFAULT SCREEN 103.
SELECTION-SCREEN END OF BLOCK T1.
SELECTION-SCREEN: FUNCTION KEY 1,
                  FUNCTION KEY 2.
SELECTION-SCREEN : END OF SCREEN 100.
* These are subscreens
SELECTION-SCREEN : BEGIN OF SCREEN 101 AS SUBSCREEN.
SELECTION-SCREEN : BEGIN OF BLOCK B6 WITH FRAME TITLE TEXT-006.
PARAMETERS : CUS_NAM1(30) TYPE C,
             CONTACT1(12) TYPE C,
             CITY1(30) TYPE C.
SELECTION-SCREEN : SKIP.
SELECTION-SCREEN : PUSHBUTTON 1(20) BUT11 USER-COMMAND CLICK11 VISIBLE LENGTH 10.
SELECTION-SCREEN : PUSHBUTTON 25(20) BUT12 USER-COMMAND CLICK12 VISIBLE LENGTH 10.
SELECTION-SCREEN: END OF BLOCK B6.
SELECTION-SCREEN : END OF SCREEN 101.
SELECTION-SCREEN : BEGIN OF SCREEN 102 AS SUBSCREEN.
SELECTION-SCREEN : BEGIN OF BLOCK B7 WITH FRAME TITLE TEXT-007.
PARAMETERS : MAT_DES1(30) TYPE C MODIF ID M1,
             UNT1(12) TYPE C MODIF ID M1,
             MAT_TYP1(30) TYPE C MODIF ID M1.
SELECTION-SCREEN : SKIP.
SELECTION-SCREEN : PUSHBUTTON 1(20) BUT13 USER-COMMAND CLICK13 VISIBLE LENGTH 10.
SELECTION-SCREEN : PUSHBUTTON 25(20) BUT14 USER-COMMAND CLICK14 VISIBLE LENGTH 10.
SELECTION-SCREEN: END OF BLOCK B7.
SELECTION-SCREEN : END OF SCREEN 102.
SELECTION-SCREEN : BEGIN OF SCREEN 103 AS SUBSCREEN.
SELECTION-SCREEN : BEGIN OF BLOCK B8 WITH FRAME TITLE TEXT-008.
PARAMETERS : F_NAM1(30) TYPE C MODIF ID M1,
             L_NAM1(12) TYPE C MODIF ID M1,
             C_NO1(30) TYPE C MODIF ID M1.
SELECTION-SCREEN : SKIP.
SELECTION-SCREEN : PUSHBUTTON 1(20) BUT15 USER-COMMAND CLICK15 VISIBLE LENGTH 10.
SELECTION-SCREEN : PUSHBUTTON 25(20) BUT16 USER-COMMAND CLICK16 VISIBLE LENGTH 10.
SELECTION-SCREEN: END OF BLOCK B8.
SELECTION-SCREEN : END OF SCREEN 103.
Hope This could help u..
Regards,
Jhings

Similar Messages

  • How to display a specific tab in a screen after a popup message

    Hi all,
            I've a rewuirement where in i need to display a secific tab in a screen after popping up a warning message. To be specific, when i choose 'Yes' in the popup window, it shoud take me to a tab which is not active while displaying the warning popup.
    Thanks in advance....
    Anil Kumar Japa

    Hi
    U need to active the tab you want to show:
    So you should set the ok_code (of the tab) value to field ACTIVETAB
    <TABSTRIP>-activetab = <OK_CODE>.
    And transfer the value of subscreen number to the subscreen area:
    CALL SUBSCREEN SUBSCREEN1
                 INCLUDING G_CTRL_TABSTRIP-PROG             
                           G_CTRL_TABSTRIP-SUBSCREEN.
    Max

  • Tab in selection screen

    Dear All,
    I have to developed a new report in which I have to diplay two different report.For that two different report there are two different selection screen.I have developed two tabs in selection screen for two different report.
    There are some mandatory fields in each screen,Now problem is that I can't go second tab unless I fill value in mandatory field.
    But my requirment is when I want to go for second report then I will go for second tab without filling any value in tab 1 selection screen
    Please give a sollution.
    Regards,
    Amar

    Hi Amar,
    <li>You can achieve the same using Dialog program . Instead of selection-screen, use dialog programming, use MODULE mod_name AT EXIT-COMMAND to navigate one tab to another tab. Once you give input on any tab and want to display data use LEAVE TO LIST PROCESSING AND RETURN TO SCREEN 0.
    <li>Check the link: http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbaa9535c111d1829f0000e829fbfe/content.htm
    <li>Normally AT EXIT-COMMAND is used to exit without giving mandatory fields. We can use for this situation.
    Thanks
    Venkat.O

  • Back to selection screen after error

    Hello ABAPers,
    I have a executable program (REPORT) to do some processing (e.g. read a standard table with the parameters and select-options and save the data in a Z table).
    When occurs an error (e.g. when sy-subrc <> 0 after select) and a message of type E is showed, the program show the message in a "clean" screen with title SAP. Then, after ENTER or ESC, it leaves to initial screen of SAP (SAP Easy Access).
    The message of type E is triggered from a routine (FORM) called from START-OF-SELECTION event. And the program don´t write nothing in list (only return a status message if everithing is ok).
    How can I force the program to back to selection screen after some error?
    Thanks in advance.
    Best regards,
    Charles Oliveira

    hi,
    Do the following for your requirement.
    in the message give the following
    start-of-selection.
    Perform <routine>.
    Form <routine>.
    if <condition>.
      message 'xxxx' type 'S' display like 'E'.
      exit.
    endif.
    endform.
    This way the control returns to selection screen even after the message is triggered.
    Thanks
    Sharath

  • Selection screen with radio button groups

    hi experts,
    i have 3 frames in selection screen. in first frame i have two radio buttons. if i select 1st radio button 2nd  frame should be in active and  3rd frame should be disable mode. if i select 2nd radio button then 3rd  frame should be in active and other 2nd frame should be disable mode. in which event  i need to write the code.
    can any one help me regarding this and give some sample code.
    rgds,
    nag.

    Here is the example which will explain it completely :
    *& Report  Z_sscr                                                 *
    *  Published at ****************
    *&DYNAMIC Selection screen based on user clicks on the radiobutton*
    REPORT  zsscr.
    *TYPE POOLS DECLARATIONS FOR VALUE REQUEST MANAGER AND ICONS
    TYPE-POOLS : vrm,
                 icon.
    *SELECTION SCREEN FIELDS
    TABLES : sscrfields.
    *GLOBAL DECLARATIONS
    DATA : flag TYPE c,
          tablename(10),
          mmtable LIKE dd02l-tabname,
          sdtable LIKE dd02l-tabname,
          hrtable LIKE dd02l-tabname.
    *DECLARATIONS FOR SELECTION SCREEN STATUS
    DATA it_ucomm TYPE TABLE OF sy-ucomm.
    ***********SELECTION-SCREENS**********************
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME.
    *FOR DYNAMIC DISPLAY OF MODULES
    PARAMETERS :  pa RADIOBUTTON GROUP rad USER-COMMAND com MODIF ID mod,
                  pb RADIOBUTTON GROUP rad MODIF ID rad,
                  pc RADIOBUTTON GROUP rad MODIF ID cad.
    SELECTION-SCREEN SKIP.
    **TO INCLUDE DYNAMIC ICONS
    SELECTION-SCREEN COMMENT 2(6) text_001.
    *DYNAMIC LIST BOX BASED ON USER SELECTIONS
    PARAMETERS one AS LISTBOX VISIBLE LENGTH 20  MODIF ID mod.
    PARAMETERS two AS LISTBOX VISIBLE LENGTH 20   MODIF ID rad.
    PARAMETERS three AS LISTBOX VISIBLE LENGTH 20 MODIF ID cad.
    SELECTION-SCREEN END OF BLOCK blk1.
    *DISPLAY DYNAMIC PUSHBUTTON ON APP TOOLBAR ON USER CLICKS
    SELECTION-SCREEN: FUNCTION KEY 1,
                      FUNCTION KEY 2,
                      FUNCTION KEY 3.
    **EVENT ON SELECTION SCREEN FOR OUTPUT DISPLAY
    AT SELECTION-SCREEN OUTPUT.
    *CLICK OF FIRST RADIO BUTTON
      IF pa = 'X'.
        sscrfields-functxt_01 = 'Materials Management'.
        WRITE icon_plant AS ICON TO text_001.
    *CODE TO GET DYNAMICS BASED ON THE SELECTED RADIO
        LOOP AT SCREEN.
          IF screen-group1 = 'MOD'.
            screen-intensified = '1'.
            screen-active = 1.
            screen-display_3d = '1'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'RAD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'CAD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    *CLICK OF SECOND RADIO
      IF pb = 'X'.
        sscrfields-functxt_02 = 'Sales And Distribution'.
        WRITE icon_ws_ship AS ICON TO text_001.
        LOOP AT SCREEN.
          IF screen-group1 = 'RAD'.
            screen-intensified = '1'.
            screen-active = 1.
            screen-display_3d = '1'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'MOD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'CAD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    *CLICK OF THIRD RADIO
      IF pc = 'X'.
        sscrfields-functxt_03 = 'Human Resources'.
        WRITE icon_new_employee AS ICON TO text_001.
        LOOP AT SCREEN.
          IF screen-group1 = 'RAD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'MOD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'CAD'.
            screen-intensified = '1'.
            screen-active = 1.
            screen-display_3d = '1'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    *CUSTOMISING THE TOOLBARS OF THE SELECTION SCREEN
    *WITH F8 BUTTON DISABLED
      APPEND :  'PRIN' TO it_ucomm,
                'SPOS' TO it_ucomm,
                'ONLI' TO it_ucomm.
      CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
        EXPORTING
          p_status  = sy-pfkey
        TABLES
          p_exclude = it_ucomm.
    **EVENT ON THE SELECTION
    AT SELECTION-SCREEN.
    * LIST BOX ONE VALUES
      CASE one.
        WHEN '1'.
          mmtable = 'MARC'.
        WHEN '2'.
          mmtable = 'MARA'.
        WHEN '3'.
          mmtable = 'MARD'.
        WHEN '4'.
          mmtable = 'MARM'.
      ENDCASE.
    * LIST BOX TWO VALUES
      CASE two.
        WHEN '1'.
          sdtable = 'VBAK'.
        WHEN '2'.
          sdtable = 'VBAP'.
        WHEN '3'.
          sdtable = 'VBUK'.
        WHEN '4'.
          sdtable = 'VBUP'.
      ENDCASE.
    * LIST BOX THREE VALUES
      CASE three.
        WHEN '1'.
          hrtable = 'PA0001'.
        WHEN '2'.
          hrtable = 'PA0006'.
        WHEN '3'.
          hrtable = 'PA0022'.
        WHEN '4'.
          hrtable = 'PA0008'.
      ENDCASE.
    *VALUES FOR CLICK OF THE PUSHBUTTON ON APP TOOLBAR
    *AND ENABLING THE BUTTONS TO PERFORM F8
      CASE sscrfields-ucomm.
        WHEN 'FC01'.
          tablename = mmtable.
          sscrfields-ucomm = 'ONLI'.
        WHEN 'FC02'.
          tablename = sdtable.
          sscrfields-ucomm = 'ONLI'.
        WHEN 'FC03'.
          tablename = hrtable.
          sscrfields-ucomm = 'ONLI'.
      ENDCASE.
    *INITIALIZATION EVENT
    INITIALIZATION.
    *VALUES ASSIGNED TO DROPDOWNLISTS IN THE SUBROUTINES
      PERFORM f4_value_request_pa.
      PERFORM f4_value_request_pb.
      PERFORM f4_value_request_pc.
    *START OF SELECTION EVENT
    START-OF-SELECTION.
    *SUBROUTINE FOR OUTPUT
      PERFORM output.
    *&      Form  f4_value_request_PA
    *       text
    *SUBROUTINE TO PROVIDE DROPDOWN VALUES TO LIST1
    FORM f4_value_request_pa.
      DATA: l_name TYPE vrm_id,
            li_list TYPE vrm_values,
            l_value LIKE LINE OF li_list.
      l_value-key = '1'.
      l_value-text = 'Plant Data for Material'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '2'.
      l_value-text = 'General Material Data'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '3'.
      l_value-text = 'Storage Location Data for Material'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '4'.
      l_value-text = 'Units of Measure for Material'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_name = 'ONE'.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = l_name
          values          = li_list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM. " f4_value_request_tabname
    *&      Form  f4_value_request_PB
    *       text
    *SUBROUTINE TO PROVIDE DROPDOWN VALUES TO LIST2
    FORM f4_value_request_pb.
      DATA: l_name TYPE vrm_id,
            li_list TYPE vrm_values,
            l_value LIKE LINE OF li_list.
      l_value-key = '1'.
      l_value-text = 'Sales Document: Header Data'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '2'.
      l_value-text = 'Sales Document: Item Data'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '3'.
      l_value-text = 'Sales Document:Header Status'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '4'.
      l_value-text = 'Sales Document: Item Status'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_name = 'TWO'.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = l_name
          values          = li_list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM. " f4_value_request_PB
    *&      Form  f4_value_request_PC
    *       text
    *SUBROUTINE TO PROVIDE DROPDOWN VALUES TO LIST3
    FORM f4_value_request_pc.
      DATA: l_name TYPE vrm_id,
            li_list TYPE vrm_values,
            l_value LIKE LINE OF li_list.
      l_value-key = '1'.
      l_value-text = 'HR Master :Infotype 0001 (Org. Assignment)'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '2'.
      l_value-text = 'Address Infotype 0006'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '3'.
      l_value-text = 'Education Infotype 0022'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '4'.
      l_value-text = 'Basic Pay Infotype 0008'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_name = 'THREE'.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = l_name
          values          = li_list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM. " f4_value_request_PC
    *&      Form  OUTPUT
    *       text
    *      -->P_TABLENAME  text
    *fINAL OUTPUT
    FORM output.
      DATA p_table(10).
      p_table = tablename.
    *popup to display teh selected table and
    *Continue button is clicked
      CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
        EXPORTING
          titel        = 'User Selections '
          textline1    = p_table
          textline2    = 'is the Selected table'
          start_column = 25
          start_row    = 6.
    *assigning the table value in p_table to the
    * Table in SE16 transaction by explicitly calling
      SET PARAMETER ID 'DTB' FIELD p_table.
      CALL TRANSACTION 'SE16'.
    ENDFORM.                    "OUTPUT
    Reward If found Helpful.

  • How to eliminate  select message  after Radio button in ADF tables

    how to eliminate select message after Radio button in ADF tables
    example <f:facet name="selection">
    <af:tableSelectOne>
    </af:tableSelectOne>
    </f:facet>
    output:
    radobutton select
    radiobutton select
    please help me regarding this issue.

    Hi,
    this usually has a text String in the header saying "Select and .." which can be changed through the property inspector for the TableSelectOne component
    Frank

  • I want to execute selection screen by pressing enter button

    Hi,
    I have a requirement like after giveing values in selection screen I want to execute it by pressing enter button not by pressing execute button.
    Please give some sample code if u have any solution.
    Thanks & Regards
    Venkatrami Reddy B

    Hi,
    You can achive this.
    You just need to do all your coding under even AT SELECTION-SCREEN OUTPUT.
    But you have to put a check also say counter.
    Define a variable of type integer and then put the check on the mail block of code (whole program eccept selection screen) as mentioned below.
    IF lv_count > 1.
    program lines..
    ENDIF.
    lv_count = lv_count + 1.
    Regards,
    Raj Gupta

  • HT201412 Does not return to the Home screen after pressing the Home button

    My home button it's not works after pressing If I press it hard many time it's work but sometime not working at all. Can any apple store fixed this problem in any apple store at any country cause I purchased from apple stroe in Brighton and I live in Kuwait .. So please help me with this problem
    thank you for listen

    Check the following:
    1. Check credit card number
    2. Check security code
    3. Billing Address must be the same as credit card
    4. Check expiry date
    5. Make sure you have sufficient fund

  • Computation after pressing button

    this one should be esay, just wanna know how to a computation after pressing a button
    thx in advance

    this exactly what i have, this is the computation
    DECLARE
    id_people NUMBER;
    name VARCHAR(400);
    id_mandal NUMBER;
    CURSOR c1 IS SELECT id_people from reg_people where id_mandal=:SELECT_MANDAL;
    BEGIN
    OPEN c1;
    LOOP
    FETCH c1 INTO id_people;
    EXIT WHEN c1%NOTFOUND;
    insert into reg_registration values(null,id_people,to_char(:SELECT_DATE),'N');
    END LOOP;
    close c1;
    END;
    so when i press a tab to change the page, the page is submited again so , the computation runs again, why??

  • How to clear parameters defined in selection screen on back button

    Hi,
    I have a report with parameters, few being input fields, and check boxes. After report is executed when user selects the back button, the selection screen is displayed again but with the old selection values. I want to clear them.
    So in the Initialization even I added the code to clear all these parameters;
    CLEAR: p_aaa, p_bbb, p_ccc.
    I debugged and control passes through this code but still the fields are not cleared and they retain the old input values.
    How to clear them ?
    thnks

    >
    Rob Burbank wrote:
    > Yes he did. My mistake.
    >
    > But isn't this what he wants? To clear the Selection screen so that something has to be entered?
    >
    > Rob
    IMO, he only wants to clear the selection screen parameters on the click of 'BACK' button
    in the list screen. If the OP clears the selection screen variables in AT SELECTION-SCREEN OUTPUT
    even, the values assinged to the selection parameters in the INITIALIZATION and with the DEFAULT addition of the PARAMETERS and SELECTION-OPTIONS statements will also be overwritten even when the report is executed for the
    first time.
    -Rajesh.

  • Ho to back on selection screen using BACK button

    Salute.
    I have a program which contains 3 screens:
    1st -- selection screen.
    2nd -- my screen, I called it 1002, When I press F8 button on I get on it. I am using cl_gui_alv_grid there with my own buttons. So when I press MY OWN the save button I get the 3d screen
    3d -- my own screen with some labels (screen name 1001).
    So when i press BACK button on the third screen I want to back on selection screen and skip second screen, but I can't, I think the problem is in the cl_gui_alv_grid because I use custom grid handler:
      METHOD handle_user_command.
        DATA :
            ls_selected TYPE lvc_s_roid,
            lt_selected TYPE lvc_t_roid.
        CASE e_ucomm.
          WHEN 'QSAVE'.
            PERFORM save_data.
            CALL SCREEN 1001.
          WHEN OTHERS.
        ENDCASE.
      ENDMETHOD.                    "handle_user_command
    Thank You.
    Edited by: kernel.panic on Nov 24, 2009 6:31 AM

    Hi Kernal,
    To go back to the First Screen (Selection Scree) use
    LEAVE TO SCREEN 0. " This makes the Program to go back from where it had started
    or Create a Tcode for your program
    CASE e_ucomm.
    WHEN 'BACK'.
    LEAVE TO TRANSACTION 'YOUR TCODE HERE' . " This will take you back to your Selection Screen
    WHEN 'QSAVE'.
    PERFORM save_data.
    CALL SCREEN 1001.
    WHEN OTHERS.
    ENDCASE.
    Cheerz
    Ram

  • Radio button in selection screen and push button

    Hi experts,
    I want to give radio button in selection screen side by side.
    how we can do this on slection screen.
    secondly i want to resize push button on selection screen.
    please provide me the exact solution.
    thanks
    babbal

    Hi babbal,
    For Your Requriment yo can go to tcode se51 & then give ur program name & give screen number as 1000 because 1000 is default screen for all the programs and in se51 Press Layout button & then you can make changes to the Selection screen according to your requriment
    Hope it will be Helpfull.......!!
    Thanks & Regards,
    Bhushan

  • Disable selection screen application toolbar button

    Hi All,
    Could you please let me know how to hide or disable application toolbar pushbuttons in the selection screen default screen 1000??
    Thanks & regards,
    Santhosh

    Hi,
    Try this way.
    "Create table for function codes
    DATA: it_exclude TYPE TABLE OF sy-ucomm.
    PARAMETERS: r1 RADIOBUTTON GROUP gr1 USER-COMMAND uco1,
                r2 RADIOBUTTON GROUP gr1.
    INITIALIZATION.
      "Create two buttons with function codes FCODE1 and FCODE2.
      SET PF-STATUS 'MY_GUI'.
    AT SELECTION-SCREEN OUTPUT.
      IF r1 = 'X'.
        APPEND 'FCODE1' TO it_exclude.
        CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
          EXPORTING
            p_status  = 'MY_GUI'
          TABLES
            p_exclude = it_exclude.
      ELSE.
        REFRESH it_exclude.
      ENDIF.
    Thanks
    Venkat.O

  • How to hide block on selection screen?

    Hi All,
    I want to hide a block on the selection screen. I implemented the following logic to hide the block the fields are getting hided but the block is displayed. is there any way to hide block also.
    SELECTION-SCREEN BEGIN OF BLOCK processing WITH FRAME TITLE text-030.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 1.
    PARAMETERS pa_xmanu LIKE rm08mrbr-manu DEFAULT 'X'
                       RADIOBUTTON GROUP val MODIF ID ID1.
    SELECTION-SCREEN COMMENT 3(30) text-040 FOR FIELD pa_xmanu.
    SELECTION-SCREEN POSITION 40.
    PARAMETERS pa_xauto LIKE rm08mrbr-auto
                       RADIOBUTTON GROUP val MODIF ID ID1.
    SELECTION-SCREEN COMMENT 43(30) text-050 FOR FIELD pa_xauto.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pa_xskto LIKE rm08mrbr-skto AS CHECKBOX MODIF ID ID1.
    SELECTION-SCREEN COMMENT 3(30) text-055
                                   FOR FIELD pa_xskto.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK processing.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'ID1'.
          SCREEN-ACTIVE = 0.
          modify screen.
        ENDIF.
      ENDLOOP.
    Thanks,
    Anil.

    Make sure you hide your comment lines with the MODIF ID as well.  
    selection-screen begin of block processing with frame title text-030.
    selection-screen begin of line.
    selection-screen position 1.
    parameters pa_xmanu like rm08mrbr-manu default 'X'
    radiobutton group val modif id id1.
    selection-screen comment 3(30) text-040 for field pa_xmanu modif id id1.  "<---  Here
    selection-screen position 40.
    parameters pa_xauto like rm08mrbr-auto
    radiobutton group val modif id id1.
    selection-screen comment 43(30) text-050
                                   for field pa_xauto modif id id1.  "<---  Here
    selection-screen end of line.
    selection-screen begin of line.
    parameters: pa_xskto like rm08mrbr-skto as checkbox modif id id1.
    selection-screen comment 3(30) text-055
    for field pa_xskto modif id id1.          "<---  Here
    selection-screen end of line.
    selection-screen end of block processing.
    at selection-screen output.
      loop at screen.
        if screen-group1 = 'ID1'.
          screen-active = 0.
          modify screen.
        endif.
      endloop.
    Regards,
    Rich Heilman

  • Tab Strip Selection Screen in ALV Report

    Hi All,
    I want to create a ALV report with TABStrip selection screen. How to proceede.
    Is there any necessary to create dailog program for the screens.
    Please advise.
    Thank You,
    ANu.

    Hi
    You can create it using module pool program in an easy way. Have the tab strip in main screen and use the sub-screens for display. By this way you can do it. If you wish, you could refer the following link, where they have given step by step procedure.
    <<Link-farm removed>>
    Hope this helps you.
    Regards
    Vinodh
    Edited by: kishan P on Nov 1, 2010 3:00 PM

Maybe you are looking for

  • Mouse cursor acceleration - any way to fix?

    Just got my first Mac and I love it. I only have one problem - when I connect an external mouse via USB, the cursor tracking is terrible. I have the speed cranked up all the way in System Preferences, but it is still too slow when I'm not shoving the

  • Error #1009 Using SpellUIForTLF

    The error occurs when you activate the spelling APPLICATION <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"    xmlns:s="library://ns.adobe.com/flex/spark"    xmlns:mx="library://ns.adobe.com/flex/mx" min

  • Accessing File in SAP Directory

    Hi , I want to read and write file from SAP server directory. Can anybody please guide me how to start with adaptor? Can FTP adaptor help? And what all settings should I do on both sides PI n SAP? Thanks in Advance, Rohan.

  • I need to make a DVD from 1080p 24 fps source - got a question about the framerate

    Hello, I have a Premiere Pro project in 1080p 24 fps, and I have exported this as MPEG2-DVD (PAL Widescreen) in order to use this in Encore to create a DVD. I have the option of either 25 fps or 'Automatic (based on source)' for the framerate. I trie

  • Can i make a puzzle with elemets13?

    Can i make a puzzle with elemets13