2 selection screen in one report.

hi,
i need to have 2 selection screen in one report....based on the input of 1st selection screen i need to display another selection screen. The 1st selection screen consist of three radio buttons....selecting one of them should allow me to further input data....
i tried user command, modif id...but the problem is the 2nd selection screen is also displayed initially and den after clickin d radio button i get only the 2nd selection screen...
i cannot use module pool programming coz of user requirement.
could anybody help with the code??

Hi
Please this code ..
SELECTION-SCREEN: BEGIN OF BLOCK c1 WITH FRAME TITLE text-001.
Upload table
PARAMETER: p_upload TYPE char01  RADIOBUTTON GROUP rsel
                    DEFAULT 'X'  USER-COMMAND ucomm,
Edit Tables
           p_edt_tb TYPE  char01 RADIOBUTTON GROUP rsel.
SELECTION-SCREEN: END OF BLOCK c1.
Upload table
SELECTION-SCREEN: BEGIN OF BLOCK c2 WITH FRAME TITLE text-002.
PARAMETERS: p_tab   TYPE char16     MODIF ID m1,
            p_comp  TYPE char18     MODIF ID m1,
            p_plant TYPE werks_d    MODIF ID m1,
            p_excel TYPE localfile  MODIF ID m1.
SELECTION-SCREEN: END OF BLOCK c2.
Edit Table
SELECTION-SCREEN: BEGIN OF BLOCK c3 WITH FRAME TITLE text-003.
Replace component
PARAMETER: p_rp_cmp TYPE char01  RADIOBUTTON GROUP edtb
                      DEFAULT 'X' USER-COMMAND ucomm MODIF ID m2,
Edit Lines
           p_edt_ln TYPE  char01 RADIOBUTTON GROUP edtb MODIF ID m2.
SELECTION-SCREEN: END OF BLOCK c3.
SELECTION-SCREEN: BEGIN OF BLOCK c4 WITH FRAME TITLE text-004.
Replace component
PARAMETERS: p_tab_r   TYPE char16 MODIF ID m3,   "Assembly Table Name
            p_comp_r  TYPE char18 MODIF ID m3.   "Upload Table Name
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31)  FOR FIELD p_fcomp  MODIF ID m3.
PARAMETER: p_fcomp  TYPE zpart  MODIF ID m3.
SELECTION-SCREEN COMMENT 62(20) FOR FIELD p_tcomp  MODIF ID m3.
PARAMETER  p_tcomp  TYPE zpart  MODIF ID m3.
SELECTION-SCREEN END OF LINE.
Edit Lines
PARAMETERS: p_fexcel TYPE localfile  MODIF ID m4,
            p_texcel TYPE localfile  MODIF ID m4.
SELECTION-SCREEN: END OF BLOCK c4.
SELECTION-SCREEN: BEGIN OF BLOCK c5 WITH FRAME TITLE text-005.
validate data
PARAMETERS: p_valid AS CHECKBOX DEFAULT space
                    USER-COMMAND ucomm MODIF ID m5,
Background Processing
            p_back  AS CHECKBOX DEFAULT space
                    USER-COMMAND ucomm.
SELECTION-SCREEN: END OF BLOCK c5.
AT SELECTION-SCREEN OUTPUT.
Design selection parameters dynamically
  PERFORM sub_set_file_param.
FORM sub_set_file_param .
  LOOP AT SCREEN.
If Upload is check
    IF  NOT  p_upload IS INITIAL.
      IF screen-group1 = 'M2' OR
         screen-group1 = 'M3' OR
         screen-group1 = 'M4'.
        screen-active = 0.
      ENDIF.
    ELSE.
If Edit Tables is check
      IF screen-group1 = 'M1'.
        screen-active = 0.
      ENDIF.
    ENDIF.
If Replace Component is check
    IF p_rp_cmp IS NOT INITIAL.
      IF screen-group1 = 'M4' OR
         screen-group1 = 'M5'.
        screen-active = 0.
      ENDIF.
    ELSE.
If Edit Lines is check
      IF screen-group1 = 'M3'.
        screen-active = 0.
      ENDIF.
    ENDIF.
Modify the screen
    MODIFY SCREEN.
  ENDLOOP.
ENDFORM.

Similar Messages

  • Getting two selection screen in one report

    Hello Friends,
    I am Making report, In my report on first screen i have given two pushbutton, like this :
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
    PARAMETERS : p1_but RADIOBUTTON GROUP g1,
                             p2_but RADIOBUTTON GROUP g1.
    SELECTION-SCREEN END OF BLOCK b2.
    now i want when user click on any one pushbutton it shows another selection screen, whose select options are:
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
    SELECT-OPTIONS: so_erdat FOR lf_date,
                    so_vbeln FOR lf_vbeln MATCHCODE OBJECT zvbeln..
    SELECTION-SCREEN END OF  BLOCK b1.
    Please guide me can i use two selection screen in one report?, If yes then how can I use? Please revert back me as soon as possible.........

    Hi,
    you can achieve it only by using two USER_DEFINE_SELECTION SCREEN.
    For detail check the link
    http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dba83d35c111d1829f0000e829fbfe/content.htm
    Regards,
    anirban

  • Help on having TWO selection screen in one report

    Hi experts,
    I do not know if this can be done. I need to have 2 selection screen. The first selection screen will get all the values from the database table based on the inputs.
    After the user select the values already, it will do a database quay after which it will go to another selection screen for user to make further selection and after which it will display the results.
    So i am wondering can this be done. And how do i do it?
    Thanks!
    Lawrence

    Hi,
    I getting the below code while browsing
    ===========================================
    REPORT ztest.
    TABLES : mara ,
             t001 ,
             t001w .
    CONSTANTS : c_yes TYPE c VALUE '1' ,
                c_no TYPE c VALUE '0' .
    PARAMETERS : p_opt1 TYPE c RADIOBUTTON GROUP radi USER-COMMAND op1 ,
                 p_opt2 TYPE c RADIOBUTTON GROUP radi ,
                 p_opt3 TYPE c RADIOBUTTON GROUP radi .
    SELECT-OPTIONS : s_mara FOR mara-matnr MODIF ID op1 , "Material
                     s_bukrs FOR t001-bukrs MODIF ID op2 , "Company Code
                     s_werks FOR t001w-werks MODIF ID op3 . "Plant
    AT SELECTION-SCREEN OUTPUT .
    LOOP AT SCREEN .
      IF screen-group1 = 'OP1' .
        IF p_opt1 = 'X' .
          screen-invisible = c_no .
            screen-active = c_yes .
        ELSE.
            screen-invisible = c_yes .
            screen-active = c_no .
        ENDIF.
        MODIFY SCREEN .
      ENDIF.
      IF screen-group1 = 'OP2' .
        IF p_opt2 = 'X' .
            screen-invisible = c_no .
            screen-active = c_yes .
        ELSE.
            screen-invisible = c_yes .
            screen-active = c_no .
        ENDIF.
        MODIFY SCREEN .
      ENDIF.
      IF screen-group1 = 'OP3' .
        IF p_opt3 = 'X' .
            screen-invisible = c_no .
            screen-active = c_yes .
        ELSE.
            screen-invisible = c_yes .
            screen-active = c_no .
        ENDIF.
        MODIFY SCREEN .
      ENDIF.
    ENDLOOP.
    =======================

  • How to display the sort value in the selection screen in the report title

    Dear All,
    How to display the sort value in the selection screen in the report title? I have selected a value in the selection screen for sorting , but i need that values by which i have sorted with in the report title. Can you please throw some light on this!!
    Good day,
    Thanks and regards
    Arun S

    Hi Arun,
    Try this.
    1, Set one dynamic parameter,
    2, Drag and drop that parameter into  your report title.
    3, Pass the value(sort value) dynamically from your application,
    4, Cheers..
    Other wise Try with Dataset, create a dataset and fill thev alue into that.. Then  set the data source from CR designer. and darg and drop that data column into the report.
    Hope this will work,
    Regards,
    Salah
    Edited by: salahudheen muhammed on Mar 25, 2009 11:13 AM

  • Difficulty in adding new parameter in selection screen of GR55 report

    Hi Gurus,
    I have a requirement to add an extra field in Cost center:Act/Plan/Comm CC Cur report.This is otherwise a Z report in report painter with 0% code (T-code : GR55-> Report group->Report).But,when we go to technical information of this report,it has four standard sap programs,which contains code for this selection screen.It does not even have a modification scope.
    Selection screen of this report contains following parameters:
    Selection values:
    Controlling Ar
    Fiscal Year
    From Period
    To Period
    Plan Version
    Selection Groups:
    Cost Center Group
    Or value(s)
    Cost Element Group
    Or value(s)
    My requirement is to add one more parameter : Purchase oeder in new block:
    Is there any way to achieve it.
    Note: Copying the standard progs into custom prog is not working,i already tried that.
    Please let me know your suggestions,if any one of you came across such requirement before.it is very impoertant for me.
    Thanks in advance,
    Meenakshi

    Hi  meenakshi239,
    you can always use implicit enhancement spots.
    Regards,
    Clemens

  • Error when generating the selection screen '0005'of report 'XYZ'

    Hi All,
       We copied std SAP pgm and were trying to rename the one of the screen but couldnt. When I tried to transport it to test system it went in to dump giving the error  Error when generating the selection screen '0005'of report 'XYZ' .
    Please advise me on how to remove this dump.
    Regards
    Saurabh

    If you look at the selection screen, you'll probably find that there are overlapping elements (text elements over select-options) or something like that.
    Rob

  • Can you giv me a brief introduction regarding selection screen with one eg:

    Hello
    can you giv me a brief introduction regarding selection screen with one eg:

    Hi Ranjith,
    Selection Screens
    Selection screens are one of the three types of screen in the R/3 System, along with dialog screens and lists. You use them whenever you want the user to enter either a single value for a field or fields, or to enter selection criteria.
    Function
    ABAP programs use screens to obtain input from users. The most general type of screen is a dialog screen, which you create using the ABAP Workbench tools Screen Painter and Menu Painter These tools allow you to create screens for data input and output. However, each of these screens requires its own flow logic.
    Defining and Calling Selection Screens
    You often use screens purely for data input . In these cases, you can use a selection screen. Selection screens provide a standardized user interface in the R/3 System.  Users can enter both single values and complex selections.  Input parameters are primarily used to control the program flow, while users can enter selection criteria to restrict the amount of data read from the database. You can create and save predefined sets of input values in the ABAP Editor for any selection screen. These are called variants.  Texts on the selection screen are stored as language-specific selection texts in the program text elements.  If you start an executable report using the SUBMIT statement, the input fields of the selection screen also serve as a data interface.
    Defining and Calling Selection Screens
    You define selection screens using ABAP statements in a program.  Simple statements allow you to create input fields, checkboxes, and radio buttons, and design the screen layout.  If you want to create a screen exclusively for data input, you do not need to create it using the normal dialog programming tools. When you create a selection screen, the system automatically assumes the tasks of the Screen Painter and Menu Painter.
    The rules for calling and defining selection screens in ABAP programs depend on the program type:
    ·         Executable program (type 1) without logical database
    You can use a single standard selection screen and as many user-defined selection screens as you wish. The standard selection screen is called automatically when you start the program.  User-defined selection screens, on the other hand, are called using the CALL SELECTION-SCREEN statement in a program.  The standard selection screen always has the screen number 1000. User-defined selection screens can have any screen number except 1000.
    ·         Executable program (type 1) with logical database
    The standard selection screen for an executable program linked to a logical database is made up of the logical database selections and the program selections.
    ·         Module pools (type M) and function modules (type F)
    You can only use user-defined selection screens in module pools and function modules. These can have any number apart from 1000. You can only call a selection screen from a function module using the CALL SELECTION-SCREEN statement. You can also define selection screens as Subscreens and incorporate them in screens or tabstrip controls.
    Hope this is useful.
    regards
    Ram
    Message was edited by:
            Ramanujan Chitrakootam

  • Functional area(FKBER field in the selection screen of the report painter))

    Hi,
    I have a requirement to add functional area field in the selection screen for a report painter report. This report using library 1VK and table 'CCSS'. I added functional area field in the general data selection . After the execution of report with functional area field filled with value. report not giving any output. do i need to maintain any setting to achieve?
    Regards,
    Palani

    1. Call GR22 and click "Characteristics".
    2. Check FKBER and assign a position number to it.
    3. Save and close the library.
    4. Call your report in GRR2 and you should now see FKBER as an available characteristic.
    5. Use it in the General Data Selection or as a Lead Column, as per requirement.
    Or,
    1. Call GR21 and create a custom library. Provide a name and description and also provide a library you can copy from (scan for the best-fit library).
    2. Now follow the steps 2 through 5 above to achieve your result.
    Hope this helps.
    Cheers.

  • Passing values to a dynamic selection screen via a report

    Hi,
    I have the following problem and need to seek your expertise urgently.
    In my program, I need to call another report by passing in parameters to the selection screen of other report. However, I could not pass values into a dynamic selection screen. I tried to use submit (report) with free selection but do not know how it works.
    Currently, I tried calling the function RS_REFRESH_FROM_DYNAMICAL_SEL and FREE_SELECTIONS_RANGE_2_EX. Using the object the first function has returned to me, I tried to append values such as fieldname etc to it. However, I realised the field names of a dynamic selection screen keeps changing. So I would not know how to pass a particular value to a selection field.
    Appreciate any help given.
    Thanks,
    CK

    Hello CK,
    Are you using logical database in your selection screen program attributes? If it is, look at include file DBxxxSEL for parameter named xxxDYNSE where xxx = logical database. Debug the program that has that dynamic selection, and look at field xxxDYNSE. This should give you a hint on how to populate the parameter when you submit the program.

  • Selection Screen for crystal report ?

    Hi to all,
    Is it possible to create selection screen using Crystal report designer alone ?
    I came to know that we can give selection parameteres using SELECT EXPERT option in desginer.
    Can we create selection screen for user input like we have in abab (selection screen) ?.
    Is it possible to check authorization using Crystal report designer ?
    If anyone knows anything .... remotely connected with the question I asked please reply.
    Waiting for reply.
    Regards,
    Surya.

    Surya,
    To do what you are wanting, you will want to do the following:
    1) Create parameters. Open the Field Explorer > right click Parameter Fields > fill in the necessary fields o create the desired parameter.
    2) Add the parameter to the Select Expert.
    2a) If you are using a SQL Command to generate your data set you will need to add the parameter name to the Parameter List of the Command and add it the selection criteria of the SQL statement.
    Something like this:
    WHERE f.FieldName = {?ParameterName}
    HTH,
    Jason

  • How to force selection screen in WAD Report

    Hi Gurus,
    How do we force a variable selection screen in WAD Report. We are in SP 10.
    Thanks
    Syed

    Hi Karthik,
    Iam not sure for some reason, when I select web_template and click on Web Parameters, there nothing available below Behaviour section. However when I create a new Analysis Item and see its properties, the Behaviour section shows only Allow Navigation & Only Hierarchy options.
    Should I reinstall my front end. We are in SP10.
    Appreciate your response.

  • Selection screen variant for report

    Hi,
    Can we restrict the selection screen variants for reports by user? For example my report is ZREPORT. Different users can save variants for the report. When they choose a variant for executing the report, they would like to see only the variants they created.
    By default SAP lists all variants created (irrespective of who created).
    Thanks
    Anil

    Hi,
      If you want the other users doesn't want to execute (Not see) other variant..you can check if that user has created the variant in the AT SELECTION-SCREEN event..
      By checking VARI-VARIANT against the table VARID and check if sy-uname <> VARID-ENAME.
    Thanks,
    naren

  • Creating two variable/selection screens in one BW Report

    Hello Experts,
    Can I create two variable screens in one BW Report?
    For EX:     
    Variable screen 1 (For Chars/KF)
    XXXX     :     -
    XXXXXX     :     -
    Variable Screen 2 (For Exceptions and Conditions)
    XXXXX     :     -
    XXXXX     :     -
    also How can I change the LOW & HIGH variable to parallel.
    I have percentage KF. when I want to display the variable (Between) values in parallel.
    EX: XXXX : -
        XXXX : -
        to
        XXXX:------     TO XXXX:----
    All inputs are much appreciated and the full reward points will be awarded.
    Thanks,
    London

    Hi Londener,
    1 You cannnot create variables for Keyfigures,
    Eventhough if you create N Number variables, All variables disaply at one shot.
    OR Let me know your exact requirement.
    Please assign points if it is helpfull.
    By
    CCC

  • Passing the values from one selection screen to another report

    Hi all,
    This is my requirement...
    I need to hav a selection screen with various input parameter along with 3 radio buttons...
    If i enter the values and select say first radiobutton the corresponding called program needs to be executed .
    NOTE :
    1)The called program selection screen needs to be skipped
    2) the values entered in the calling program needs to be passed to the called program and the output of the called program needs to be displayed.
    3)the selection screen is the same for both calling and called program
    Can anyone plz help in this regard?
    Regards,
    Gowri Shankar

    Hi...
    Use the statement
    <b>SUBMIT zps_called_report WITH SELECTION-TABLE seltab.</b>
    see the following link....
    <b>http://help.sap.com/saphelp_nw04s/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/frameset.htm</b>
    Hope it helps you...
    Let me know if u have any more doubt...
    Reward points if useful......
    Suresh.......

  • Error when generating the selection screen "1000"  for Report ztest

    Hi Experts,
    I am getting this strange error while trying to activate my report. I simply copy paste report from my other system to new system it was working fine there. I also created all include program etc.
    While I am trying to create "Selection-text" it is giving message that "Program contain some serious syntax error" while checking syntax saying that "Program is syntactically right".
    Any idea how to solve this???
    Regards,
    Gourav

    Here is the code::::
    SELECTION-SCREEN BEGIN OF BLOCK select  WITH FRAME TITLE text-sl1.
    Component
    SELECT-OPTIONS:
           s_xcide            FOR gw_zsmmess_compo-xcide
                              NO INTERVALS
                              MATCHCODE OBJECT zsm_xcide_oi.
    SELECTION-SCREEN END OF BLOCK select.
    SELECTION-SCREEN BEGIN OF BLOCK prcopt  WITH FRAME TITLE text-sl2.
    Default severity code
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(30) text-dsc.
    SELECTION-SCREEN POSITION 33.
    PARAMETERS: p_dfsevc   LIKE gw_zsmglob_sever-sevco
                           OBLIGATORY
                           MATCHCODE OBJECT zsm_sevco
                           DEFAULT '3'.
    SELECTION-SCREEN COMMENT 37(30) pt_sevtx.
    SELECTION-SCREEN END OF LINE.
    Minutes to wait before re-issuing alert
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(30) text-ria.
    SELECTION-SCREEN POSITION 33.
    PARAMETERS: p_aleexp(3) TYPE n
                            OBLIGATORY
                            DEFAULT '45'.
    SELECTION-SCREEN COMMENT 37(10) text-min.
    SELECTION-SCREEN END OF LINE.
    Use component specific parameters Yes/No
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(30) text-cpu.
    SELECTION-SCREEN POSITION 33.
    PARAMETERS: p_usecsp   RADIOBUTTON GROUP rg1  DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 35(10) text-rby    FOR FIELD p_usecsp.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 33.
    PARAMETERS: p_dnucsp   RADIOBUTTON GROUP rg1.
    SELECTION-SCREEN COMMENT 35(10) text-rbn    FOR FIELD p_dnucsp.
    SELECTION-SCREEN END OF LINE.
    Create/update component specific parameters automatically
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(32) text-cpc.
    SELECTION-SCREEN POSITION 33.
    PARAMETERS: p_updcsp   RADIOBUTTON GROUP rg2.
    SELECTION-SCREEN COMMENT 35(10) text-rby    FOR FIELD p_updcsp.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 33.
    PARAMETERS: p_dnccsp   RADIOBUTTON GROUP rg2  DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 35(10) text-rbn    FOR FIELD p_dnccsp.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(30) text-afo.
    SELECTION-SCREEN POSITION 33.
    Fire one alert per component/error type combination
    PARAMETERS: p_afrerr   RADIOBUTTON GROUP rg3  DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 35(50) text-afe    FOR FIELD p_afrerr.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 33.
    Fire one alert per component (= outbound XI interface)
    PARAMETERS: p_afrcom   RADIOBUTTON GROUP rg3.
    SELECTION-SCREEN COMMENT 35(50) text-afc    FOR FIELD p_afrcom.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 33.
    Fire one alert per run
    PARAMETERS: p_afrrun   RADIOBUTTON GROUP rg3.
    SELECTION-SCREEN COMMENT 35(50) text-afr    FOR FIELD p_afrrun.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(30) text-sel.
    SELECTION-SCREEN POSITION 33.
    Select messages since last run
    PARAMETERS: p_lstrun   RADIOBUTTON GROUP rg4  DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 35(40) text-slr    FOR FIELD p_lstrun.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 33.
    Select messages in selected interval
    PARAMETERS: p_mintvl   RADIOBUTTON GROUP rg4.
    SELECTION-SCREEN COMMENT 35(40) text-sin    FOR FIELD p_mintvl.
    SELECTION-SCREEN END OF LINE.
    Message selection interval
    SELECTION-SCREEN BEGIN OF BLOCK msgfilt WITH FRAME TITLE text-msf.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(10) text-icr.
    SELECTION-SCREEN COMMENT 14(05) text-ifr.
    SELECTION-SCREEN COMMENT 25(05) text-dat       FOR FIELD p_stadat.
    Select messages - start date
    PARAMETERS: p_stadat   TYPE d.
    SELECTION-SCREEN COMMENT 46(05) text-tim       FOR FIELD p_statim.
    Select messages - start time
    PARAMETERS: p_statim   TYPE t.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 14(05) text-ito.
    SELECTION-SCREEN COMMENT 25(05) text-dat       FOR FIELD p_enddat.
    Select messages - end date
    PARAMETERS: p_enddat   TYPE d                  DEFAULT sy-datum.
    SELECTION-SCREEN COMMENT 46(05) text-tim       FOR FIELD p_endtim.
    Select messages - end time
    PARAMETERS: p_endtim   TYPE t                  DEFAULT sy-timlo.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK msgfilt.
    SELECTION-SCREEN END OF BLOCK prcopt.
    SELECTION-SCREEN BEGIN OF BLOCK testopt WITH FRAME TITLE text-tso.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(10) text-tst.
    SELECTION-SCREEN POSITION 33.
    List only, no updates
    PARAMETERS: p_lstonl    RADIOBUTTON GROUP rg5  DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 35(14) text-tsl       FOR FIELD p_lstonl.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 33.
    Execute updates
    PARAMETERS: p_update    RADIOBUTTON GROUP rg5.
    SELECTION-SCREEN COMMENT 35(14) text-tsu       FOR FIELD p_update.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK testopt.
    *eject
    INITIALIZATION.

Maybe you are looking for