Selection-screen .... How to lock the whole block ??? urgent

i have created a selection with two blocks.
selection-screen begin of block d2 with frame title text-005 .
parameters r_create radiobutton group g3 USER-COMMAND u1.
parameters r_add radiobutton group g3.
selection-screen end of block d2.
selection-screen skip 1.
selection-screen begin of block b3 with frame title text-009.
parameters: pvenmap as checkbox default 'X'.
parameters: psermap no-display. "as checkbox default 'X' .
parameters: pmatlmap as checkbox. "default 'X'.
selection-screen end of block b3.
selection-screen begin of block b2 with frame title text-005 .
parameters r_valid no-display." radiobutton group g2 .
parameters r_master radiobutton group g2.
parameters p_sercat like asmd-astyp default 'SERV' no-display.
parameters p_serv  radiobutton group sm1 default 'X'.
parameters p_genc  radiobutton group sm1.
parameters p_act  radiobutton group sm1.
parameters r_agrmt  radiobutton group g2.
parameters p_extnum like ekko-ebeln no-display.
selection-screen end of block b2.
Now i want that when radio button r_create is 'X' then block 'B2' should be locked/disabled and when r_add is 'X' then block 'B3' should be locked/disabled.
One method is :-
AT SELECTION-SCREEN ON RADIOBUTTON GROUP g3.
  v_ucomm = sscrfields-ucomm .
IF r_create EQ c_x .
      LOOP AT SCREEN.
      IF screen-name = ........
        screen-input = c_0.
        MODIFY SCREEN.
      ENDIF.
      ENDLOOP.
  ENDIF.
but is there any other method such that i can disable/lock the whole block, instead of locking each field ???
regards
Rahul

Hi Rahul,
Please check the code below:
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_file  TYPE rlgrap-filename MODIF ID abc, " OBLIGATORY,
            p_lifnr TYPE lfa1-lifnr      MODIF ID abc,
            p_vkorg TYPE vbak-vkorg      MODIF ID abc.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS: p_kunnr TYPE vbak-kunnr MODIF ID def.
SELECT-OPTIONS: s_lifnr FOR lfa1-lifnr MODIF ID def,
                s_date  FOR lfa1-erdat MODIF ID def,
                s_augru FOR vbak-augru MODIF ID def,
                s_vbeln FOR vbak-vbeln MODIF ID def.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: upload RADIOBUTTON GROUP g1 USER-COMMAND uc01.
SELECTION-SCREEN COMMENT 3(60) text-025 FOR FIELD upload.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: reprss RADIOBUTTON GROUP g1 .                   "#EC *
SELECTION-SCREEN COMMENT 3(60) text-026 FOR FIELD reprss.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b3.
AT SELECTION-SCREEN OUTPUT.
  IF reprss EQ 'X'.
    LOOP AT SCREEN.
      IF screen-group1 = 'ABC'.
        screen-input = '0'.
      ELSEIF screen-group1 = 'DEF'.
        screen-active = '1'.
      ENDIF.
      MODIFY SCREEN.
    ENDLOOP.
  ELSEIF upload EQ 'X'.
    LOOP AT SCREEN.
      IF screen-group1 = 'DEF'.
        screen-input = '0'.
      ELSEIF screen-group1 = 'ABC'.
        screen-active = '1'.
      ENDIF.
      MODIFY SCREEN.
      CLEAR upload.
    ENDLOOP.
Regards
kannaiah
please reward useful points

Similar Messages

  • How can I protect formulae in a newly created spreadsheet without locking the whole sheet ?

    How can I protect formulae from being overwritten on a newly created spreadsheet without locking the whole sheet ?

    Olly,
    I'll be picky here on nomenclature ;-)
    Tables and other Obects can be locked, but Sheets can't be locked.
    If you wish to shield some parts of your content from accidental modification, arrange your layout to put that sensitive content in tables separate from the tables that need to be accessed, and lock the sensitive ones. It's also possible, but rather clunky, to place shields over the sensitive area. A shield can be made by Inserting a Shape and positioning the shape over the sensitive area. With the shape selected, go to the Graphics Inpector and set the Opacity of the shape to zero. You will then be able to see through the shape but will no be able to Click through it to get at the cells below. This method is inconvenient because you have to worry about keeping the shape aligned with the table should the table need to change size or shape.
    Jerry

  • How i can show the selection screen input field in the top of page in alv

    hi ,
              how i can show the selection screen input field in the top of page in alv  grid output.
    tell me the process

    Hi,
    excample from my program:
    FORM topof_page.
      DATA: l_it_header   TYPE TABLE OF slis_listheader WITH HEADER LINE,
            l_info        LIKE l_it_header-info.
      DATA: l_it_textpool TYPE TABLE OF textpool WITH HEADER LINE.
      DATA: l_key LIKE l_it_textpool-key.
      READ TEXTPOOL c_repid INTO l_it_textpool LANGUAGE sy-langu.
      DEFINE m_selinfo.
        if not &1 is initial.
          clear l_it_header.
          l_it_header-typ   = 'S'.
          l_key = '&1'.
          translate l_key to upper case.
          read table l_it_textpool with key key = l_key.
          if sy-subrc = 0.
            shift l_it_textpool-entry left deleting leading space.
            l_it_header-key = l_it_textpool-entry  .
          endif.
          loop at &1.
            case &1-option.
              when 'EQ'
                or 'BT'
                or 'CP'.
                write &1-low to l_it_header-info.
              when others.
                write &1-low to l_it_header-info.
                concatenate &1-option
                            l_it_header-info
                       into l_it_header-info
                       separated by space.
            endcase.
            if not &1-high is initial.
              write &1-high to l_info left-justified.
              concatenate l_it_header-info
                          l_info
                     into l_it_header-info
                     separated by space.
            endif.
            if &1-sign = 'E'.
              concatenate ']'
                          l_it_header-info
                     into l_it_header-info.
            endif.
            append l_it_header.
            clear: l_it_header-key,
                   l_it_header-info.
          endloop.
        endif.
      END-OF-DEFINITION.
      m_selinfo: s_trmdat,
                 s_trmext,
                 s_trmint,
                 s_fkdat,
                 s_delno,
                 s_vbeln,
                 s_deact,
                 s_kdmat.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                it_list_commentary = l_it_header[].
    ENDFORM.
    I hope, this will help you.
    Regards
    Nicole

  • How to fill the whole screen of my iMac with the photos included in an iDVD project. (iDVD v. 7.1.2)

    How to fill the whole screen of my iMac with the photos I included in an iDVD project. (iDVD v. 7.1.2). I mean, during playing the burned dvd.
    When I do "Enter Full Screen", the slide show fills the screen but the photo itself remains in the middle with a wide black border filling the rest.
    Any cure for this ?

    Hi
    In iDVD Preferences - Turn off - TV-Safe area - and the Photos will fill the full area with just letterboxing or pillars as max.
    Then "Save as a DiskImage" and test this and see if this plays better - before burning DVDs that's not as You want them.
    Bengt W

  • How to make like Encarta encyclopedia and basic screen settings and how to lock the documents in the entire data.

    dear guys how can i make like a off line Encarta encyclopedia and basic screen settings and how to lock the documents in the entire data in visual studio.                 
       thank you. 
                                                              Million
    Getu

    Dave,
    I will +1 Pixelan's products. They are great, simple, and have about the best support that I know of. When you explore, say Pixelan's SpiceMaster, dig deeply. Things appear rather mundane, on the surface, but there is so very much power lurking, just below the surface. I could almost imagine a 1000 page manual to cover every possible aspect of that program... Every time that I use it, I learn something new, and wonderful.
    Good luck,
    Hunt

  • In lock screen how to reject the call??

    in lock screen how to reject the call??

    iPhone, iOS 7.02
    What's the reason why the screen can't show the same touch screen buttons in locked as in unlocked mode?
    When I lock the phone I expect the phone to be locked with chance only to answer or reject an incoming call.
    Often when not beeing able to accept a call is when one is in a situation where you can't answer and the rejection, as well as answering of course, shall be very easy to do.
    OK for the dubbelclick on the lock button but how to find that little button when stressed and can't answer?
    This was better in IOS6!

  • HT4085 how to lock the tauch screen with some password or dots like android to prevent misuse. And also screen lock to prevent interruption while watching movie reading books etc.

    how to lock the tauch screen with some password or dots like android to prevent misuse. And also screen lock to prevent interruption while watching movie reading books etc.

    You can set a passcode to be requied to unlock the iPad via Settings > General > Passcode Lock. In terms of locking the actual screen whilst using an app, then that isn't currently possible, but with iOS 6 in the Autumn there will be a new 'accessibility' feature (from here) which will allow you :
    ... to limit an iOS device to one app by disabling the Home button, as well as restrict touch input on certain areas of the screen

  • I have An iphone 5... And when I take a picture it appear on the photo app on the middle of the screen and not on the whole screen.. How can I fix it?

    I have An iphone 5... And when I take a picture it appear on the photo app on the middle of the screen and not on the whole screen.. How can I fix it?

    Definitlely have it looked at. That could be a hardware deffect on the maker(apple) so there could be a definite replacement option.

  • How to lock the record in the Form

    .How to lock the record
    That is In my customized form if user query the record in one of our Customized form and the system automatically should prevent by quering the same record by other user for the same form .The message to be displayed as locked by another user .
    For example in standard form the same option is available.
    Form Name:GMEBCHED.FMB
    Module:ORACLE PROCESS MANUFACTURING(OPM)
    Could you pls help us how to implement the same for our Customized form .
    Appricaiate your help .
    Regards,
    Radha krishnan

    Hi,
    I tried to put the code under Post-Query trigger. Since user can input the selection criteria in the form. After the form open, after I input the "Update user" ID (this is in the non-base table block), the oracle message prompt: FRM-40653: Record not reserved for update or delete. Try again later..
    So, is there any method to solve it?
    Thanks a lot.
    Regards.

  • How to know the OS block size ?

    Hi all
    I want to know how to get the OS block size of my server ?
    For example if my server is Windows 2000 Professionnal , how can I get the size of my OS block size ?
    Thank you

    One way to find is to right click the drive in Windows Explorer and click Format (Not actually formatting it).
    In the popup window, you would see the "Allocation unit size" for the selected drive. Click "Close" to exit when done.

  • HI how to debug the whole SC creation process

    Hi
    I need small help from all you great guys.
    I am working with EBP application.
    I want to know the process of creation of shopping cart to the creation of PO in the r/3 system.
    How to debug the whole process. I can create a shopping cart in the EB web. I want to know what is hapening in the backend during the creation of shopping cart.
    I know the web transaction for the creation of the shopping cart. I tried to debug the process by going SE80 and giving the web transaction , but it is very cumbersome process and i was confused. Is there any way i can know what is happening in the backend and how the SC data is transferred to the bacend and how PO is created in the R/3 system
    sankar

    Hi Sankar Rao
    we can debug the shopping cart from sap GUI via tran.  /nBBPSC01
    1 Click on internal Goods/services  and select the product for which you want to create a SC and press enter.
    2 In command window input  /h and press enter
    3 Click on the button Order it will go in debug mode.
    4 Insert break points on Statement - Select
    5 Insert break points on Statement - Insert
    6 Insert break points on Statement -  update
    and press F5 key to move one step ahead and F8 key to halt directly at each break point.This way go upto the save mode and order your SC at run time in debug mode.
    regards,
    Nimish Sheth
    NB Do rewards points for helpful anwsers.

  • How to lock the Properties bar to a toolbar or in some other way, make it permanently open?

    How to lock the Properties bar to a toolbar or in some other way, make it permanently open?
    Or can that checkbox 'keep tool selected' be made a permanent toolbar item?
    I use the rubber stamp tool several times on multiple pages in certain pdfs and found that if I open the 'properties bar', I can select 'keep tool selected' and stamp away as much as I like without having to choose the stamp tool dropdown menu and select 'custom' each time I stamp. I appreciate the recent update that added a recently stamped stamps area and not having to click 'proceed' each time.

    You can't lock the Properties Bar, but you also don't need to in order to make the Stamp tool remain selected.
    Just right-click it in the Comment menu on the right and select "Keep Tool Selected".

  • I can't crop/edit a photo in Facebook because when I touch the screen it just zooms the whole screen in and out

    I can't crop/edit a photo in Facebook because when I touch the screen it just zooms the whole screen in and out
    I am trying to update my profile picture and cover photo and Facebook advises to crop the area of the photo you want and select the area you want by dragging the area of photo , but every time I touch the screen it just zooms the whole page in and out and I can't turn it off :-(

    If your email account offers a webmail access, I suggest checking the webmail - log in to your account using the webmail access, and I predict you will see all those "unread" emails there and can dispose of them from there.
    This happens because the iPhone that went bad, when reading those emails, did not remove them from your email provider's servier.

  • Selection-screen: how to call based on a condition...

    Hello experts,
    can I do this:
    if flag has value, call selection-screen 1 else call selection-screen 2.
    Thanks guys!

    Hi Viraylab,
      Yes u can call the selection-screen based on some condition.
    In this sample of code, if first radio button is chosen then it will call selection-screen 500 and if the second radio button is chosen then it will call selection-screen 1500.
    TABLES : ZOBRENT.
    SELECTION-SCREEN BEGIN OF BLOCK sel1 WITH FRAME TITLE tit1.
    PARAMETERS: R1 RADIOBUTTON GROUP RAD1,
                R2 RADIOBUTTON GROUP RAD1.
    SELECTION-SCREEN END OF BLOCK sel1.
    SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW.
    SELECTION-SCREEN BEGIN OF BLOCK sel2 WITH FRAME TITLE tit2.
    PARAMETERS: panid like zobrent-zopanid.
    SELECTION-SCREEN END OF BLOCK sel2.
    SELECTION-SCREEN END OF SCREEN 500.
    SELECTION-SCREEN BEGIN OF SCREEN 1500 AS WINDOW.
    SELECTION-SCREEN BEGIN OF BLOCK sel3 WITH FRAME TITLE tit3.
    PARAMETERS: brent LIKE zobrent-zo_brent,
                effdat LIKE zobrent-zo_effdat.
    SELECTION-SCREEN END OF BLOCK sel3.
    SELECTION-SCREEN END OF SCREEN 1500.
    INITIALIZATION.
      tit1 = 'Values'.
    AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD1.
      IF R1 = 'X'.
        CALL SELECTION-SCREEN 500.
      ELSEIF R2 = 'X'.
       CALL SELECTION-SCREEN 1500.
      ENDIF.
    START-OF-SELECTION.
      tit1 = 'Values'.
      tit2 = 'PANID'.
      tit3 = 'BRENT'.
    If found helpful, please do reward.

  • How to keep the whole page open during browsing

    I am trying to work out how to keep the whole page open in Safari i.e. the top most line with the Apple logo, file, edit, view etc. whilst browsing.  What is the setting to achieve this ?  Since installing Yosemite my MBP 2011 with SSD is behaving oddly at times. Where is the "back" when in Support Communities or is going into the history tab the only way ?
    thanks

    When in the ASC pages, my method involves opening separate windows.
    So I can go back to the reference page from where I first visited a thread.
    Also, pages open faster at times into a new window instead of a tab. As
    my setup has a bit more display than necessary, a few extra windows are
    easier than a bunch of tabs in one frame that have no point of reference.
    Plus, if I wish to copy/paste or drag into another window, or access extra
    content for the sake of reference, I have that; & may use another browser.
    For some content, different browsers may be a preference. I'm used to more
    than two, and one of three becomes more dedicated to things like web mail.
    There may be some options in launchpad items, such as they are.
    Mission Control can access other hidden windows. There's a short
    cut for Full Screen that when used again, reverts to previous size.
    Not sure if this gets near your question, but thought I'd put it out here anyway.
    edited

Maybe you are looking for

  • How to wipe Time Capsule hard drive, while leaving all settings intact?

    I have a 1TB TC which has a 500GB volume on it containing photos, music etc which users on my home network all use. The remaining 500GB is now full, with 3 sparsebundles; one backup for each of the macs in our house. Recently, Time Machine on my MBP

  • Valuation Type is missing for Material and Batch

    Hi Experts, I am facing issue related to delivery. While creating Order to cash cycle for one sales area, there is no error at all, but when I am trying to repeat the same cycle with same customer and material, different sales area and document type,

  • Crystal Reports 2008 - C-ISAM/ODBC Error 42000 Failed to retrieve data

    I'm hoping someone out there has a solution to this problem. I have a bunch of reports which I've converted from CR8.5 to CR2008 (SP2 + HotFixPack 2.7 Installed) Our server is currently running SCO UNIX OpenServer 5.0.7 with a C-ISAM Database serving

  • af:inputtext set to lowercase?

    I have an <af:inputtext> box that is accepting an e-mail address. This e-mail address is one of the search items for the query, which is working fine. However, I need to make it to a lower case string before it is being sent to the query. I tried to

  • UC 520 - Call waiting and busy

    Hi everyone I just inherited the management of a UC 520.  The phones are configured like this: ephone-dn  6  dual-line  number 800  label XYZ  name XYZ  call-forward noan 900 timeout 20 I am having a problem with busy lines.  Specifically, let us say