‎2008 May 19 6:01 PM
Hi,
I have table control and am able to display data.My req is
I want user to insert only new entries and not to change any existing data.is there any possibility to restrict user to change the displayed data.
Regards,
Srini
‎2008 May 19 6:13 PM
Hi,
Is it standard application or Z/Y Customized application,
if it is customized, sure you can do easukt, can you debugging and find tge logic where it written code to updated the record.
After displaying the data you edit the data and in command prompt /H you give and press on Save button it will starts the debug then you can find.
Regards
Ganesh
‎2008 May 19 7:08 PM
Hi Ganesh,
Could you please explain me in detail.
yes,It is a Z-maintenance program for a z-table.From the dialog screen ,User has to enter data.
The req is,Existing data to be displayed in disable mode(O/p only) so that user can not change that data.she can only add new entries.
Reg,
Srini
‎2008 May 19 7:39 PM
Hi,
Actually if you want update the data you have to edit the row and select the row or column then only it will updates.
you can remove that option double click on that TCL you will get properties in that properties you can find line selection and column selection you can none option.
I think it may solve your problem or else you have find the code where is the code to update the data and comment it.
Regards
Ganesh
‎2008 May 19 6:40 PM
Hi,
Oh yes, it is possible, but you have lots of work to do.
After you have done the "Table Maintainance Generator" and created Z transaction for your Ztable by SE93. Go to SE80 and select your Zfunction group, select your screen and disable all fields of the table control.
If you have a second screen, you have to disable the fields, if the user enters to modify, if the user enter to insert, then you can't disable the fields. Since all of these screen are in your Zfunction group, you may insert codes and change the screen attributes.
After all this, the user can only insert new entries, when he tries to modify the old data, ele will only see disable fields.
Hope it helps,
Chang