Skip to Content
0
Former Member
Oct 03, 2009 at 01:36 PM

Get a UDF value from Order Form (title)

14 Views

Dear all,

I would like to get the value from a UDF from Order Form

UDF = U_MYFIELD

I wrote the following code but no result:

Private WithEvents Appl As SAPbouiCOM.Application

Dim strText As String

Dim oEditText As SAPbouiCOM.EditText

Dim oForm As SAPbouiCOM.Form

oForm = Appl.Forms.GetForm(-133, Appl.Forms.ActiveForm.TypeCount)

oEditText = oForm.Items.Item("U_MYFIELD").Specific

strText = oEditText.Value

Thanks in Advance.

Vangelis