Skip to Content
0
Former Member
Jul 15, 2008 at 05:52 PM

How to put Value to a EditText.

119 Views

Hi Everyone,

I am trying to update the value of a TextBox for example Sales Order Matrix, First Line's Quantity Field through a Function.

Code Example:

oForm = SBO_Application.Forms.Item(strFormUID)

oItem = oForm.Items.Item("38")

oMatrix = oItem.Specific

oColumnQuantity = oMatrix.Columns.Item("11") 'Refers to the Quantity Column

oCellTotal = oColumnTotal.Cells.Item(1) 'Refers to the First Row of the Matrix

oEditTextTotal = oCellTotal.Specific

oEditTextTotal.Value = "11.00"

Now, the moment the last line (above) is executed SAP enters in an infinite loop and keeps coming to the last line (as I found in Debug mode).

Please help, if possible with a code sample as how to update a value of a SAP form's TextBox.

Thanks to all in advance.