cancel
Showing results for 
Search instead for 
Did you mean: 

How can I add User Fields on System Form

Former Member
0 Kudos
65

Hi All,

I am trying to create User Fields on system form using SDK samples. My Code seems to be correct. But I am not getting text fields on system form when I am running programme. please help me.

Thanks & Regards,

Siva

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Siva,

Assign pane value with reference field value.

oNewItem.FromPane = oItem.FromPane;

I think it will help you.

Regards,

Sravan Kumar Pothu

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Thanks for your attention.

Thanks,

Former Member
0 Kudos

If your object doesn`t seems to be on form, check the frompane and topane values or if you are adding the object to proper form.

Example fot static text:

oOrderForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)

oNewItem = oOrderForm.Items.Add("info", SAPbouiCOM.BoFormItemTypes.it_STATIC)

oNewItem.Top = 290

oNewItem.Left = 500

oNewItem.FromPane = 19

oNewItem.ToPane = 19

oStatic = oNewItem.Specific

oStatic.Caption = "info"

Petr