I created the following custom objects and customizing:
Currently, pressing the button starts the Z program successfully.
But if I delete the Workcenter from the Navigation Bar Profile, my button doesn't work anymore.
How can I solve it?
A Logical Link can be called only if it's assigned to one element in the customizing (transaction code CRMC_UI_NBLINKS
). If your logical link is not attached to any element of the CRM UI Framework, i.e. it's called from ABAP code (called from a button in a Web UI component), you may choose to assign it to a "Generic Outbound Plug". For example: