cancel
Showing results for 
Search instead for 
Did you mean: 

UI: How to get a Form.Item value

Former Member
0 Kudos

How can I get Item values from the selected form in SBO.

I get the form but the items give empty results.

Dim oItm As SAPbouiCOM.Item

Dim oFrm As SAPbouiCOM.Form

For Each oFrm In SBO_Application.Forms

If oFrm.Selected = True Then

For Each oItm In oFrm.Items

Debug.Print oItm.Description

Next oItm

End If

Next oFrm

Please advise.

Thanks

Geir

SBO Consultant

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

The "Description" property won't give you values of the items. For every kind of items exists different properties and methods to get the values. For EditText you can use .Specific.String, for ComboBox - Selected.Value, for CheckBox - "Checked" property and etc... See in helps