I got this spacial requirement when i was working with a project.
where a generic menu bar is required which can add items according to the customer.
the first thing to do in such requirement is to add a fcode in menu painter starting with +XXX ( replace X).
once this is done handle the fcode using a function
CALL CUSTOMER-FUNCTION '010'.
with in this function you can do what ever you what to do for when that item is clicked.
then on a standard SAP enhancement(smod) add your program name and the fcode and add your function exit on it.
create a project on cmod and add the enhancement you will find the exit and the menu exit.
if this is not clear pls post a comment ( coz i just wrote it in a way how i will understand)
No comments:
Post a Comment