Application Development and Automation 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: 
Read only

Disable table control fields

Former Member
0 Likes
542

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

4 REPLIES 4
Read only

Former Member
0 Likes
524

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

Read only

0 Likes
524

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

Read only

0 Likes
524

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

Read only

Former Member
0 Likes
524

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