How to change the screen element to be ineditable in Dynpro POV

Hi Experts,  any one has experience on how to change the screen element to be ineditable in Dynpro POV?

Write this piece of code in the PROCESS ON VALUE-REQUEST..
PROCESS ON VALUE-REQUEST.
FIELD MARA-MATNR MODULE matnr_mod.
MODULE matnr_mod input.
LOOP at Screen.
if screen-name=<field_name>.
  screen-input = 0.
  modify screen.
endif.
ENDLOOP.
ENDMODULE.
Thanks
Venkat.O

Similar Messages

  • How to change the screen element of a single field in a table control

    Hi Gurus,
    I want to change the screen element of a single field (or the whole row) in a table control according to a condition.
    I have 2 columns in the table control. One is an input column and one output only. When user enters values into the input column, they need to be compared against the values in the other column, and if there is a discrepancy, the row where the discrepancy is needs to be highlighted.
    I have tried the following code which highlights the whole column ...
    CONTROLS: TC_ZVOYG_BINS TYPE TABLEVIEW USING SCREEN 0500.
    DATA: wa_tc_zvoyg_col LIKE LINE OF TC_ZVOYG_BINS-cols.
      LOOP AT G_TC_ZVOYG_BINS_ITAB
               INTO G_TC_ZVOYG_BINS_WA.
        if G_TC_ZVOYG_BINS_WA-zdelivery_bin ne G_TC_ZVOYG_BINS_WA-zactual_bin.
          loop at screen.
            IF screen-name = 'ZVOYG_BINS-ZACTUAL_BIN'.
              wa_tc_zvoyg_col-screen-intensified = 1.
              MODIFY tc_zvoyg_bins-cols FROM wa_tc_zvoyg_col TRANSPORTING
              screen-intensified WHERE screen-name = screen-name.
            endif.
          endloop.
        endif.
      endloop.
    And also the following code which makes no change ...
      LOOP AT G_TC_ZVOYG_BINS_ITAB
               INTO G_TC_ZVOYG_BINS_WA.
        if G_TC_ZVOYG_BINS_WA-zdelivery_bin ne G_TC_ZVOYG_BINS_WA-zactual_bin.
          loop at screen.
            IF screen-name = 'ZVOYG_BINS-ZACTUAL_BIN'.
              screen-intensified = '1'.
              modify screen.
            endif.
          endloop.
        endif.
      endloop.
    Thanks in advance.

    Hi,
    The modification of a screen element attribute (LOOP AT SCREEN...MODIFY SCREEN) must always be done in the PBO (for a dynpro, it will be in a PBO module, i.e. declared by MODULE ... OUTPUT)
    About the loop at the internal table, it is done automatically by the system, also during the PBO, you'll find something like LOOP [AT itab] ... WITH CONTROL ...  in the PBO part of the screen flow logic (note: you may have to complete with a supplementary READ TABLE if you don't use AT itab). So you don't need an additional loop.
    Best regards
    Sandra

  • How to Change the Screen Saver Settings to Mystify in Windows 7 using vbscript?

    HI All,
    How to Change the  Screen Saver Settings to Mystify in Windows 7 using vbscript?
    Thanks
    Divakar

    First: What is a GPO?
    Second: jrv, that was not too helpful in general. someone should do some actual code.
    Bob Blork - Mark as answer if it helped!
    This is a forum for technicians and not for home users.  GPO is what technical people use to manage Windows. THe script to do this is in the link I posted - how is that not helpful?
    I know this is all over your head.  I am curious as to why you would respond in a technical forum to a question you do not understand.
    We do not provide free scripts.  We also will point users at correct answers.
    This is not a forum for homw users or for simple support questions.  It is also a thread that has been  answered for a long time.  Perhaps you should start a new thread if you have an actual question about scripting.
    ¯\_(ツ)_/¯

  • How to change the screen brightness on a macbook?

    How to change the screen brightness on a macbook?
    My Macbook is a May 2010 model in white
    I am looking how to change the brightness using the keyboard, because I know how to change it using System Pres

    The F1 and F2 keys control brightness.  Depending on how you have your function keys set up, you may have to also hold down the fn key to activate.

  • How to change the default element tag using dbms_xmlgen

    here is my code that generate output for purchase order data. I followed the syntax shown in xml db developer guide.
    I am getting the results but element tags are CAPS letters( As the coloumn names in the type defenitions are stored in CAPS in Oracle). but I need to show in small letters as per my requirement.
    can anyone help me how to change the default tag names for elements.
    ==================================HERE IS THE CODE==================
    DECLARE
    qryCtx DBMS_XMLGEN.ctxHandle;
    result CLOB;
    BEGIN
    qryCtx := DBMS_XMLGEN.newContext
    ('SELECT PODL_H_T
    ( CLOSEDDATETIME ,
    COMPANY ,
    CAST(MULTISET
    (SELECT LINENUMBER ,
    COMPANY ,
    PURCHASEORDERID ,
    ITEM ,
    QUANTITYUM ,
    TOTALQUANTITY
    FROM cpo_wms_podl_LINES
    WHERE PURCHASEORDERID = PH.PURCHASEORDERID) as PurchaseOrderDetailList
    FROM cpo_wms_podl_HEADERS PH ');
    -- now get the result
    DBMS_XMLGEN.setRowSetTag(qryCtx, 'Receipts' );
    DBMS_XMLGEN.setRowTag(qryCtx, 'PurchaseOrder' );
    result := DBMS_XMLGEN.getXML(qryCtx);
    INSERT INTO temp_clob_tab VALUES (result);
    DBMS_XMLGEN.closeContext(qryCtx);
    END;
    -- select * from temp_clob_tab
    ===========create type script=====================
    cpo_wms_podl_HEADERS
    CREATE or replace TYPE PurchaseOrderDetail AS OBJECT(
    LINENUMBER VARCHAR2(400 BYTE),
    COMPANY VARCHAR2(400 BYTE),
    PURCHASEORDERID VARCHAR2(400 BYTE),
    ITEM VARCHAR2(400 BYTE),
    QUANTITYUM VARCHAR2(400 BYTE),
    TOTALQUANTITY NUMBER
    create type PurchaseOrderDetailList as table of PurchaseOrderDetail
    create table temp_clob_tab(result CLOB)
    create type podl_HEADERS_list_t as table of podl_HEADERS_t
    CREATE or replace TYPE PODL_H_T AS OBJECT
    CLOSEDDATETIME DATE,
    COMPANY VARCHAR2(400 BYTE),
    CREATEDDATETIME DATE,
    PURCHASEORDERID VARCHAR2(400 BYTE),
    SHIP_TO VARCHAR2(400 BYTE),
    linelist PurchaseOrderDetailList
    )

    but I need to show in small letters as per my requirement.add alias column names in double quotes as in
    SQL> select dbms_xmlgen.getxmltype('select dname "DeptName", loc "Location" from dept') dept_xml from dual
    DEPT_XML                                                                       
    <ROWSET>                                                                       
      <ROW>                                                                        
        <DeptName>ACCOUNTING</DeptName>                                            
        <Location>NEW YORK</Location>                                              
      </ROW>                                                                       
      <ROW>                                                                        
        <DeptName>RESEARCH</DeptName>                                              
        <Location>DALLAS</Location>                                                
      </ROW>                                                                       
      <ROW>                                                                        
        <DeptName>SALES</DeptName>                                                 
        <Location>CHICAGO</Location>                                               
      </ROW>                                                                       
      <ROW>                                                                        
        <DeptName>OPERATIONS</DeptName>                                            
        <Location>BOSTON</Location>                                                
      </ROW>                                                                       
      <ROW>                                                                        
        <DeptName>SALES</DeptName>                                                 
        <Location>MUNICH</Location>                                                
      </ROW>                                                                       
    </ROWSET>                                                                      
    1 row selected.

  • How to change the screen resolution

    Dear All,
    Could someone please help and tell me how I can change the screen resolution (i.e. the dimensions of the monitor) in Solaris 10 using CDE?
    Regards and thanks a lot for your reply

    This site has some instructions on how to do this: http://solaris-x86.org/documents/tutorials/cde.mhtml

  • How to change the screen resolution in the Mobile Emulator

    so far we tried the Mobile Emulator in the netbeans, it is alway 240*320, but many real device is WVGA(480*800)
    whether does that mean the JavaFX Mobile only support the 240*320?
    if not, how can I change the screen resolution of the mobile Emulator, thank you

    I'd like to know how to do this, too. I tried fiddling with the "ScreenGraphics.bean" in the JavaFX\javafx-sdk1.2\emulator\toolkit-lib\devices\QwertyFxPhone directory, but without success.
    If anyone knows, please just drop a quick line here!

  • How to change the screen field text in runtime

    Hi ,
      I want to change the screen button text in runtime IN ABAP dynpro screens. if anybody know this please post some helpful answer
    Regards,
    Anil kumar G

    Hi Anil..
    We can change the Text of a Pushbutton dynamically.
    For this:
    1. Declare a Global variable with the Same name as the Button in TOP include
      Eg:   Data: Button1(30).
    2. In the PBO module of the Screen assign the Text to this variable:
       Eg:
        Module set_text OUTPUT.
            Button1 = 'This is the text'.
        ENDMODULE.
    <b>REWARD IF HELPFUL.</b>

  • How to change the screen settings in my laptop

    Hello. I have a Satellite Toshiba laptop and as my daughter started pressing some buttons she changed the settings on the screen. When I go to my email or to some web pages the page and the letters look bigger and maybe of a different style, although my screen zoom level remains at 100% and then they are too small if I put the zoom at 75%. I tried to change the screen settings through the control panel but couldn't find something useful and then when I tried to restore the system to an older restore point so I can go back to my old settings it wasn't able to do it, even though I' ve tried different restore points (lovely windows!). Anyone has any ideas of what else I can do?
    Thank you in advance!
    Sandra

    Probably one of these, Sandra.
    Satellite A200-1J0 (PSAE6E-04R034AR)
    Satellite A200-1J0 (PSAE6E-04R039HU)
    Satellite A200-1J0 (PSAE6E-04R03DRU)
    The best resolution of that screen is 1280 x 800.
    This site is for models made in the USA. You'll find your drivers and utilities here.
    -Jerry

  • How to change the screen time on 2330c.....

    is there any option to change the screen time from center to a top end.....?
    Solved!
    Go to Solution.

    Date and timeSelect Menu > Settings > Date and time.To set the date and time, select Date and time settings.To set the formats for date and time, select Date and time format settings.To set the phone to update the time and date automatically according to the current
    time zone, select Auto-update of date & time (network service). 
    here is online guide which may contain more info
    http://nds1.nokia.com/phones/files/guides/Nokia_2330_classic_en.pdf
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • How to change the web page title of a web dynpro app?

    Hello,
    I would like to change the HTML page title of a web dynpro application without renaming the application component itself - but how?
    Thanks for your comments!

    Hi M Walter,
    Assuming you are using Web Dynpro Java, you can change the title of the Web Page for Web Dynpro App by adding the title to the main window of your app.
    Go to Windows and open the properties. There will be a field called 'title'. Give the title you want, save, build, DC->Build and deploy.
    The title you gave to this Window will be displayed as the title of your Web page.
    Regards,
    Ajay

  • How to change the screen resolution in Sparc workstation.

    I am using the CDE screen to login. I need to set the screen resolution to 1100*864. How to set?
    solaris 10 current setting is 1280*1024.

    Specs for Ultra20 machine list ATI graphics as " onboard " chipset and the availability of four (4) other plug-in cards as options.
    Depending on the installed graphics card, you must seek different commands, etc. for each change of resolution.
    If you do not have the original manuals that accompanied the unit, check Sun`s site for documentation. They list an abundance of info and the " Getting Started " book gives indepth details about setting up the various graphics options for proper use with the various operating systems. ....................... John.

  • How to change the view element visibility Dynamically?

    Hi,
    Can any one please suggest that how can I make one of the viewUIElements from the view, visible on the whole screen? Basically i want to make the data in the table, available for printing. I want when user clicks on the print button, he should see only the data in the table on the whole screen and some icons, nothing else. Again when he clicks one back button icon on the screen, he should return to the previous view.
    Thanks and Regards,
    Smriti

    <b>Hi smriti Behl
    I Think you can get something from the below explanation
    Create one UI Element For example "Visible" and make the type as
    com.sap.ide.webdynpro.uielementdefinitions.Visibility
    Now bind this Context Value with the UI Elements ie UI elements which you want to make Not Visible When you click Print Button. You can write the Following Code inside the print button
    wdContext.currentContextElement().setVisible(WDVisibility.NONE);
    When you want to make the UI Elements Visble When Click Back Button Write Following code In side Back Buuton Method
    wdContext.currentContextElement().setVisiblity(WDVisibility.VISIBLE);
    May i Know Your Problem Solved ..............
    Regards
    Chandran S</b>

  • How to change the smtp. element of the outbound mail server

    When adding an existing email account it is not possible to change the 'smtp.' portion of the outbound mail server address.
    My smtp server name is 'mailout.easymail.ca'
    How can I set this?

    It is NOT a prefix. It is a label. It indicates the type of server this particular setting will connect to.
    Here are the relevant bits of two of my accounts settings.
    account27:<br>
    INCOMING: account27, , (imap) mail.tamba.co.uk:143, plain, passwordCleartext<br>
    OUTGOING: mail.tamba.co.uk:25, plain, passwordCleartext, true<br>
    <br>
    account29:<br>
    INCOMING: account29, , (imap) mail.btinternet.com:993, SSL, passwordCleartext<br>
    OUTGOING: mail.btinternet.com:465, SSL, passwordCleartext, true<br>
    No skulldduggery was required to get those ''mail'' "prefixes" in place. ;-)

  • How to change the screen order depending on a answer to a question?

    Hi All
    I am new to this forum and OPA....
    I am using OPM 10.1 and created few screens and need to show particular screens only if some attributes from the earlier screen is set to true.
    For example:
    I got 4 screens
    <li>Basic details
    <li>Marraige details
    <li>Spouse details
    <li>education details
    "Basic Details" screen has 2 questions
    1 What is your name? (Text)
    2 What is your age? (Numeric)
    3 Are you married ? (boolean)
    all these attributes are defined in the properties file.
    <b>only if the third question is answered as "Yes"</b> I want to display the "Marraige Details" screen
    <b>else</b> the <b>education details </b> screen will be displayed.
    I want to do this <b>without creating a screen order</b> in the screens file. Is this achievable using goals?
    Can any one please help?
    Edited by: rukbat on Oct 15, 2011 11:20 AM
    Moderator Action and Advice:
    Your gaudy rainbow-colored signature has been removed from this post.
    Try to be professional, so that you are not percieved as a clown.

    Well you could use a screen-flow. However this seems like a pretty clear use for a screen order, and I'm curious why you particularly want to avoid using a screen-order?
    Whether you use a screen order or not, the key is to ensure that your goal is defined such that the attributes on those other screens are not needed if the "are you married" question is answered false. For example a goal such as:
    the person is eligible for something if
    ___ the person has a valid marriage certificate
    In this case that attribute is going to be asked no matter what. So instead you guard it:
    the person is eligible for something if
    ___ the person is married AND
    ___ the person has a valid marriage certificate
    Now if they're not married, they're automatically excluded and the second question will be irrelevant and won't be asked. This is true whether or not you're using a screen order, if you're driving an interview via a goal. However a screen flow allows you to implement this logic more explicitly, albeit in a less-intelligent way.

Maybe you are looking for