Screen-active and screen-invisible

Hi all,
What is the difference between screen-active and screen-invisible as both are used in making the selection screen parameter invisible.
Regards,
Sandeep

Hi all,
i have worked with both screen-active and screen-invisible.  Below are the sample code where both of them are giving the same output. So i dont understand how the two can be used differently.
Using Screen-active
REPORT  zdemo_test.
PARAMETERS: p_pernr1 TYPE pernr_d,
p_pernr2 TYPE pernr_d.
PARAMETERS: rd1 RADIOBUTTON GROUP g1 DEFAULT 'X' USER-COMMAND abc,
rd2 RADIOBUTTON GROUP g1 .
AT SELECTION-SCREEN OUTPUT.
IF  rd1 EQ 'X'.
LOOP AT SCREEN.
IF screen-name = 'P_PERNR1'.
screen-active = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSEIF rd2 EQ 'X'.
LOOP AT SCREEN.
IF screen-name = 'P_PERNR2'.
screen-active = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Using screen-invisible and screen-input
REPORT  zdemo_test.
PARAMETERS: p_pernr1 TYPE pernr_d,
p_pernr2 TYPE pernr_d.
PARAMETERS: rd1 RADIOBUTTON GROUP g1 DEFAULT 'X' USER-COMMAND abc,
rd2 RADIOBUTTON GROUP g1 .
AT SELECTION-SCREEN OUTPUT.
IF  rd1 EQ 'X'.
LOOP AT SCREEN.
IF screen-name = 'P_PERNR1'.
screen-invisible = '1'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSEIF rd2 EQ 'X'.
LOOP AT SCREEN.
IF screen-name = 'P_PERNR2'.
screen-invisible = '1'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.

Similar Messages

  • Screen saver and screen sleep not working consistently

    Recently with one of the most recent updates my screen saver and screen sleep stopped activating when they should.  Sometimes I leave the room and come back an hour later only to find my screen is on and no screen saver.  I have screen saver set for 5 minutes and screen sleep set for 10 minutes (regardless of battery or plugged in state).  I have tried changing them and reserving to no avail.  Any way to fix this?
    Thanks.

    When was the last time you restarted your computer or even repaired permissions?
    Try trashing the ~/Library/Preferences/ com.apple.systempreferences.plist file and restarting the computer.

  • Re: Yoga 2 Pro - Screen Flickering and Screen Blanking

    sarbin wrote:
    Moderator comment: Several posts were removed for contravening the Community Rules:
    "No vendetta posts, or online campaigning. It is acceptable to state concern for how a particular Lenovo policy, performance, or procedure does or does not meet the expectation of a particular member, but it is not acceptable to use this forum in an attempt to broadly organize or incite members en mass, to cancel orders, return systems, undertake legal action or otherwise disrupt the normal business processes of Lenovo."
    Rather than telling us what we can't do...how bout, as a mod, help by empathizing and perhaps suggesting solutions of courses of action for us.

    kbonura wrote:
    I still feel like you can offer a suggestion rather than simply sweeping in and exerting your mod authority. This is a major issue that at this point there is no real evidence of lenovo addressing. 
    Are you an owner of a yogo 2 pro? If not, then you have no idea. You can't sit back and defend lenovo by modding us or hindering any potential efforts via discussion. You can't in good concience sit back and believe this to be ok.
    Regarding paragraph 1:
    1- If I had a suggestion to offer, I would have done so.
    2- The moderation done to the thread (and the post moved here) was to apply conformance to the Guidelines.
    3- Please see: http://forums.lenovo.com/t5/Idea-Windows-based-Tablets-and/Yoga-2-Pro-Screen-Flickering-and-Screen-B...
    Regarding paragraph 2:
    1- I have a Y2P, but don't have the issue described in the thread.
    2- The moderation applied was not a defense. It was an application of the Guidelines.
    Finally, again from the Community Guidelines, please recall:
    "Extended debate with moderators or admins over their decisions with regard to moderation of posts is considered trolling."
    Please feel free to continue the discussion, on-topic and within the Guidelines, in the ongoing thread.
    Regards.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество
    Community Resources: Participation Rules • Images in posts • Search (Advanced) • Private Messaging
    PM requests for individual support are not answered. If a post solves your issue, please mark it so.
    X1C3 Helix X220 X301 X200T T61p T60p Y3P • T520 T420 T510 T400 R400 T61 Y2P Y13
    I am not a Lenovo employee.

  • How to capture screen activity? (screen&audio to video file)

    Hello,
    I have to capture video desktop activity (including audio) to a file using JMF. I spent hours and hours searching this... a have studied a lot of classes, examples BUT I don't know how to bind them... how to record the actvity. My project is to record screen activity, upload on a server and finally control my computer remotely from an applet (or from another java desktop application). I will use HTTP streaming (what I record I upload on a server, then stream it to the client)
    Can someone show me some hints or code for modifying JVidCap example from Sun? Someone else on Sun forum said he could do it but did not say how...
    I just want to modify the video capturing so that I get the screen actifity recorded. I read nearly all examples possible including Screen Grabber...
    Please help me!
    I also have those two classes to get the screen activity as datasource... from [Screen Grabber|http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/ScreenGrabber.html] example but I really don't understand how to implement them in my application because there is no method returning a datasource object... (or probably I don't know how to use them):
    (DataSource and LiveStream class)
    I hope someone can bind them or help me to go on on this project.... it is so important to me ...

    Thanks A LOT for info. I really apprectiate it. This is my code... many mistakes I think... I have a NullPointerException. I renamed DataSource class to CDataSource and instead of line: "stream = streams[0] = new LiveStream(getLocator());" I passed the media locator:"stream = streams[0] = new LiveStream(ml);"
    public class capture extends javax.swing.JFrame implements DataSinkListener{
        private DataSink dataSink;
        private Processor outputProcessor;
        CaptureDeviceInfo cdi;
        public capture() throws IOException, NoDataSourceException, NoPlayerException, CannotRealizeException, IncompatibleSourceException {
                    initComponents();
    // video DataSource
            MediaLocator sourceLocator = new MediaLocator("screen://352,264,320,240/5");
             * javax.media.NoDataSourceException: Cannot find a DataSource for: screen://352,264,320,240/5
            at javax.media.Manager.createDataSource(Manager.java:1037)
    at commented line bellow*/
           // CDataSource videoDS = (CDataSource) Manager.createDataSource(sourceLocator);
            CDataSource videoDS = new CDataSource(sourceLocator);
    // sound DataSource
             cdi = CaptureDeviceManager.getDevice("DirectSoundCapture");         
             MediaLocator soundMediaLocator = cdi.getLocator();
             DataSource soundDS = Manager.createDataSource(soundMediaLocator);
             //merge Data Sources - is it correct?
             DataSource ds = Manager.createMergingDataSource(new DataSource[]{videoDS, soundDS});
    //check them - NullPointerException here, so I think the video DataSource is not correct? or merging is not correct?
              * Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
            at com.ibm.media.protocol.MergingDataSource.getContentType(MergingDataSource.java:53)
            at com.ibm.media.protocol.MergingPushBufferDataSource.getContentType(MergingPushBufferDataSource.java:63)
              System.out.println("ds: \n" + ds.getContentType() + ":" +
                                    ((PushBufferDataSource) ds).getStreams()[0].getFormat() + "\n" +
                                    ((PushBufferDataSource) ds).getStreams()[1].getFormat());
    //save to video file
             saveFile(ds);
             //handler
                    addWindowListener(new WindowAdapter() {
                            @Override
                            public void windowClosed(WindowEvent e) {
                                    try {
                                            if(outputProcessor != null) {
                                                    outputProcessor.close();
                                            if(dataSink != null) {
                                                    dataSink.close();
                                                    dataSink.stop();
                                    } catch(IOException ex) {
                                            ex.printStackTrace();
                private void saveFile(DataSource ds) throws NotRealizedError {
                      ProcessorModel outputPM = new ProcessorModel(ds,
                            new Format[]{new VideoFormat(VideoFormat.JPEG),new AudioFormat(AudioFormat.LINEAR)},
                            new FileTypeDescriptor(FileTypeDescriptor.QUICKTIME)
                      //save file here
                    MediaLocator dest = new MediaLocator("file://C:/rec.mov");
                    try {
                            outputProcessor = Manager.createRealizedProcessor(outputPM);
                            DataSource newDS = outputProcessor.getDataOutput();
                            newDS.connect();
                            newDS.start();
                            dataSink = Manager.createDataSink(newDS, dest);
                            dataSink.open();
                            dataSink.start();
                            dataSink.addDataSinkListener(this);
                            //record to that file
                            outputProcessor.start();
                    } catch(Exception e) {
                            e.printStackTrace();
    }I a starter in JMF (but not in java)... However I read so much JMF these days... I hope I will be a pro one day... :)
    Can you tell me my mistakes please? Should I use Merge class? (from example). Is video datasource correct?

  • Background, screen-width and screen-height

    can you help me a bit guys? how shall I create a movie where
    the background will be always 100% of screen-width and 100% of
    screen-height but the rest of the movie will be not affected by
    screen resolution - it means will be of fixed size.
    example: have a photo in front (200x300px) which needs to be
    always of that size and the background will resize according to the
    screen resoluiton ...
    it is even possible? thanks for any help ...

    Hello,
    Could you please try unchecking the sticky footer option from Site properties and then check if you face the same issue or not?
    Regards,
    Sachin

  • Yoga 2 Pro - Screen Flickering and Screen Blanking

    Hi,
    I love the Yoga 2 Pro. But i have fews issues with it. Especially when used on battery.
    My screen flicker from time to time. The onyl fix i found was to close the lid to put the laptop to sleep and the reopen it. Not very convinient.
    An other issue I encounter is the screen blanking after a while when the computer is not in use. It's like the computer blank the screen to save battery power, but when you want to reuse it again, it won't start again. THe only fix is to hard reset the computer (eg : press 10s the power button)
    I am running a fresh clean install of Windows 8.1 Pro with all the Lenovo Drivers up to date (exept the BIOS one)
    If you could help me fix my issues. I think it's software related.
    Do you think i should put the BIOS update ? Does anybody ever try with a clean windows 8.1 install ?
    Thanks a lot,
    Romain

    I have the same issue, only it occurs at low brightness.
    It flickers rapidly for a few seconds and goes away. It occasionally comes back, making it unable to work in darker environments with the rapid flickers.
    I've checked all the auto-brightness and intel power saving options. I tried using both refresh rates, and they don't make a difference. The problem occurs in all power plans and even in the non-Lenovo energy manger modes. All drivers and BIOS are up to date.
    I'm at a complete loss as to why this is happening...I would greatly appreciate a solution. I sincerely hope I don't have a defective laptop..):

  • Full screen mode and Screen saver Photo viewing

    The problem I have is my images vary in size, due to photos being taken on different cameras, with different settings, or photos/negatives that have been scanned.
    When viewed in iphoto some of the photos are smaller than others in full screen mode (obviously because they are smaller) where as the larger photos are "made to fit"
    When viewed with the screen saver in System Prefs. The large images appear pixalated and "zoomed in" Where as the small and medium sized photos look great.
    is there any way of solving these issues?
    any suggestions much appreciated.

    Set it to the iPhoto Library.
    When you set it to the Photos folder that's exactly what you get. The Pictures Folder has many thumbnails and alternate versions of the photos as well as other garbage you don't want.
    Regards
    TD

  • X60 - Screen flickers and screen shutoff - problem with power management or hardware failure?

    Hello everyone,
    this is one of the longest unsolved threads in Lenovo Forum. To keep a summary of the posts for new victims (as suggested by PDG in page 23, edited by me):
    Bottom line:  
    This is a video driver problem
    If you have XP and can, roll back to 4450 (I currently run with 4860 in XP without problems)
    If you have Vista you are basically screwed.  No one has posted any link to a functioning V32 driver.
    You can find a link to a backlevel XP driver on p.21 or thereabouts.
    {Windows 7, Linux} may or may not help. (no problems for me with Ubuntu 8,9 currently)
    LENOVO WILL NOT HELP.  Don't waste your time.  Lenovo will say its a hardware problem because that's all they know and charge you big bux to do basically nothing when you ship them your PC.
    This is the original entry:
    Hi,
    I always stay at the current level of available drivers with System Update.
    In the last days the screen starts to flicker / jiggle once in several minutes until suddenly the whole screen turns black and can't be reactivated. I then put the X60 into standby and it wake up right after. The screen is then turned on again...
    Its a 1706-AA7...
    I rolled back the graphics driver to an earlier version, didn't help. Does it look like some faulty power management? Or a potential HW issue?
    dsp
    UPDATE: this time the screen was totally light blue... same workaround: standby -> wakeup
    UPDATE2: I removed the driver completely and installed it manually from the driver matrix page. It took a couple of reboots. In between resolution was down to 640x480 with 4 bit. Not its working again without flickering...
    Was this a wrong driver pushed via System Update?
    Message Edited by dsp on 04-07-2008 07:01 AM
    Solved!
    Go to Solution.

    Hi,
    no - 2 video adapters are correct! You should not remove them. Read the Intel FAQ here.
    Strange - could it be that it also updated your video driver the same time? When I rolled back the video driver to a very old version, I never experienced the flicker again. No colorful blanks anymore.
    The Intel downloadpage offers a backlevel driver for the chipset;
    * Microsoft Windows* XP
    * Driver Revision: Production Version 14.32.3
    * Package: 43262
    * Graphics: 6.14.10.4906
    * HDMI Audio: 5.10.0.1030 But I don't know whether I should try. This release doesn't appear in the Thinkpad video driver history. Hopefully the bug will be acknowledged and they work for a fix. Where should bugs be reported, when they are not taken serious by the first level support?
    dsp
    Message Edited by dsp on 05-06-2008 01:19 PM

  • Desktop screen capture and screen clicks dropping

    Two questions- I can't seem to find in the manual. 1.Can captivate record the desktop? I can't figure out how to do it. And when I record a web application, my clicks which record going from screen to screen are getting dropped. I waited to make the time lapse longer hoping that would help but it doesn't. Is this a bug or am I doing something wrong?

    Hi there
    On my old laptop I had no issues with that. But I recently moved to a new laptop with Windows 7 64 bit. I find that things are somewhat hit and miss with Captivate. It works for the most part, but the only way I was able to record creating a shortcut on the desktop was by recording in Full Motion.
    Is your operating system by chance 64 bit Windows 7?
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Wrong detection of screen.width and screen.height

    Latest version (26.0 Windows)
    After seeing unexplainable behaviour I built a page with an alert
    alert (screen.width+ - +screen.height)
    The first time I load the page the answer is correct: 1920 - 1080
    If I leave the page and I load it again the answer is: 1536 - 864
    The odd beahaviour consists of altering sizes and positions for sizes and images.
    Other browsers (Chrome, Opera, Safari and even the old IE ver 8) behave as expected.
    I unistalled Firefox and installed it again without any luck.
    Thanks.

    Sorry, nothing to do with zoom. This was the first thing I checked!

  • Touch screen active when bluetooth device connects. help!!!

    Hi had my z2 for about a month now, very pleased with it so far but there is one issue i keep finding that i have narrowed down.
    I keep finding my phone will do random things in my pocket when out  and its really frustrating i had tried changing lots of settings todo with the screen as i thought it was when i got a notification it would wake the phone and my leg would simulate screen presses.
    That isnt the case however. I have narrowd it down to when i get in my car and the bluetooth connects to my car radio it makes the touch screen active, the screen does not light up but if you touch it as it connects it will wake the phone.
    Has anyone heard of this or have a solution (please dont say turn bluetooth off) 
    its really annoying me and spoils a otherwise almost perfect phone.
    Thank you
    FU5I0N uk

    The only other thing you can do is change the lock screen security as Swipe to unlock and attatching a bluetooth device like in your car will unlock the phones lock screen
    For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled.   Richard P. Feynman

  • Small Query in Selection Screen and Screen.

    Hello Guys...
    I have Created a program using Selection-Screen 1000. and Screen 2000.
    At Selection-Screen I have written code
    Start-of-selection.
      ok_code = sy-ucomm.
      CASE ok_code.
        WHEN 'BACK'.
            LEAVE PROGRAM.
    end case.
    and At the user-command of Screen 2000.
    I have written Follow code.
    ok_code = sy-ucomm.
      CASE ok_code.
        WHEN 'BACK'.
            LEAVE PROGRAM.
        when 'CANCEL'.
           LEAVE PROGRAM.
        when 'ADD'.
           Perform Add_New_Row.
        when 'REMOVE'.
           Perform DELETE_Row.
        when 'SAVE'.
           Perform SAVE_DATA.
        when 'EXIT'.
           LEAVE PROGRAM.
        endcase.
    My Problem is that I am not able to come out from program through back button..
    Follow is like that..
    at Selection Screen user provide some input on that basis screen 2000 Call.
    but when i press back button on screen 2000 Selection screen 1000 appear.
    and my Problem is that when i press back button on selection-screen on 1000.
    it's goes to screen 2000.
    I know, it's little thing I am missing, Let me know ..what was that..
    Cheers......
    Swati...

    Hello Guys...
    Previous code I have given is modify by this but same problem..
    I have dubug the program and trace it. it's will not goes on Selection Screen
    on Each back button the event occurs which is user-command 2000.
    I have Created a program using Selection-Screen 1000. and Screen 2000.
    At Selection-Screen I have written code
    Start-of-selection.
    ok_code = sy-ucomm.
    CASE ok_code.
    WHEN 'BACK'.
    LEAVE PROGRAM.
    end case.
    and At the user-command of Screen 2000.
    I have written Follow code.
    ok_code = sy-ucomm.
    CASE ok_code.
    WHEN 'BACK'.
          CALL SELECTION-SCREEN '1000'.
            EXIT.
    when 'CANCEL'.
    LEAVE PROGRAM.
    when 'ADD'.
    Perform Add_New_Row.
    when 'REMOVE'.
    Perform DELETE_Row.
    when 'SAVE'.
    Perform SAVE_DATA.
    when 'EXIT'.
    LEAVE PROGRAM.
    endcase.
    My Problem is that I am not able to come out from program through back button..
    Follow is like that..
    at Selection Screen user provide some input on that basis screen 2000 Call.
    but when i press back button on screen 2000 Selection screen 1000 appear.
    and my Problem is that when i press back button on selection-screen on 1000.
    it's goes to screen 2000.
    I know, it's little thing I am missing, Let me know ..what was that..
    Cheers......
    Swati...

  • Invisible Selection Screen(Low and High) accordingly through radio-button

    Dear Experts,
                         Currently I've faced some problem regarding selection-screen.Our user want that when he click P1(say) radio-button, then selection-screen "s1-high " is invisible and when he click P2(say) radio-button that time "s1-low" is invisible.
                         So can anybody tell me the how can i do it?
    warm regards,
    sameek mazumder.

    Hi Sameek,
    If user clicks radio button P2 then how can s1-low become invisible? Do you mean when radio button P2 is clicked program will not display the select option at all?Since If s1-low becomes invisible there is no point of s1-high in the display. Please clarify your requirement.
    However, I think that if it can be something like if radio button 1 is pressed s1-low is visible. If radio button 2 is pressed normal select option is displayed. Please check the following code to achieve this:
    DATA: gv_matnr TYPE matnr.
    PARAMETERS : p_rb1 RADIOBUTTON GROUP g1 USER-COMMAND radio,
                 p_rb2 RADIOBUTTON GROUP g1.
    SELECT-OPTIONS s_matnr FOR gv_matnr.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name CS 'S_MATNR-HIGH'.
          CASE 'X'.
            WHEN p_rb1.
              screen-active = 0.
            WHEN p_rb2.
    *Do nothing
          ENDCASE.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    INITIALIZATION.
      LOOP AT SCREEN.
        IF screen-name CS 'S_MATNR-HIGH'.
          screen-active = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Hope this would help.
    BR,
    Atanu

  • TCode IW42, Program SAPLCORU and SCreen 3360, Make Invisible (hide).

    Hi,
    In TCode IW42, on the overall confirmation screen there is a section Time Confirmation, this section of the screen should be invisible to all users. The  Program Name (Subscreen) is SAPLCORU and Screen No is 3360.
    How do I make this section invisible (hide) to all users?
    Any help would be appreciated.
    Thanks
    Mick

    Hi,
    In exit EXIT_SAPLCMFU_001, I have written the following code:
    Loop at screen.
        If screen-group1 = 3001.
        SCREEN-INVISIBLE = '1'.
        SCREEN-ACTIVE = '0'.
        Endif.
      endloop.
    Howver this does not work as the structure screen is empty.
    Please help.
    Mick

  • My iPod touch needs to be activated and the screen is locked.

    My iPod touch screen wasn't working so I turned it off. After I turn it on again it says "activation requiered". I went to the iTunes in my computer and try to activate it but then it says It was locked and I need it to enter the pass code, even thought I know my password I couldn't enter it because the iPod need an activation and the touch doesn't response.
    I hope you really can help me i don't want to loss my iPod :(

    http://support.apple.com/kb/HT1212
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

Maybe you are looking for

  • Can you show at a glance which event images are in albums?

    Say I had an event containing multiple similar but different images, is there a way to show in the grid view for example which images have already been used in one or more albums? Would be handy to be able to select a 'show list of albums containing

  • Disk Utility - Time Machine & iCloud

    I don't understand why Disk Utility doesn't automatically run Verify & Repair after a resizing a disc partition.  This simple failure on my part (unGENIUSness) lead to additional failures on when I tried to run TIME MACHINE.  Time Machine never stopp

  • What's the deal with Ghostscript?

    I noticed that the gsfonts package in testing is older than the one in curent, and also that the current ghostscript package is significantly older than the testing one: Current system ghostscript 7.07.1-5 Current x11 gsfonts 8.11-2 Testing system gh

  • After drag and drop initiation get rid of dragged symbol

    Here is the code I have now for the drag and drop initation onMouseMove = function(){ updateAfterEvent(); redCircle.onPress = function(){ startDrag(this,true) redCircle.onRelease = function(){ this.stopDrag(); checkTarget(this); redCircle.onReleaseOu

  • How to integrate Jboss seam frame work with Jdeveloper 11

    hi Really i don't know how to integrate Jboss seam frame work with JDeveloper, actually my current project implementation was started with Netbeans, but i am planning to suggest my customer , use JDeveloper. please provide the solution are any inform