Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Table maintenance

Former Member
0 Kudos

Hi,

I am calling the maintenance view of a ztable from a report ,passing some parameters through the selection screen.The maintenance view has a button NEW ENTRIES.I want to eliminate this button, but at the same time want the maintenance view to open in an editable mode.How do I achieve this?

Thanks.

2 REPLIES 2

Former Member
0 Kudos

Hi,

The button 'New Entries" is the standard sap button.

Check the application Tool Bar entries of the program 'SAPLSVIM' the funtion code is 'NEWL'.

you shud either delete this item from the application toolbar or hide using the 'exclude' option.

But it either case u need to make changes in the standard SAP program using exists.

Regards,

Anjali

Former Member
0 Kudos

Please go through this link .. in this link the screen shots are given

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc</a>

See the Page number 4 in that the list of Event use ST -> For Menu main program Controls there ..write a routine for disabling ADD NEW Entrees logic .

like

if sy-ucom = 'NEWAL'
Then 
OUTPUT = 'X'.
endif  .

Reward points if it is usefull ....

Girish