Skip to Content
avatar image
Former Member

Customize User Table created in SAP client

I created a user table in sap client (the system has created a menu item automatically) and i would like to customize the corresponding form by adding buttons and functions when this form is loaded. How can I refer to the user table created? (the problem is that I can't refer to a default item (not created by me) of the menu , and even the user table. )

Thanks in advance!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 27, 2015 at 03:12 PM

    that's not true. if you want to customize a system form please follow this link, hope it to edit system forms with the new sap b1 studio for microsoft visual studio

    my opinion is that if you have to write custom code for your table it's way better to write it from scratch, using visual studio sap b1 form designer, and add all the buttons and items you need.

    if you customize the auto created forms based on your tables.. well i think (not 100% sure) it's not correct because their unique id varies accordingly to creation order.

    if you create your form, its unique id will be chosen by you.. and not autogenerated.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      You're right, the unique id of the UDO is chosen by the user:

      but if I try to refer to the form in which the User-Table is associated with the command

      oForm = SBO_Application.Forms.Item("LR_CERT");

      an exception "Form - Invalid Form" is thrown.

      UDO.PNG (9.6 kB)