Screen exit....disable display mode

Hi All,
I am working on screen exit. I am using the tn. code KO01, KO02, KO03. I have added three new fields on the subscreen. I want the fields which i have added to be input disabled when i go to the transaction code KO03. How should i achieve it.
Will reward if the reply is helpful.
Thanks.

Hi,
Use :
    loop at screen.
      if screen-name = 'ZONE1' or screen-name = 'ZONE2'.
        screen-input = 0.
        modify screen.
      endif.
    endloop.
Best regards
Mustapha

Similar Messages

  • Screen exit to display subscreen

    Hi every body,
    i'm programming a screen exit, to display User subscreen for notification header. (user exit QQMA0001)
    i added my own fields in QMEL table as include structure, i crete the screen 100 as empty screen.
    the problem is that fields dont appear on the screen.
    Please help!
    A+
    Ihsen ABROUG

    already done, i create the screen 100,
    but i see in spro that the screen must be created as an empty subscreen.
    i just create the screen in my cmod project by double clicking on screen 100 as an empty subscreen and i activate.
    although i dont need the 2 function exits, i activated them by creating the two zz includes!
    but still not working.
    do you think i must create on the screen painter the fields!

  • Dec 2012 iMac using bluetooth keyboard will not exit Target Display Mode

    Hi! I have a new 27" iMac that I would like to use as a second monitor for my work laptop a late 2011 15" MBP. iMac is on 10.8.3 and Mac Book Pro on 10.7.5. Connected via a thunderbolt cable.
    I can toggle on Target Display Mode using the command-F2 keys on my bluetooth keyboard connected to the iMac. If I understand directions correctly, I should use the same keys and keyboard to toggle off – but it doesn't work. I'm able to work around by putting MBP to sleep, which exits the iMac out of TDM.
    I can use the work around, but...
    1) it's annoying.
    2) If I can't use the bluetooth keyboard to toggle, it would be nice to connect it to the MBP for use while in TMD. Unfortunately, the bluetooth keyboard is undiscoverable, presumably because it's still connected to the iMac.
    I wonder:
    Am I doing something wrong trying to toggle out of TMD using bluetooth keyboard?
    or
    Is there a way to enter iMac into TMD without using keyboard command? Maybe System Preferences?
    Thanks for your help in advance!

    Here's the solution: I had the same problem using my 27" iMac as an external display.  The issue is, when you go to Target Display mode, your target computer, the iMac 27" locks the screen with your password. 
    To switch off TDM, type your password in on the iMac keyboard and press the enter key.
    Now press COMMAND - F2 and the displays with switch back to two separate displays.  :-)
    I had to think like a computer to figure that out but it makes sense.
    I also have the disappearing mouse pointer and have not figured that one out.  I did all the software updates and I did not have this problem until I upgraded to Lion.  It is definitely a software issue.  I might have to open a case with Apple support.  Not happy.
    Derrick

  • Problem with Setting Display Mode

    Hello!
    I'm working on a game right now and i want to run it in fullscreen mode.
    Now this program sets up full screen mode just fine, however, it will not allow me to set the display mode.
    I'm using the standard full screen and set display mode calls. It worked just fine before, and now all of the sudden the program will not allow me to set the display mode (this is crucial so that i can set the resolution and the game will run at the proper size on all computers -- yes it may be a bit skewed but it should still work).
    Any ideas?
    Thank you!

    And now its working with the following code:
        private void setupFullScreen()
            //Sets up all the variables and such to go into Full Screen Mode
            //->Get Environment Vars
            GraphicsEnvironment graphicsEnvironment = GraphicsEnvironment.getLocalGraphicsEnvironment();
            GraphicsDevice devices[] = graphicsEnvironment.getScreenDevices();
            graphicsDevice = devices[0];
            //Setup FSMode
            setTitle("Invasion");
            origDisplayMode = graphicsDevice.getDisplayMode();
            DisplayMode mode = new DisplayMode(screenWidth,screenHeight,32,DisplayMode.REFRESH_RATE_UNKNOWN);
            //TEMP
            JButton exit = new JButton("Exit");
            exit.addActionListener(new ExitListener());
            getContentPane().add(exit, BorderLayout.NORTH);
            getContentPane().add(new TempColorPanel(screenWidth, screenHeight, this), BorderLayout.CENTER);
            if(graphicsDevice.isFullScreenSupported())
                setUndecorated(true);
                setResizable(false);
                graphicsDevice.setFullScreenWindow(this);
                if(graphicsDevice.isDisplayChangeSupported()){
                    graphicsDevice.setDisplayMode(mode);
                else{
                    graphicsDevice.setDisplayMode(origDisplayMode);
                    graphicsDevice.setFullScreenWindow(null);
                    JOptionPane.showMessageDialog(null, "Your Computer Doesn't Support the Required Display Mode,\nGoing to Panelled Mode.");
                    setupPanelledWindow();
                validate();
            }else{
                //Error - Doesnt Support FullScreen Mode
                JOptionPane.showMessageDialog(null, "Your Computer Doesn't Support this Graphics Mode,\nGoing to Panelled Mode.");
                setupPanelledWindow();
            }Just wondering why when i get rid of the Try{}Finally{} part and replace it with a simple if(){}else{} it works...
    Anyone know why?
    PS - I posted the code in case anyone else is also having this problem ;)

  • Fields not greyed out in display mode in screen exit

    Hi all,
    i am working on an screen exit for CJ02 transaction. the values in the customer subscreen are getting updated in database and even it is reflecting in fields when viewed again. the problem is that in display mode (CJ03) the fields are still editable. though there is no save button, but the fields should be greyed out.
    i have tried to modify screen using LOOP AT SCREEN in the function exit provided in PBO.....but it is not picking the subscreen.
    please provide any solution as soon as possible.
    thanks in advance

    In the PBO in your screen exit:
    IF sy-tcode EQ 'CJ03'.
    LOOP AT SCREEN .
    if screen-name 'your field'
    screen-input = 0.
    screen-output = 1.
    MODIFY SCREEN.
    ENDIF.
    endif.
    what enhancement are you using?
    bye

  • Opening a selection screen in display mode

    I have an ALV grid created in OOPS. Each line of this ALV has name of a report and its variant name. Here I have created a button on toolbar. When a user selects a line and clicks this button, selection screen of the selected report is to be opened in display mode with selection screen filled as per its variant. Both the report name and varaint name will be same as the selected line. I am able to open the selection with varaint filled, but it comes in editable mode. How do I make it non-editable mode?

    Hi,
    For making your selection screen non editable you will have to disable them for input.
    For this you will have to modify the screen structure.
    try this:
    loop at screen
    if screen-fieldname = 'XYZ'.
    screen-input = '0'.
    endif.
    modify screen.
    endloop.
    You can write this code at selection screen of the program which calls this selection screen.
    Call this code under a condition, so that it get triggeres only when you call this screen form the ALV.

  • How to make a field in custom screen as display field in screen exit

    Hi ,
    I have created a screen exit for CO02 with a field for item text in header level as input field , when value is given and save button is cliked it gets updated in database but the problem is same field shows as input field in CO03 ( display mode ) .
    Code which i have used .
    in PBO
    if sy-tcode = 'CO03'.
    loop at screen .
    if screen-name cs 'SUBSCREEN' or screen-name cs 'RESB-POTX1'.
    ( subscreen - screen name given in screen editor and   resb-potx1 field name given in screen editor )
    SCREEN-INPUT = '0'.
    modify screen.
    endif.
    endloop.
    endif.
    and even i tried in PAI too .....
    if sy-tcode = 'CO01' or sy-tcode = 'CO02'.
    update resb set POTX1 = RESB-POTX1
    where aufnr = i_aufnr.
    elseif sy-tcode = 'CO03'.
    *oop at screen .
    *f screen-name cs 'SUBSCREEN' or screen-name cs 'RESBD-SORTF'.
    SCREEN-INPUT = '0'.
    modify screen.
    endif.
    endloop.
    endif.
    but itshows as input field only ........how to make that custom field as display field in CO03

    HI Andy,
    Try this out.
    FIrst check the sy-dynnr, if it is same as your custom screen number
    in PBO of your custom screen
    if sy-dynnr = 'YOUR_NUMBER' and sy-tcode = 'CS03'.
    loop at screen
    if screen-name = 'YOUR_SCREEN_NAME'
    screen-input = 0.
    modify screen
    endif
    endloop.
    endif.
    if it wont work they try using Tcode SHD0
    Hope this will serve your purpose.
    Regards
    Ramchander Rao.K

  • Default value in selection screen in display mode

    Hai Friends,
    In my selection screen i have a parameter PA_LEVEL, this should have a default value as 10 but it should not be in the change mode. i want that to be in the display mode as in FAGLL03 ( Ledger value ).
    how can i do this.
    Moderator message - Please do not ask such basic questions. This can easily be answered by searching the forum.
    Edited by: Rob Burbank on Apr 16, 2009 12:18 PM

    Hi,
    Use LOOP AT SCREEN...ENDLOOP. in the AT SELECTION-SCREEN OUPTUT event to disable the input field.
    LOOP AT SCREEN.
    IF screen-name CS 'FIELDNAME'.
    screen-input = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.

  • Screen exit  : Field disable Problem

    Hi all ,
    I am facing  a  problem guys in disabling  the screen field
    In this screen exit  ECSCC001 , i have created a  push buttons and check boxes
    ECSCC001      FI-CA Customer Contact: Sub screen Integration and Field Test
    I am not able to disable those Fields using * loop at screen, screen-input = 0 .modify * 
    My requirement is to disable those fields depending upon the condition
    kindly suggest with a helpful solutions
    Regards

    Hi,
    have a look at transaction OLMRLIST and create a variant for
    program SAPLFDCB
    dynpro   0150
    There you´ll be able to set field INVFO-LIFRE to "Display Only".
    Later you will have to attach this variant to a transaction variant.
    Best regards.

  • Screen Exit to disable Delete option in VL02N

    Does anyone know how to disable DELETE menu option in second screen of VL02N  <b> when the delivery are not PGID</b>??? Is there any screen exit or any way using which we can disable it.I guess transaction variant is one option other than screen but how to go about it ??? Can anyone pls help me out....

    Transaction Code - VL02N                    Change Outbound Delivery
    Exit Name           Description
    V02V0001            Sales area determination for stock transport order
    V02V0002            User exit for storage location determination
    V02V0003            User exit for gate + matl staging area determination (headr)
    V02V0004            User Exit for Staging Area Determination (Item)
    V50PSTAT            Delivery: Item Status Calculation
    V50Q0001            Delivery Monitor: User Exits for Filling Display Fields
    V50R0001            Collective processing for delivery creation
    V50R0002            Collective processing for delivery creation
    V50R0004            Calculation of Stock for POs for Shipping Due Date List
    V50S0001            User Exits for Delivery Processing
    V53C0001            Rough workload calculation in time per item
    V53C0002            W&S: RWE enhancement - shipping material type/time slot
    V53W0001            User exits for creating picking waves
    VMDE0001            Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002            Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003            Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004            Shipping Interface: Message SDPACK (Packing, Inbound)
    No of Exits:         17
    Rewards if useful.................
    Minal

  • TS3775 Hi I am trying to connect my mba mid 2011 with an imac 27" 2011 with target display mode tdm. When I am using a thunderbolt cable nothing will work. When I use a minidisplay cable, both screens turn blue but eventually nothing happens. What is the

    Hi I am trying to connect my mba mid 2011 with an imac 27" 2011 with target display mode tdm. When I am using a thunderbolt cable nothing will work. When I use a minidisplay cable, both screens turn blue but eventually nothing happens. What is the problem

    Your answer is likely in Target Display Mode: Frequently Asked Questions (FAQ) - Apple Support If you are familiar with this document, please re-read it and I suspect you may find something you either missed or are doing incorrectly.

  • Target Display Mode: Lenovo T420 DisplayPort to iMac (2nd screen) does not work

    Configuration:
    - Laptop Lenovo T420, DisplayPort, Windows 8.1
    - DisplayPort cable, Adapter to Mini DisplayPort
    - iMac (Intel, 27-inch, Mid 2011) as 2nd screen, connected via Mini DisplayPort Adapter, Mavericks OSX 10.9.1
    Problem:
    - iMac does not start Target Display Mode
    - Even cannot be forced via Cmd + F2 or Cmd - Shift - F2
    Test:
    - Lenovo via DisplayPort cable to 2nd screen works fine
    - Can switch between PC only, Duplicate, Extend display
    Question:
    - What is wrong?
    - What can be done to idenify the root cause?
    Kind regards, Marcel.

    Hello Marcel,
    It sounds like you are wanting to use the iMac in Target Display mode with your PC. Target Display mode is a feature that is supported from one Mac to another Mac according to this article:
    OS X Mavericks: Use another Mac as a display
    http://support.apple.com/kb/PH14264
    Target Display Mode lets you use a Mac as the external display for another, “primary” Mac.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • Disable sound on imac in target display mode

    Have a question about disabling the sound.
    I have a MacBook Pro connected to my iMac by the thunderbolt cable. I enable the target display mode on iMac with a script for disabling some configurations on iMac ( including the bluetooth for mouse and keyboard steal ).
    I set the sound output in the MacBook Pro to the iMac DisplayPort.
    The problem is now i have both outputs on iMac speakers. i want to disable all sound from iMac but keep the output from MacBook Pro on iMac speakers.
    Is this posible?
    Thanks.

    Humm... I might go TosLink between the iMac and the FastTrack and then run the USB connection to the MacBook Pro when your using it in Target Display Mode.
    Or vise Versa, leave the USB connected to the iMac and use the TosLink connection for the MacBook Pro.
    See > NewerTech CBLAOPTMT Toslink to Mini Toslink Optical... in stock at OWC

  • Display a file with in the ADF screen in the edit mode.(RTF or Word format)

    Hi ,
    As per my business need i need to display a file (.doc or .pdf) in the ADF screen in the edit mode. Later user can be able to save the document . As of now i am using a separate editor for edit the document. but that editor is supporting only for html format only. so that some images which are there in those files are not displaying in the screen.so this is not the consistent solution for my requirement.
    So please help on this if any body had done this kind of object.
    Thanks,
    Rajesh
    Edited by: 927500 on Apr 18, 2012 7:31 AM

    Hi,
    ADF doesn't provide a component for PDF and Word editing.
    Frank

  • After target display mode, iPhoto reports an error, "The current screen resolution is not optimal for iPhoto."

    I have the 27-inch (late 2009) iMac with mini-Display port input. Whenever I return from Target Display Mode, I get the attached error message and iPhoto becomes unresponsive (the window is still active, but clicking on it produces the error/warning system sound), I have to Force Quit it. The current screen resolution is not optimal for iPhoto (sometimes the error message is a little off the screen in the lower left and only the top of the window can be seen. This also seems to affect iTunes at the same time (by resizing the window to be super small), but without the error message or unresponsiveness.
    Has anyone else gotten this problem, and or might know of a fix?

    Yes, I have the same problem.  I have checked the resolution in Sysyem Preferences - display and it is properly set to the highest resolution (which is recommended).  I have no idea why this is ocurring but it is annoying.

Maybe you are looking for

  • How do I get Pages on my iPhone and Pages on my Macbook Pro to sync through iCloud?

    Hi All, I just downloaded the Pages app for my Iphone4 and I've already had the Pages app for my Macbook Pro and I want the documents (proposals for work) thats saved on my Mac to obviously be available on my phone through Pages.  I've turn on the do

  • How can I extract an integer from a TextField?

    I wrote my code for my multiplications tables program, and it compiles fine. However, when I go to run it, it throws some exceptions because of the line where I try to extract the integer from the TextField. This is my code. //July 2, 2011 //Multipli

  • I want to learn how to use the creative soft synth

    please somebody throw me a bone....i need to start from the BEGINING here! where can i find a beginers guide telling me everything i need to know ...step by step ....how to configure and use the creative built in SOFT SYNTH....is there a control pane

  • Oracle 11.2g db link to 8.1 via intermediate host 10.2 issue

    Hi I have a db link that connects 11.2 database to 8.1 database via a intermediate Oracle 10.2 host (synonyms). There are synonyms defined in 11.2 database. When i run queries against the synonyms using SQL * plus, i get results back. However, when i

  • R12 Supplier Bank Account Update API error

    Hi All , While updating the supplier bank accounts by using API (iby_ext_bankacct_pub.update_ext_bank_acct). i am getting below error. The record is locked by other users for modifications. Could you please help on this ... Thanks in Advance, Thanks,