How to change the Value in the screen

Hi All
We need to change the Priority in the Service Order base on a Marketing Attribute of the BP, we already do have the BP Attribute value, but we can't base on that value change the Priority Value, the Priority Value is in a Dropdown Box in the screen.
For example if the BP Attribute is 01 the Priority must Change to High 02
Best Regards

Hi,
You can do it as follows :
1. In SET_ method of BP attribute , there is a statement  <nval> <> <oval> . Here you cone to know if the valu is changed or not.
IF <oval> <.> <nval>.
    if <nval> = '01' .   " this is when your BP attribute is set to 01 .
       current->set_property_as_string( iv_attr = 'PRIORITY' value = '02' )                           
   endif.
   Let the other code in this if block remain as it is .
ENDIF.
I am assuming that Priority and BP attibute are attributes of same context node.
if they are attibutes of different context node, then there is some modifications needed to do.
let me know on that.
Also let me know that if this BP attribute is a pick list too ? then there will be somewhat change in the approch. What are you looking for is completly possible.
Thanks & Regards,
Suchita
Edited by: suchita P on Sep 24, 2008 2:45 PM
Edited by: suchita P on Sep 24, 2008 2:45 PM

Similar Messages

  • 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

  • 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 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 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 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 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.

  • Change the screen of my ipad 2

    I want to know how to change the screen of my iPad 2 and the price of it?

    Apple's Limited Warranty http://www.apple.com/legal/warranty/ for iPad excludes coverage for damage resulting from accident, disassembly, unauthorized service and unauthorized modifications.
    The warranty will apply to the country of purchase. And if there is a problem needing repair you have to return it to the country of purchase.
    Out-of-Warranty Service
         If you own an iPad that is ineligible for warranty service but is eligible for Out-of-Warranty (OOW) Service, Apple will replace (Apple doesn't repair) your iPad with an iPad that is new or equivalent to new in both performance and reliability for the Out-of-Warranty Service fee listed below. (The replacement will most likely be a refurbished iPad in a brown box, however, it has a new screen, back and battery.)   
    iPad model
    Out-of-Warranty Service Fee
    iPad mini
    $219
    iPad 3rd, 4th, Air
    $299
    iPad 2, iPad
    $249
    A $6.95 shipping fee will be added if service is arranged through Apple and requires shipping. All fees are in US dollars and are subject to local tax.
    Certain damage is ineligible for out-of-warranty service, including catastrophic damage, such as the device separating into multiple pieces, and inoperability caused by unauthorized modifications. However, an iPad that has failed due to contact with liquid may be eligible for out-of-warranty service. See http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipad
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
    You may can get the iPad repaired at 3rd party repair sources for less $, however, any remaining Apple warranty will be voided.
    iCracked - Broken iPhone, iPod or iPad
    http://www.icracked.com/
    iReVamp Electronics Screen Repair ($99)
    http://www.irevampelectronics.com/ipad-2-broken-glass-screen-repair.html
    iPad Repair & Screen Replacement Services
    http://www.ifixyouri.com/16-ipad-repairs
    RepairZoom iPad Repair
    http://www.repairzoom.com/ipad-repair.html
    Mission Repair
    http://www.missionrepair.com/Apple_iPad_Repair_Services_s/431.htm
    iGadgetResQ
    http://www.igadgetresq.com/ipad-repair/
    Do It Yourself iPad Repair
    http://www.ifixit.com/Device/iPad
     Cheers, Tom

  • How to reload the screen when changing languages in JavaFX 2?

    I'm beginner with javaFX and i need to change language of the screen. but i have no idea how to reload the screen when the language was changed. The application have a button where have the language available. I want just refresh screen when the user change language.
    Here is the start method to show the stage.
        @Override
        public void start(Stage stage) throws Exception
            this.stage = stage;
            Locale locale = Locale.getDefault();
            ResourceBundle rb = ResourceBundle.getBundle("resources/Label",locale);
            loader = new FXMLLoader(getClass().getResource("FXMLDocument.fxml"),rb);
            root = (Parent)loader.load();
            FXMLDocumentController controller = (FXMLDocumentController) loader.getController();
            controller.setMain(this);
            scene = new Scene(root);
            stage.setScene(scene);
            stage.show();
    here is the function to change the language(in the same class with start function),the rb is the new ResourceBundle:
        public void refresh(ResourceBundle rb)
              //change the language here
    1. I don't want to use the resourceBundle to get value in resource file and set label in scene one by one.like following:
    this.btnLabel.setText(rb.getString(key.test));
    2. I don't want to reload the scene,like following:
        public void refresh(ResourceBundle rb)
             try
                loader = new FXMLLoader(getClass().getResource("FXMLDocument.fxml"),rb);
                root = (Parent)loader.load();
                scene.setRoot(root);
                FXMLDocumentController controller = (FXMLDocumentController) loader.getController();
                controller.setMain(this);
            catch(Exception err)
                err.printStackTrace();
    So do we have a solution to just set the resourceBundle and reload the scene easier?
    Thanks and best regards!

    Your option 2 (reload the FXML for the scene using the new resource bundle as a parameter), is the way this would normally be done and what I would recommend.
    Failing that, you could use option 1 of individually resetting the label text of labeled items (I don't really recommend this).
    Why don't you want to use option 2?
    Perhaps it is because there is some internal state of the UI which differs from the initial state when the the UI is first loaded (e.g. user has typed text in a text field and you want to preserve that).  If that's the case you will need to either go with your option 1 of individually resetting the label text of labeled items, or implement something which preserves the UI state and user data by saving it in memory or to disk, reloading the UI via the FXMLLoader (essentially your option 2), then restoring the UI state and user data to what it was before the language change.  Preserving and restoring the modified state seems complicated to me if you have a lot of state, so I wouldn't really advise this approach unless you really needed it.

  • How to change the visible length in screen painter?

    Hi Guys,
    we have field in screen which is type to ATWRT but the visible length is set to 11. ATWRT is 30 char.
    Please advise on How to change the visible length in screen painter to make it 30?
    When I try to edit the defined length from 11 to 30. It wont allow me to.
    Thanks a lot!

    Hi,
    Try the below method:
    Goto Screen Painter -> Double click on Input-Output field for ATWRT another screen will appear with attributes of Input Output field -> Increase the Visible length Value there. (Option of visible length is below the Name and Text attribut of Attribute windiw.)
    If the Visible length field isn't allowing change then declare it as a Char type instead of taking the DataType for Data Dictionary.
    Thanks,
    Preyansh
    Edited by: DWIVEDP on Mar 29, 2010 12:42 PM

  • How to change the default operators in sap web ui Search screen?

    How to change the default operators in sap web ui Search screen?
    For eg. Using advance search option , I have some fields with default operators like equals, contains,is between, is less than and is greater than. I don't need all these operators for this field.
    I need only "equals" operator. How do i remove the rest of the operators?

    There is a view cluster crmvc_dq where all the standard setting is present related to you r issue. Please try if you can modify that, that way you will avoid the code.
    Incase you are not able to make any changes there then in that case you have to redefine the method GET_DQUERY_DEFINITION () of the IMPL class to delete the operators for a particular serach field.
    Regards,
    Harshit

Maybe you are looking for