How to change the value of subtitution string in a page at runtime

Hi,
I need to change the value of a substitution string which is mentioned in application attributes at runtime.
The value will be fetched from a field in database on load of each screen.
Can anybody help.......
Help will be appriciated........thanx in advance
Sunil

Substitution strings are meant to be static, like global constants.
If you need some variable stuff, use application level items and set them using Application level computations/processes

Similar Messages

  • How to change the case structure to string input?

    Hi,
    I have the inner case structure that it will decide to set "DC Voltage" or "DC Current" mode. The "Output Function" contained the selection of function "DC Voltage" or "DC Current". So far it only work with DC Voltage not DC Current. My question is how do I change the case structure to string selector? When the output function is selected to DC Voltage then the case structure is selected DC voltage case. Please help Thanks.
    Attachments:
    test.vi ‏35 KB

    You don't really need to convert the value to a string? The problem is that the value of the individual ring items are not 0 and 1, as you assumed. The values generated by the controls are:
    DC Voltage: 1006
    DC Current: 1007.
    You can find this out by viewing the properties for the "Output Function" and going to the "Edit Items" tab.
    So, all you need to do is change the 0 to 1006 and the 1 to 1007 for your case items.
    By the way, your sequence frame serves no purpose.

  • How to change the long in to string

    Hi
    In my program i get the long value as input.
    Then i send this long value to one method for testing which accepts the argument as String.So i have to change my long in to string then i pass it to the method.
    can anybody tell me how to change my long in to string?
    Thank you so much

    There's probably a method java.lang.Long.toString.
    If not, there's probably something a lot like it in either the Long or String classes.
    I'll leave you the pleasure of looking it up in the API docs.

  • How to change the Color of a string using swings/awt concept.

    Hi friends,
    How can i change the Color of a string.
    For ex:
    If i have a string "Welcome to the Java World",I want one particular Color for the string "Welcome to the" and a different Color to the "Java World" string.
    So please kindly help me out to resolve this issue.
    Thanking u in advance.

    "Text Component Features"
    http://java.sun.com/docs/books/tutorial/uiswing/components/generaltext.html

  • How to change the Value of a Varible while debugging in ECC 6.0

    Hi all,
    How can i change   and Save the Value of a varible while debugging a FM in ECC 6.0.
    I can able to change the Value of a variable by clicking the Pencil Icon (Change icon) which is there next to that value
    But i am not able to save that value
    Please give the suggestions
    Thanks in Advance
    Regards
    Ajay

    Ajay,
    I think you are changing more than one variable value at a time...this things generally happen in this case.
    Go step by step.....
    Press on the pencil button
    value filed becomes editable
    change the value
    and at once press the enter
    the ediatble field automatically becomes non editable, and hence retain the changed value.
    Pooja

  • How to change the value of a variable in new ABAP debugger.

    Hi Guys,
                 I can't change the value of a variable in the new ABAP debugger.. when I change its revert back to old value. but this is not the case with the old version. How to do this..
    Cheers
    Senthil

    Hi,
    1. Dobule click in the variable in the variable tab.
    2. Click the Change icon in Detail.Dis.
    3. enter the new value and press enter
    Refer
    [http://www.sapdb.info/new-abap-debugger/|http://www.sapdb.info/new-abap-debugger/]
    [http://help.sap.com/saphelp_nw70/helpdata/en/84/1f624f4505144199e3d570cf7a9225/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/84/1f624f4505144199e3d570cf7a9225/content.htm]
    <removed_by_moderator_together_with_points>
    Regards,
    SB
    Edited by: Julius Bussche on Jun 24, 2008 8:21 AM

  • How to change the value of Valuation class.

    dear friends:
    i want to change the value of Valuation class in the material master .but system  warning info occurs .
    The valuation class cannot be changed
    Message no. M3 368
    Diagnosis
    You wanted to change the valuation class. However, this is not possible because one or more of the following already exist for the material:
    Valuated stocks in the current period or in the previous period
    Open purchase orders or delivery schedule lines
    Production orders for which a goods movement has already taken place
    System Response
    Your change is reset by the system.
    Procedure
    If valuated stocks already exist, you can change the valuation class only as follows:
    a) Post the stocks of the material to an interim account.
    b) Change the valuation class in the material master record.
    c) Post the stocks of the material back to their original account.
    If open purchase orders already exist, you can only change the valuation class if you first flag the corresponding purchase order items for deletion.
    If production orders exist for which a goods movement has already taken place, you can only change the valuation class if you first set the status of the production orders to Deleted.
    Procedure for System Administration
    In Customizing for the Material Master, you can switch the check for open purchase orders and/or for production orders to a warning. You do this in Define Attributes of System Messages by assigning the message type Warning to message MM 326 and/or MM 327 respectively. However, first ensure organizationally that further processing of the open purchase orders or production orders cannot result in inconsistencies.

    To resolve SAP error message M3 368 I would suggest that you refer to SAP note number 1967543. This note outlines the issue and a resolution to it:
    Please have a look at the description of the error M3 368. This error may occur if one or more of the following already exist for the material:
    1. Valuated stocks in the current period or in the previous period
    2. Open purchase orders or delivery schedule lines
    3. Production orders for which a goods movement has already taken place
    Resolution:
    If you have valuated stocks in the current period or in the previous period, you will get message "Stocks already exist.". You have to clear all the stocks both in current period and previous period. Please have a look at SAP Note 30656, it shows an example on how to clear the stocks in
    previous period. You can use transaction MIGO to execute this step.
    If you have open purchase orders or delivery schedule lines, you will get message "Purchase orders already exist.". You can find related purchase orders after you click 'Display Error' button. Please delete them in transaction ME22N.
    If you have production orders for which a goods movement has already taken place, you will get message "Production orders already exist.". Please archive these production orders. You need to set deletion flag for these orders firstly and go to SARA, use archiving object PP_ORDER to archive
    these orders.
    Kind regards,
    James

  • How to Change the Value Field Type of a Value Field

    Hi,
    How can I change the value field type from Currency to Quantity of a value field? I have tried to do it in KEA6. I can change the value field and its description, but not the value field type from currency to qty. If I change this config, is there any other changes that I need to make so there is no side issue of this change?

    Hi Prem,
    Once you created value field as quantity or currency, you can not change this nature of value field. Based on this, system creates lots of data and tables. For this reason system will not allow any changes in quantity or currency.
    Alternative way is to remove the old value field and  create a new value field assign to operating concern and put all your seetings.
    Please let me know if you require any clarifications.
    Thank you,
    Regards,
    Santosh
    Reward points if helpful.

  • How to change the value of Label in runtime

    Hi All,
    I want to change the value of the Label in runtime. Is it possible to change? If so then can you please let me know how to do it?
    Regards,
    Raghu

    Hi Ram,
    Check the below thread
    Dialog program - label problem
    The above thread has been updated just couple of hours ago only
    if it is Standard Screen then try using SHD0 Tcode , but this donot dynamically change the Field labels
    for more info go through Transaction Variants might be helpful,
    This demands Field Exits to be implemented
    Cheerz
    Ram

  • How to change the value of  COMPANY_NAME in "Subject:%COMPANY_NAME% Welcome to SAP Sourcing

    Hi All,
    Can some tell me How will I change the value of COMPANY_NAME which will reflect in subject of Final mail.
    For more clear picture the subjectis"
    Subject:%COMPANY_NAME% Welcome to SAP Sourcing .
    The change vlaue of COMPANY_NAME should refleat in final subject of the mail.
    Please help me in urgent.
    Thanks
    peeyush ranjan

    Hello Peeyush,
    Because I am unaware of your exact config, I'll try to provide a generic answer:
    1. Go to Setup -> Mail Configurations
    2. Identify the Mail Configuration for the Company you want to change
    3. Click on the highlighted Company link
    4. Change the highlighted Name:
    Regards,
    Bogdan

  • How to change the value from one input control to another input control?

    Hi Experts,
    I want to change the value from  one input control to another input control. For Example if i change month in first tab. it should reflect in second tab also. How should we acheive through input control or some other option.
    Here I attached screen shot.Please help me for this

    Hi,
    It is not possible to have Input controll in all tabs that will be set from another .
    But There is one workaround .
    Follow the link below .
    http://davidlai101.com/blog/2013/08/13/web-intelligence-input-control-that-affects-all-tabs/

  • How to change the value

    Respected,
              I want to change the value of a order which is predefined,how it is done reply with the procedure .

    HI
    my question is very simple if you make an order{va01} for material A it picks the value x in amount column. From where did this value comes from ,where it is stored,what is the transaction code.
    IF my assumption is correct like your asking about the value / Amount of that particular condition Type
    suppose Material is X and maintained the Condition Record (VK11) with your combination
    at the time of Sale Order if you enter the Material with Qty system will take automatically what you maintained in Condition Record
    rate as a amount whether is Price / Discount & Surcharge/ VAT
    if you want to change that value try to check the Corresponding Condition type (T-Code :V/06) select that Condition type and TICK the Amount /Percentage Field 
    At the time of SO system will pick the Pricing Procedure based on the Sales Area + Doc.pricing procedure for Sales Doc.Type + Customer pricing procedure
    if you want to know the table and field name put the Cursor on amount col mum and press F1 or otherwise check in the VBAK, VBAP
    if i am wrong clarify
    Regards,
    Prasanna
    Edited by: prasanna_sap on Sep 13, 2011 1:00 PM

  • How to change the values of Map Region Column "REGION_NAME"

    Hi guys,
    To correspond with the values in my "CITY" column, I have to change the values of Region_name column in the map..
    region_name column contains the name of the territories in English
    but City column in my table contains the names of the territories in Arabic.
    To enable the link of the map, the values of both column ( CITY in my table, REGION_NAME in the map region ) should be identical.
    How can I change the values of REGION_NAME COLUMN ???
    This is the first time for me I deal with maps, and I hope my question is clear..
    Regards,
    Fateh

    Solved by using the following code
    var particulars = this.parent.COURSENAME.resolveNode("#items"); 
    this will bring the dropdown list into the variable particulars
    then
    for (var i = 1; i < particulars.nodes.length; i++)
    p = particulars.nodes.item(i);
    here p.value will have the dropdown line by line;
    add your valdiations etc

  • How to change the value of a color picker?

    Hi *,
    I am currently working on a small project and I would like to use the colorpicker. When I initialize the colorpicker the, the widget is updated and shows the correct color, but when I try to change the value at runtime, nothing happens. Did I miss something?
    Many thanks
    package javafx.tests.colorpicker;
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.geometry.Insets;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ColorPicker;
    import javafx.scene.layout.StackPane;
    import javafx.scene.layout.VBox;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    public class ColorPickerChangeColor extends Application {
         public static void main(String[] args) {
              Application.launch(args);
         @Override
         public void start(Stage stage) throws Exception {
              VBox vbox = new VBox();
              vbox.setPadding(new Insets(10));
              vbox.setSpacing(10);
              Button button = new Button("Press me.");
              final ColorPicker colorpicker = new ColorPicker(Color.BLUE);
              button.setOnAction(new EventHandler<ActionEvent>() {
                   @Override
                   public void handle(ActionEvent arg0) {
                        colorpicker.setValue(Color.YELLOW);
                        System.out.println("Set color of the picker to yellow.");
              vbox.getChildren().add(colorpicker);
              vbox.getChildren().add(button);
              StackPane root = new StackPane();
              root.getChildren().add(vbox);
              stage.setTitle("ColorPicker");
              Scene scene = new Scene(root, 200, 200);
              stage.setScene(scene);
              stage.show();
    }Edited by: 963445 on Jan 3, 2013 12:23 PM

    Yeah, it's a known bug:
    http://javafx-jira.kenai.com/browse/RT-22538 "[ColorPicker] changing color using setValue() ... is not reflected by rectangle and text on control."
    In fact, there are 34 known ColorPicker bugs:
    http://javafx-jira.kenai.com/secure/IssueNavigator.jspa?reset=true&jqlQuery=%28summary+%7E+colorpicker+OR+description+%7E+colorpicker+OR+comment+%7E+colorpicker%29+AND+issuetype+%3D+Bug+AND+status+in+%28Open%2C+%22In+Progress%22%2C+New%29

  • How to change the value of a two dimensional vector

    hi,
    I have a two dimensional array, Vector<Vector> myData, which contains strings. It's size is 5 rows and 6 columns
    I would like to change the value of, say, row 3, colum 5 from whatever it contains now to "new data"? I have searched and searched, but no luck
    thanks

    micheleg wrote:
    hi,
    I have a two dimensional array, Vector<Vector> myData, which contains strings. It's size is 5 rows and 6 columns
    I would like to change the value of, say, row 3, colum 5 from whatever it contains now to "new data"? I have searched and searched, but no luck
    thanksFirst off, you do not have an array of any dimension.You have a Vector that contains Vectors that contain Objects (you should provide a more specific type in your declaration).
    To change the element at position x in the y'th Vector, get the y'th Vector and change the x'th element in said Vector.
    As a side note, you should be using ArrayList instead of Vector these days.

Maybe you are looking for