Disabling single Screen field

Hi Friends,
Plz help me how to disable single Screen field in Module pool.
I have a scenario where One of the field is drop down box,in that options if i select 1 option the next Input/outputfield and Group of radio buttons(2buttons) should be disable.
PlZ help me with the solution

hi
it may help u.
in drop down box each option should have function code.
now in pai
use
case ok_code.
when 'option 1'
loop at screen.
if screen name = 'group1' or screen name = ' input field name'.
screen input = 0.
modify screen.
endif.
endloop.
endcase.
or
if ok_code = 'option1'.
loop at screen.
if screen name = 'group1' or screen name = ' input field name'.
screen input = 0.
modify screen.
endif.
endloop.
regards
anil

Similar Messages

  • Disable IT0001 screen fields through PA40

    Hi experts,
    When I am running an action through PA40, after updating IT0000 it calls IT0001 after that 9001 and so on. For It0001 fields like position, employee subgroup, Org. Key and administrator fields are editable.
    I want to disable all other It0001 screen fields except adminstrator fields for that particular action type. Please help me out how to solve this issue. I have tried to insert the code in user exit (PADU02) but i don't find any means to access the screen of IT0001.
    Full reward points guaranteed for better solution
    thanks and regards,
    Murali

    Hi Murali,
          I am sure did you check T588M (Infotype Screen Control), where you can set your own settings for the infotypes (fields, hide, disable, Required)
       However I got confoused with your requirement, you want the screen to be changed only for that action, does that means if he go to 0001 through PA30 user should have access to all the fields?
       -- In that case, you can set the feature P0001 and can use RPCADD00 program. (RPCADD00 might give a chance of accessing 0001 infotype - Not sure)
    Regards
    Mahesh

  • Disabling a screen field

    Hi,
    iam having a two fields on the selection screen.
    if any value has been entered on the first field then the second field shoud be disabled and vice versa. can anyone tell me how to do this.
    Regards,
    phyrose.

    Hi
    THE SCREEN CHANGES WILL BE APPLIED ONLY AFTER PRESSING ENTER BUTTON THE SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETER : P_WERKS LIKE MARC-WERKS MODIF ID S1.
    SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS MODIF ID S2.
    SELECTION-SCREEN END OF BLOCK B1.
    ******END OF SELECTION SCREEN DESIGN****************
    ***********SCREEN MODIFICATIONS*******************
    AT SELECTION-SCREEN OUTPUT .
    LOOP AT SCREEN .
    IF SCREEN-GROUP1 EQ 'S2'.
    SCREEN-INPUT = 0.
    SCREEN-REQUIRED = 1.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 EQ 'S1'.
    SCREEN-INPUT = 0.
    SCREEN-REQUIRED = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    <b>REWARD IF USEFULL</b>

  • Disable the Screen Field

    Hello Abappers,
    I have two radio buttons and two text box.
    The text box refers to data dictionary and named as
       ZIXHR_S_APPROVAL-APPUSER
    ZIXHR_S_APPROVAL-APPORG
    When i click on a radio button the first text box should be disable and similar with the secon one.
    How to disable the text box from the screen?
    Please reply soon.
    Regards,
    Rahul

    Hi,
    Try the code given below.
    Regards,
    Wajid Hussain P.
    if rb1 = 'X'.
    loop at screen.
    if screen-name cs 'ZIXHR_S_APPROVAL-APPUSER'.
      screen-input = 0.
      modify screen.
    elseif screen-name cs 'ZIXHR_S_APPROVAL-APPORG'.
      screen-input = 1.
      modify screen.
    endif.
    endloop.
    else.
    loop at screen.
    if screen-name cs 'ZIXHR_S_APPROVAL-APPORG'.
      screen-input = 0.
      modify screen.
    elseif screen-name cs 'ZIXHR_S_APPROVAL-APPUSER'.
      screen-input = 1.
      modify screen.
    endif.
    endloop.
    endif.

  • Disable the screen field of  quantity field

    This User Exit is required for Validation check for Partial Delivery in reservation
    Using T.Code MB22 the quantity in reservation once created and partial issue has been completed then it should not be allowed to change the qty. Quantity change can take place till an issue is made. which should be done in the migo tcode for
    posting

    my requirement is to print the cheque to my requirement in that i want to print date , vendor name ,ammount and ammount in words in a cheque which will be put into the printer
    so i have modified the standard layout  F110_PRENUM_CHCK  in Z_F110_PRENUM_CHCK  and also the print program ZRFFOUS_C every thing i have done sucessuffuly and my cheque dimention is in width is 207 mm and height  is 94 mm. for which i  have created an output device in spad tcode  and i have design in portrait form .
    and my printer is of HP laser jet and the device type is HPLJ5.
    the problem  is when i am putting a physical cheque horrizontally into the printer the cheque is going into the printer
    and getting printed into the required blocks of a cheque . but it is not comming out of the printer i have to manually open the catrig and have to take out the cheque , can any one give the
    solution how to bring the cheque out of the printer automatacally when it is printer , its urgent.
    Regards
    sarfaraz

  • Disabling I/O Screen Field in Cost center Screen Enhancement

    Hi all,
         I am doing screen exit for Cost center master. While using KS03 transaction, I have to disable the newly added I/O screen fields. So, I added the following code in PBO module.
    *** PBO
         MODULE modify_screen_input.
    *** Include program of PBO
         MODULE modify_screen_input OUTPUT.
           IF sy-tcode EQ 'KS03'.
             LOOP AT SCREEN.
               IF screen-group1 eq 'CO'.
                 screen-input = 0.
                 MODIFY SCREEN.
               ENDIF.
             ENDLOOP.
           ENDIF.
         ENDMODULE. 
    But, screen fields with that group are not getting disabled. Is there any way to disable those screen fields?
    Thank You.

    Hello Shrilatha,
    Please try with below code
    IF sy-tcode EQ 'KS03'.
             LOOP AT SCREEN.
               IF screen-name = 'CI_CSKS-ZFIELD'  ->changeit to field name
                 screen-input = 0.
                 MODIFY SCREEN.
               ENDIF.
             ENDLOOP.
           ENDIF.
         ENDMODULE.
    Thanks

  • QA32 UD - Disable screen fields UD code and Quality score in QA12 screen

    Hi,
    This is regarding the QM module , QA32 transaction , UD subscreen under Characteristics tab.
    I need to disable the UD Code and Quality score  screen field in QA12  in cases where the inspection lot  stocks are completly posted.
    How can I achieve this? Can some one plz suggest me the relevant User exit for this ?
    Also how do i disable the screen field in QA12 ?
    Regards,
    P.S.Chitra

    Hi,
    Did u get any solution ???
    Regards
    Bharath

  • Get input for 100 dynamic fields in a single screen

    Hi all
    I got one requirement wherein i need to accept input for around 100 dynamic fields in a single screen. screen can scroll down if possible.
    Can anyone tell me whether it is possible. if yes please let me have the sample code.
    Thanks
    Ravindra Suvarna

    Ravi,
    Probably a TAB STRIP might help you.
    Seggregate your 100 fields logically, say 5 groups.
    Have a TAB STRIP CONTROL, with 5 tab strips and place 20 fields in each of the tabs. Each tab strip will have a sub screen.
    Regards,
    Ravi
    Note : Please mark the helpful answers.

  • In the component overview screen of CO01 I want  to disable all  the field in  screen of table control.I want to make it as output screen only.

    Hi all
      In the component overview screen of CO01 I want  to disable all  the field in  screen of table control.I want to make it as output screen only.
    Thanks & Regards,
    Rajib.

    Isn't that just exactly what transaction CO02 does? CO01 is for creating production orders so what sense does it make to have it display mode only?
    Maybe your goal is to stop then end user changing the component assignment that is automatically  detected by the system. If so, personally I think a better starting point would be PP configuration or user authorizations rather than looking to change the screen by whatever method. As we don't know what you are trying to achieve it's hard to offer much more advice maybe all you need is to change transaction to CO02

  • Disable a selection screen field

    Hi All,
    I have 2 selection screen fields if enter any value in field 1 another field should be disabled with out pressing enter on the selection screen. am able to do disable by pressing enter onc i give the value in field 1.
    Please do needful.
    Thanks in advance.
    Thanks,
    Ramu.

    Hi Ramu,
    As far as i know its not possible without pressing enter/Execute or any action on selection screen.
    This is because report programming is event driven. So without any event i don't think we can achieve this.
    Probably u can search in SDN/Google as well. If u r lucky enough some one has found some thing for you. But at the same time don't forget to update this thread if u find some thing:-)
    Thanks,
    Vinod.

  • Disabling Screen field

    Hi,
    I have a program where i have designed the selection screen. This program is used by different programs.
    My requirement now is i have to add a new field and disable another field if the new field has any value and viceversa.
    I cannot go and directly add a new field and disable the old field on the properties of that screen in se51. Since the same screen is used by different programs.
    Now if I copy the selection screen program and use it exclusively for my new report, it will take huge number of changes and there are many programs involved in calling this selection screen program. So then I'll have to copy most of the programs and change their corresponding program names as well and I have to add these new program names wherever the old one is used, which doesn't look like a good idea to me.
    i am thinking of making a copy of the report program alone and use a select option over there to add a new field. But the old field has been designed on the se51 window. Can anyone tell me what i have to do in the report program to disable the old one if new one has some value and vice versa.
    Regards,
    Phyrose.

    Hi ,
    Try this.
    At selection-screen output.
      LOOP AT SCREEN.
        IF screen-name = 'Field name to be disabled'.
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Hope this solves your problem.
    Regards,
    Bharat.
    Reward points if helpful.

  • How ti disable screen fields in Module pool

    hi
    How to change screen fields to DISPLAY MODE aftr clicking on a particular pushbutton in Module pool  prg .
    regards
    chetan
    Edited by: chetan teli on Jul 29, 2008 1:04 PM

    hiiii
    use following code for disabling field
    IF p_rad2 IS INITIAL .
        LOOP AT SCREEN.
          IF screen-name CS 'p_docno'.
            screen-active = 0.
            MODIFY SCREEN.
          ENDIF.                           " IF screen-name CS 'p_docno'.
        ENDLOOP.                           " LOOP AT SCREEN.
      ELSE.
        LOOP AT SCREEN .
          IF screen-name CS 'p_docno'.
            screen-active = 1.
            screen-input = 1.
            MODIFY SCREEN.
          ENDIF.                           " IF screen-name CS 'p_docno'.
        ENDLOOP.                           " LOOP AT SCREEN .
      ENDIF.                               " IF p_rad2 IS INITIAL .
    regards
    twinkal

  • Disable Serial Number Field in MIGO Screen

    Hi all,
      I want Disable Serial Number  field in MIGO Screen how do i disable ?
    is there any user exit or enhancement ?
    Anybody please tell me.
    Thanks
    Regards,
    S.Muthu.

    S. Muthu
    Apply Transaction Variant and Screen Variant through transaction SHD0 for MIGO. Hope it will solve your problem.
    Otherwise, discuss this requirement with MM Functional Consultant. In SPRO, it may have some setting to make it display...
    Thanks & regards
    Amol Lohade

  • Disable screen fields

    I required help to disable screen fields when User command runs in PBI not in case of PBO. Pl. help.
    vikas

    Hi,
    PBI? assuming PAI...
    u can disable filed useing :
    loop at screen.
    if screen-name = '<ur_fld_name>'.
    screen-input = 1. "or may be 0
    modify screen.
    endif.
    endloop.
    Jogdand M B

  • X11 on a single screen in a dual monitor setup

    Same problem as posed here: http://discussions.info.apple.com/message.jspa?messageID=2260647&tstart=0
    I was excited when I read the following:
    I fiddled with Apple's X11, which I'd installed on my Desktop, to no avail. Nowhere could I disable the screen-spanning behavior. On a hunch, I decided to try out XDarwin, however, and lo and behold --- a checkbox for enabling/disabling Xinerama! In addition, XDarwin seems to be better behaved than Apple's X11 when it comes to correctly sourcing some of my $HOME/.X* configuration files (e.g., I always had to run xmodmap ~/.Xmodmap manually under X11, even after putting the command in my .xinitrc).
    I only ever use Xquartz(currently XQuartz 2.6.0 (xorg-server 1.9.3)) which is Xdarwin now. But I do not see the mentioned checkbox for enabling/disabling Xinerama.
    Which sounds exactly like what I want to do. I want to have my macbook air(mba) to display full screen Xquartz on external 27" Dell monitor only. On the macbook screen I want to show the OSX desktop with open applications not blacked out by X11.
    Any pointers to this checkbox's location would be great. Or any other way to configure this setup would also be good.
    I'm not looking for solutions that keep the laptop monitor off in any way as I have seen suggested many times. This is because I want to use it to view state of other OS X apps on the macbook screen while working in full screen X session on the external monitor.
    The xnest solution sounds inferior for the same reasons pointed out by Michael C. Lee in the post I mentioned above.

    Hi Andy,
    I really appreciate your help!
    I believe you're correct in that I wouldn't be able to start the X server and have it only produce output on one of my monitors, as they are necessarily part of a single "display" (in OS X, at least). Barring that, however, I wanted to be able to at least keep X11 from creating a single screen that spanned both my monitors (the problem with this is that it doesn't recognize the separate monitor geometries, so large chunks of the virtual spanning screen were inaccessible, and it also made dealing with X apps that are none dual-head friendly a pain). On my linux machine, I was able to get this behavior by default (i.e., separate screens named '.0 and .1' under a single X display), and could get monitor spanning only after enabling the Xinerama extension.
    I fiddled with Apple's X11, which I'd installed on my Desktop, to no avail. Nowhere could I disable the screen-spanning behavior. On a hunch, I decided to try out XDarwin, however, and lo and behold --- a checkbox for enabling/disabling Xinerama! In addition, XDarwin seems to be better behaved than Apple's X11 when it comes to correctly sourcing some of my $HOME/.X* configuration files (e.g., I always had to run xmodmap ~/.Xmodmap manually under X11, even after putting the command in my .xinitrc).
    Anyway, that basically gave me what I needed, so I'm a happy camper. Just thought I'd post this in the unlikely event that someone else is in the same situation. Oh, and if you're curious, the reason I needed to do this in the first place was because I wanted to run the ratpoison windows manager fullscreen --- great for dealing with ADD!

Maybe you are looking for