Assign value to variabile "running" a string?

I know I can call a handler in a string using this syntax:
  call ("myHandler", _movie)
Is there a way to execute a script command, like this (example, not real Lingo syntax):
execute ("myVariable = 10")
and having as a result the same as:
myvariable = 10
Thanks.

Try,
do "myVariable = 10"
put myVariable

Similar Messages

  • Need help assigning values to an array of Strings

    why do i get an error message saying this isn't a statement?
    String customer[z] = {"::" + s1 + ":" + s2 + ":" + s3};
    what is the correct syntax for assigning values to an array of strings?

    help helpArrays in Java are static, meaning their size cannot change once they've been created. Somewhere in your code you need to declare the String array like this,
    String[] costumer = new String[10];Now customer has 10 elements (room for 10 strings) and you can do for example this,
    int z = 0;
    costumer[z] = "string1" + "string2";This means the two strings are added and assigned to element 0 of the array.
    If you can't take it from here you need to step back for a while and carefully study a beginners textbook on Java.

  • Very slow performance when assigning value to a form item

    Dear all,
    I have an add-on form that contains 30 text edits. I did not creat the from with screen painter but positioned them by marking each item's top and left position in the new sub.
    I have named them as 'edBox1', 'edBox2'......, 'edBox30'
    At a point I need to assign value to each edit text, I have queried the content from DB into one recordset. However, when I start to assign values to each edit text, the performance became very slow.
    my code is as follow
    me.form.items.item("edBox1").Specific.String = recordset.field.item(0).value.tostring
    me.form.items.item("edBox30").Specific.String = recordset.field.item(29).value.tostring
    I found that B1 seem to iterate each item on the form in order to find the item I specified.
    so I think I should specificy items earler.
    Now for each item I dim an object for it at new sub
    Dim oedBox1 As SAPbouiCOM.EditText
    Dim oedBox30 As SAPbouiCOM.EditText
    and while creating forms, I specificy each item to the matched object
    Then I assign values to items by
    oedBox1.String = recRetrive.Fields.Item(0).Value.ToString
    oedBox30.String = recRetrive.Fields.Item(29).Value.ToString
    However, B1 still iterates to find the item and the performance is still slow, does anyone has a better solution to this issue? please kindly advise.
    Thank you
    Alan
    Edited by: Chih-Peng Chen on Dec 17, 2007 8:42 AM

    Hi Chen,
    you can find one example under SDK samples which will guide on using datasources
    Bind the controls to dbdataource and then query the datasource.
    then update form using oForm.Update(),this will automatically fill the values in all edit boxes and it will be very fast as well
    Hope it helps you
    Regards
    Vishnu

  • How to get String assigned value

    Hi,
    As String is immutable and we know that the value of string is not changable.
    eg: String abc= new String();
    abc = "INDIA";
    system.out.println("1st abc : "+abc);
    abc=abc.toLowerCase();
    system.out.println("2nd abc : "+abc);
    As we know as string is immutable the value for the 2nd abc gives us india.As 2nd abc creates a new instance object stores in new memory location.
    Then y string is called immutable.It means the value is getting changed.
    Is their a way to retrive my original value or first assigned value for abc i.e INDIA.
    Thanks
    LeoSun.

    LeoSun wrote:
    Then y string is called immutable.It means the value is getting changed.No, it is not changed, you just assign a new value to your variable 'abc'.
    String abc = "INDIA";
             +-----------+
    abc -----+-> "INDIA" |
             +-----------+
    abc = abc.toLowerCase();
             +-----------+
    abc ---+ |   "INDIA" |
           | |           |
           +-+-> "india" |    
             +-----------+As you see, "INDIA" is not changed, a new String, "india" is created where your variable 'abc' points to.
    Is their a way to retrive my original value or first assigned value for abc i.e INDIA.
    ...Once you change the value of 'abc' (and there exists no reference to it's old value), then no, it's not possible.
    Why would you want that?

  • Assigning value to a variable in Script Component.

    I'm pretty new to SSIS development and need to figure out a problem with assigning a value to a user defined variable. I created a pretty simple package. It reads a flat file, extracts date from a header record and subsequently uses derived column component
    to reformat data to the desired output format. One of the columns (FileRunDate,
    string, length 8) in the derived component is defined as a string and in the expression I'm assigning it to a variable I set earlier in the script component -
    @[User::vRunTimeDate]. When the process runs, the output file gets generated, however FileRunDate reflects
    originally set varible's value. It seems that the variable assignment in the script task does not work, even though in the debug mode, I do see how the value is being set. The variable has an attribute of ReadWrite. Is it due to the fact that the value is
    being set in the same workflow?
    Any feedback is greatly appriciated.

    Unfortunately I'm unable to add a screenshot of the process, for some reason I get an error message when I try to do that. In a nutshell the entire workflow consist of flat file source component, following by a script component (this is where I read and
    assign the variable) 
        public override void PostExecute()
            IDTSVariables100 vars;
            base.PostExecute();
            // Set run date
            if (strRunDate != null)
                VariableDispenser variableDispenser = (VariableDispenser)this.VariableDispenser;
                variableDispenser.LockForWrite("User::vRunTimeDate");
                variableDispenser.GetVariables(out vars);
                // Set the variable
                vars["User::vRunTimeDate"].Value = strRunDate;
                //Unlock the variable 
                vars.Unlock();
                //Variables.vRunTimeDate = strRunDate;
    then goes conditional split ( filtering out unwanted records), which is connected to a derived column component (this is where one of the columns get assigned a variable's value), one more script component (this where I identify
    specific data element and do a replace command) and finally flat file destination.
    BTW, the article in the provided URL clearly states that variable won't reflect assigned value till the entire workflow has finished. If that's the case, then I think I know my
    answer. Is there is such a thing as putting execution of different steps in a different step, so anything executed subsequently will see that value?

  • Assigning values to the charecterstics in a purchase order

    Hello,
    I have to create the configuration object and assign the values to it in a purchase order.
    I am able to generate the temporary CUOBJ using FM CUXM_SET_CONFIGURATION but not able to save it to the database.
    I am using FM CUCB_CONFIGURATION_TO_DB to save the cuobj to the DB but getting a short dump.
    MESSAGE_TYPE_X
    Technical information about the message:
    Message class...... "CUIB1"
    Number.............. 699
    And hence not able to run the FM 'CUCB_CONFIGURATION_TO_DB' properly.
    Can anyone help me how do I create the cuobj, assign values to it and then save it to the purchase order...
    Any help will surely be rubarbed...
    Thanks in advance.
    Husain

    Thank you for your respond, but I have few questions:
    myText = myText.replace(/\bred\b/gi, "<font color='#ff0000'><a href='event:redClick'>$&</a></font>");
    -myText.replace: how this finction works?
    -what is this?
    /\bred\b/gi
    -it's not a link , I need a hover listener to this spesific word.
    -where do you assign the word you want to highlight? And can I assign more than one word without writing the same code over again?
    -this looks like html and I don't use any in my project, can you write this line without html?
    <font color='#ff0000'><a href='event:redClick'>$&</a></font>
    I don't understand the functionality of these line:
    var pattern:RegExp = new RegExp("\(\?\<\=\\s)" + string + "(?=[\\s|\,])", "ig");
         var result:Object = pattern.exec(text);
         while (result) {
              textField.setTextFormat(highLightFormat, result.index, result.index + string.length);
              result = pattern.exec(text);
    what is
    RegExp?
    result?
    pattern.exec?
    Sorry if these are alot of questions, I just want to understand.

  • Error while assigning values to Array using Copy operation

    Hi,
    I am using the following code to copy a string value 'Text' and 'UDFTypeTitle' to the 1st and 2nd position of an array:-
    <assign name="Assign1">
    <copy>
    <from expression="string('Text')"/>
    <to variable="Invoke1_ReadUDFValues_InputVariable" part="params"
    query="/ns1:ReadUDFValues/ns1:Field[position()=1]"/>
    </copy>
    <copy>
    <from expression="string('UDFTypeTitle')"/>
    <to variable="Invoke1_ReadUDFValues_InputVariable" part="params"
    query="/ns1:ReadUDFValues/ns1:Field[position()=2]"/>
    </copy>
    </assign>
    I am getting the following error for the 2nd copy:-
    XPath query string returns zero node.
    The assign activity of the to node query is returning zero node.
    Either the to node data or the xpath query in the to node was invalid.
    According to BPEL4WS spec 1.1 section 14.3, verify the to node value at line number 103 in the BPEL source
    If I am removing the 2nd copy I am not getting any error.
    The structure of ns1:*ReadUDFValues* is as follows:-
    - <xsd:complexType name="ReadUDFValues">
    - <xsd:sequence>
    <xsd:element maxOccurs="unbounded" name="Field" type="tns:UDFValueFieldType" />
    <xsd:element minOccurs="0" name="Filter" type="xsd:string" />
    <xsd:element minOccurs="0" name="OrderBy" type="xsd:string" />
    </xsd:sequence>
    </xsd:complexType>
    The structure of ns1:ReadUDFValues/ns1:*Field* is as follows:-
    xsd:simpleType name="UDFValueFieldType">
    - <xsd:restriction base="xsd:string">
    <xsd:enumeration value="CodeValue" />
    <xsd:enumeration value="ConditionalIndicator" />
    <xsd:enumeration value="Cost" />
    <xsd:enumeration value="CreateDate" />
    <xsd:enumeration value="CreateUser" />
    <xsd:enumeration value="Description" />
    <xsd:enumeration value="Double" />
    <xsd:enumeration value="FinishDate" />
    <xsd:enumeration value="ForeignObjectId" />
    <xsd:enumeration value="Indicator" />
    <xsd:enumeration value="Integer" />
    <xsd:enumeration value="IsBaseline" />
    <xsd:enumeration value="IsTemplate" />
    <xsd:enumeration value="IsUDFTypeCalculated" />
    <xsd:enumeration value="IsUDFTypeConditional" />
    <xsd:enumeration value="LastUpdateDate" />
    <xsd:enumeration value="LastUpdateUser" />
    <xsd:enumeration value="ProjectObjectId" />
    <xsd:enumeration value="StartDate" />
    <xsd:enumeration value="Text"/>
    <xsd:enumeration value="UDFCodeObjectId" />
    <xsd:enumeration value="UDFTypeDataType" />
    <xsd:enumeration value="UDFTypeObjectId" />
    <xsd:enumeration value="UDFTypeSubjectArea" />
    <xsd:enumeration value="UDFTypeTitle"/>
    </xsd:restriction>
    </xsd:simpleType>
    Could you please suggest a solution?
    I also tried with position 0, 1 . still the same error.
    Regards,
    Sam

    Hi Naresh,
    The structure of ReadUDFValues is as follows:-
    - <xsd:complexType name="ReadUDFValues">
    - <xsd:sequence>
    <xsd:element maxOccurs="unbounded" name="Field" type="tns:UDFValueFieldType" />
    <xsd:element minOccurs="0" name="Filter" type="xsd:string" />
    <xsd:element minOccurs="0" name="OrderBy" type="xsd:string" />
    </xsd:sequence>
    </xsd:complexType>
    The structure of ns1:ReadUDFValues/ns1:Field is as follows:-
    xsd:simpleType name="UDFValueFieldType">
    - <xsd:restriction base="xsd:string">
    <xsd:enumeration value="CodeValue" />
    <xsd:enumeration value="ConditionalIndicator" />
    <xsd:enumeration value="Cost" />
    <xsd:enumeration value="CreateDate" />
    <xsd:enumeration value="CreateUser" />
    <xsd:enumeration value="Description" />
    <xsd:enumeration value="Double" />
    <xsd:enumeration value="FinishDate" />
    <xsd:enumeration value="ForeignObjectId" />
    <xsd:enumeration value="Indicator" />
    <xsd:enumeration value="Integer" />
    <xsd:enumeration value="IsBaseline" />
    <xsd:enumeration value="IsTemplate" />
    <xsd:enumeration value="IsUDFTypeCalculated" />
    <xsd:enumeration value="IsUDFTypeConditional" />
    <xsd:enumeration value="LastUpdateDate" />
    <xsd:enumeration value="LastUpdateUser" />
    <xsd:enumeration value="ProjectObjectId" />
    <xsd:enumeration value="StartDate" />
    <xsd:enumeration value="Text"/>
    <xsd:enumeration value="UDFCodeObjectId" />
    <xsd:enumeration value="UDFTypeDataType" />
    <xsd:enumeration value="UDFTypeObjectId" />
    <xsd:enumeration value="UDFTypeSubjectArea" />
    <xsd:enumeration value="UDFTypeTitle"/>
    </xsd:restriction>
    </xsd:simpleType>

  • Assigning value to array type variable in a loop

    Hi
    I have a scenario in which i am assigning value from a array type variable(x) to the invoke variable of a database adapter. The variable x is exact replica of the invoke variable.
    My copy operation in assign activity looks like this-
    <copy>
    <from variable="Var" part="InputParameters"
    query="/ns7:InputParameters"/>
    <to variable="Invoke_call_XXDPI_EDI_852_PKG_InputVariable"
    part="InputParameters"
    query="/ns7:InputParameters *(* bpws:getVariableData('iterator') *)* "/>
    </copy>
    It is inside a while loop activity.
    PS *()* are square brackets
    But it is erroring out at run time.
    Does anybody has an alternate idea to assign value to an array type?.
    i have seen that while extracting value from an array type variable it works fine
    A similar kind of operation is shown below.
    <copy>
    <from variable="Var" part="InputParameters"
    query="/ns7:InputParameters *(* bpws:getVariableData('iterator') *)* "/>
    <to variable="Invoke_call_XXDPI_EDI_852_PKG_InputVariable"
    part="InputParameters"
    query="/ns7:InputParameters"/>
    </copy>
    Thanks
    Ayush
    Edited by: Ayush fujitsu on Aug 14, 2009 4:36 AM

    Hi Ayush
    I suppose you are getting some error like "source node returns multiple elements".
    In second case there is no problem because you are assigning *InputParameters[bpws:getVariableData('iterator')]* (+suppose InputParameters[1]+) to target. Here it works fine because you are fetching oonly 1 value from source and assigning it to the target.
    Now in first case you are saying copy InputParameters to target[1] suppose. You know that source is an array which contains multiple index so which index field from the source will be assigned to the target.
    Try your process with only 1 source value it will work but when multiple values will be there it will fail. You have to merge both the cases and it will look like
    *<copy>*
    *<from variable="Var" part="InputParameters"*
    query="/ns7:InputParameters ( bpws:getVariableData('iterator') ) "/>
    *<to variable="Invoke_call_XXDPI_EDI_852_PKG_InputVariable"*
    part="InputParameters"
    query="/ns7:InputParameters ( bpws:getVariableData('iterator') ) "/>
    *</copy>*
    And the easiest way to do this is by the transform activity as said above.
    Regards
    Suryaveer
    Edited by: Suryaveer on Aug 15, 2009 11:19 PM

  • Can we assign value to a variable in PL/SQL Loop

    Hi
    Can we assign value to a variable in PL/SQL Loops?
    DECLARE
    V_Num NUMBER;
    BEGIN
    LOOP
    V_Num := 10;
    DBMS_OUTPUT.put_line(V_num);
    V_Num := V_Num - 1;
    EXIT WHEN V_Num = 0;
    END LOOP;
    END;
    In the above program, Can we assign V_num with a value 10????????
    Thanks & Regards,
    Hari Babu
    Edited by: 1004977 on Jun 5, 2013 2:40 AM

    Hi,
    1004977 wrote:
    Hi
    Can we assign value to a variable in PL/SQL Loops?
    DECLARE
    V_Num NUMBER;
    BEGIN
    LOOP
    V_Num := 10;
    DBMS_OUTPUT.put_line(V_num);
    V_Num := V_Num - 1;
    EXIT WHEN V_Num = 0;
    END LOOP;
    END;
    In the above program, Can we assign V_num with a value 10????????Yes; the example you posted does that.
    When the loop starts, the value 10 is assigned to v_num. You should see that value displayed by the put_line statement.
    After that, v_num is set to 10 - 1 = 9.
    Next, the EXIT condition is evaluated. At this point, v_num is 9, not 0, so the loop runs again. V_num is set to 10 again, and the loop continues forever (or, in some versions, until the dbms_output buffer is filled and an error occurs.)

  • How to get value from Thread Run Method

    I want to access a variable from the run method of a Thread externally in a class or in a method. Even though I make the variable as public /public static, I could get the value till the end of the run method only. After that it seems that scope of the variable gets lost resulting to null value in the called method/class..
    How can I get the variable with the value?
    This is sample code:
    public class SampleSynchronisation
    public static void main(String df[])
    sampleThread sathr= new sampleThread();
    sathr.start();
    System.out.println("This is the value from the run method "+sathr.x);
    /* I should get Inside the run method::: But I get only Inside */
    class sampleThread extends Thread
         public String x="Inside";
         public void run()
              x+="the run method";

    I think this is what you're looking for. I hold up main(), waiting for the results to be concatenated to the String.
    public class sampsynch
        class SampleThread extends Thread
         String x = "Inside";
         public void run() {
             x+="the run method";
             synchronized(this) {
              notify();
        public static void main(String[] args) throws InterruptedException {
         SampleThread t = new sampsynch().new SampleThread();
         t.start();
         synchronized(t) {
             t.wait();
         System.out.println(t.x);
    }

  • Assigning value to a two dimensional array

    Hi,
    I am trying to assign value to a two dimesional array the following way.
    String [ ] [ ] d2D = new String [10] [ ];
    for (int i = 0; i<obj.length; i++){
    d2D = { "hello " + i, "here" , "we go" };
    but it gives me the error "illegal start of expression " pointing to the line in the loop assigning values to d2D[i].
    Any help would be deeply appreciated.

    You need to use the syntax for creating an anonymous array: new String[] {..., ...}
    String [ ] [ ] d2D = new String [10] [ ];
    for (int i = 0; i<obj.length; i++){
        d2D[ i ] = new String[] { "hello " + i, "here" , "we go" };
    }

  • Budget Availability control and Assigned Value in Project

    Hi,
    Project is so structured that it is similar to the product structure. Assume a simple case with two level BOM where a sub assembly M1 includes another sub assembly M2.
    In project, these two sub assemblies are assigned under two different WBS elements W1 and W2 respectively where hierarchically W1 is assigned under W2.
    After release we have two Production Order P1 and P2 account assigned to W1 and W2 respectively.
    Assume M2 stnd price is 100 and M1 stnd Price is 150.
    My process output ultimately is only M1 so I would prefer to give a Budget of 150 Rs. However, since P1 and P2 production Orders are accoun assigned, a total 100+150 =250 Rs is showing up under assigned value and error of Budget over run is being encountered.
    One solution can be to give budget of 250 Rs, which not logical as I am producing only M1.
    We tried by un flagging Additional and Assign funds in plan indicators for Order category 20 and 10 in OPSV. But that did not help.
    Once P2 prod order is confirmed, the assigned value for W2 is becoming to actual cost of P2 and remains even after setting TECO and Settling P2. It becomes Zero only when W2 is removed from acct assignment of P2, which again can not be a solution as WBS and Prod Order will loose the linkage.
    We desire avaialbility control to verify only against the actual cost Project. No assigned value should be considered.
    Need your help to resolve it.
    Thanks
    Saikishore ganga.

    Hi Sudhir,
    Thanks for the valuable input.
    As you rightly said we can not produce M1 without M2. But budget has to be only 150 Rs. Because
    Cost M1 = Cost M2 + other mat Cost in assly + Assly operations Cost.
    Cost M1 = 100 + 10 (assume) + 40 = 150 Rs.
    Physically I am Producing only M1. So my budget would be atmost the cost of the item that is 150 Rs.
    But in project we had to assign M1 and M2 under two diff WBS elements because it takes considerable amount of time to completed entire qnty structure i.e BOM and Routing of M1 and then release. Till them M2 has to wait for M1 BOM and Routing to be completed. In order again time , M1 is assigned under W2 , W2 is released and in MRP W2-M1 BOM explodes and manufacturing begins.
    When M1 bom gets ready, it is assigned under W1 and then W1 will be released. Duplication of Prod Orders are taken care.
    However, by using exempt cost elements feature I think we can resolve the above.
    Will update once I do my experiments on this.
    Thanks for the input.
    Saikishore. Ganga

  • How can I get the variable with the value from Thread Run method?

    We want to access a variable from the run method of a Thread externally in a class or in a method. Even though I make the variable as public /public static, I could get the value till the end of the run method only. After that scope of the variable gets lost resulting to null value in the called method/class..
    How can I get the variable with the value?
    This is sample code:
    public class SampleSynchronisation
         public static void main(String df[])
    sampleThread sathr= new sampleThread();
    sathr.start();
    System.out.println("This is the value from the run method "+sathr.x);
    // I should get Inside the run method::: But I get only Inside
    class sampleThread extends Thread
         public String x="Inside";
         public void run()
              x+="the run method";
    NB: if i write the variable in to a file I am able to read it from external method. This I dont want to do

    We want to access a variable from the run method of a
    Thread externally in a class or in a method. I presume you mean a member variable of the thread class and not a local variable inside the run() method.
    Even
    though I make the variable as public /public static, I
    could get the value till the end of the run method
    only. After that scope of the variable gets lost
    resulting to null value in the called method/class..
    I find it easier to implement the Runnable interface rather than extending a thread. This allows your class to extend another class (ie if you extend thread you can't extend something else, but if you implement Runnable you have the ability to inherit from something). Here's how I would write it:
    public class SampleSynchronisation
      public static void main(String[] args)
        SampleSynchronisation app = new SampleSynchronisation();
      public SampleSynchronisation()
        MyRunnable runner = new MyRunnable();
        new Thread(runner).start();
        // yield this thread so other thread gets a chance to start
        Thread.yield();
        System.out.println("runner's X = " + runner.getX());
      class MyRunnable implements Runnable
        String X = null;
        // this method called from the controlling thread
        public synchronized String getX()
          return X;
        public void run()
          System.out.println("Inside MyRunnable");
          X = "MyRunnable's data";
      } // end class MyRunnable
    } // end class SampleSynchronisation>
    public class SampleSynchronisation
    public static void main(String df[])
    sampleThread sathr= new sampleThread();
    sathr.start();
    System.out.println("This is the value from the run
    method "+sathr.x);
    // I should get Inside the run method::: But I get
    only Inside
    class sampleThread extends Thread
    public String x="Inside";
    public void run()
    x+="the run method";
    NB: if i write the variable in to a file I am able to
    read it from external method. This I dont want to do

  • 3.1 Multi-assign Value Formatting

    I'm using "|" as my multi-assign delimiter. In my LoadData graph, I merge multiple values using this delimiter. I have code in a loop like this:
         ResourceInfo = ResourceInfo + "|"
    In my Bulk Load, I set the multi-assign delimiter to "|".  In 3.0, when I display this multi-assign field in a Results List, each value is separated by a line feed, like this:
    Project Resources:Karen James-Project Worker
                                Ryan Bookout-Project Worker
                                Steven Davis-Project Worker
    But in 3.1, each value is separated by a comma with no line feed, like this:
    Project Resources: Karen James-Project Worker, Ryan Bookout-Project Worker, Steven Davis-Project Worker
    Is there a way in 3.1 to have multi-assign values display with a line feed like it did in 3.0?

    Lily,
    Here is what the doc says about it, in the topic Processing multi-value data.
    The doc does not explicity state that line feed is supported as a delimiter, but suggests to use dashes. It might mean that line feed is not a supported option for a delimiter.
    Quoting:
    Two options are available for loading multi-value attributes:
    If the multi-value field is string data, you can specify the delimiter character used to separate the values. This option is the recommended approach, especially when loading multi-value data from flat files (such as .csv files) or from database input.
    Multi-value data can be converted to a list container. This option is recommended when loading multi-value data from complex input (such as JSON or XML) or if you need to process the individual values in the multi-value
    To convert the input data to a list data type, use a Transform component. Within the Transform component, use the split() CTL function to convert the input of a multi-value field into a list data type. This function takes two parameters: the input string to be converted to a list, and a regular expression. The input is split whenever a match is found.
    For example, support the value of the DimEmployee_DepartmentName field is multi-value, and uses dashes as the value separator. To generate a list data type for this input, you might use the following CTL expression: split($in.0.DimEmployee_DepartmentName, "-").
    The configuration of new attributes defaults to single-assign. You should configure attributes to support multi-assign prior to loading data.
    Julia

  • KO23 Object currency assigned  value not equal Line item assigned value

    Dear all:
                    I have one problem.  Some Internal Order budget  use KO23  view about Object currency assigned value not equal Standard Reprt
    S_ALR_87013019 - List: Budget/Actual/Commitments  assign value.
    I don't knew what happen ?
    So I wish someone can give me a hand. Tel me how to fix this problem.
    thank you !

    Hi Jason,
    First of all:
    The displayed account code must be translated into the internally used code ("_SYS...") when using segmentation - when not using segemntation it is just internal code = displayed code.
    The code displayed is just a sample to give you a hint in case you are already familiar with the SAP Business One application.
    Therefore the sample code does not talk about where you got e.g. the value for FormatCode from ("FormatCode" is e.g. a field in table OACT where the account name with segments is (redundantly) stored without separators).
    The user should know on which account he/she wants to book a line on; maybe you might want to give some help to the user by displaying a dialog with suitable - or preselected accounts?
    In addition I am sure you know how to assign a string value to a string property - without explicitly writing it, right?
    HTH,
    Frank

Maybe you are looking for

  • NVIDIA GeForce 8600M GT graphics processor Macbook Pro 15 in model June 2007

    Screen black out with power on, read on the web that this is due to manufacturing defect of NVIDIA GeForce 8600M GT graphics processor, will i still get the free replacement from Apple service centre?

  • FileFormat plugin issue

    Hi , I am facing a issue in fileformat plugin in PhotoShop CS6...  i am doing some fuctionalaties on "formatSelectorFilterFile" signal. But in MAC, Photoshop is sending this signal twice. first, when user do File -> open(in PhotoShop CS6) and just se

  • Changed host from Webhost4life to MobileMe = No website found now!

    Need help. I pay for mobile me every year, so I wanted to save some $ and ditch my previous host "webhost4life" and so I went through the process of switching all the DNS Control stuff (via the tutorial on Lynda.com) on my godaddy domain site, and th

  • Why do my Boolean control get a different display when I the controls grayed out?

    I have some Boolean control in a cluster which I grayed out programmatically. If I do that this control's get grey as expected. But if I do that with Boolean which are grouped in a decoration field then the control become a blue style. How can I chan

  • Can't import with ~ in filename

    Theres an earlier thread on this dated back in February, but Aperture, even with the latest updates doesn't import with a ~ in the filename. My files have the tilde character halfway through. Preview, Photoshop and the Finder all view the files corre