Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Form Mode automatically changed from OK Mode to Update Mode while click on Customized Tab in system form

Hi experts,

I have created new tabs along with the existing tabs in Production Order Screen. This works fine in Add Mode. But in Ok Mode, while click on the newly created Tab, Form Mode got changed to Update Mode.

Any Idea how to handle this....

Coding used to create Tab Control:

               oitem = oform.Items.Add("id", SAPbouiCOM.BoFormItemTypes.it_FOLDER)

                oitem.Left = oform.Items.Item("35").Left + oform.Items.Item("35").Width

                oitem.Width = oform.Items.Item("35").Width '- 100

                oitem.AffectsFormMode = False

                ofolder = oitem.Specific

                oitem.FromPane = 0

                oitem.ToPane = 0

                ofolder.Pane = 8

Thanks & Regards,

Parvatha Solai.N

Former Member
Former Member replied

Hi Nagarajan,

That can happen because, one of the controllers of your tab gets changed, there's value when it get focus. (May be a text box or any controller)

If that behavior is compulsory, then consider to change that Item's (controller's) 'AffectsFormMode' property as below.

YourController.Item.AffectsFormMode = false;


J S L Geeganage

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question