Skip to Content
Former Member
Sep 20, 2017 at 01:12 PM

How to open same form with different UDFs?



I need to have 3 same forms(SalesOrder) but with different UDFs each case. For that reason i have an UI Addon to make the menu Items and open the forms. How i can change the UDFs for each form to be visible or not?

When i try the command

((SAPbouiCOM.EditText)(SAPbouiCOM.Form)Application.SBO_Application.Forms.Item(this.UIAPIRawForm.UDFFormUID).Items.Item("UDF_name").Specific).Item.Visible = false;

you can still see the description and i don't want that.

I am using the Activate_After event, is this the best method or not?

Is there any way to make the udfs inactive for every form?

Thank you for your time!