Skip to Content
0
Former Member
Mar 16, 2009 at 03:27 PM

Disabling fields in table Maintenance generator

977 Views

Hi Experts,

I would like to restrict some fields in table maintenance generator dynamically/ statically.

Here is the situation.

I have generated table maintenance for the table ZMARA and I have created three transactions for the above single table maintenance generator.

i.e .. Transaction --- Table

ZT1 --- ZMARA

ZT2 --- ZMARA

ZT3 --- ZMARA

I am using above three transactions in my module pool program. Based on the certain conditions I am calling different transactions i.e ZT1, ZT2, etc

Here is my requirement:

Suppose if I call ZT1 transaction, I need to display only few fields. i.e ZMATNR, ZMTART, ZPRODH.

or remaining fields should disable. User should not allow to change the content, even if it is new entries/existing entries. only ZMATNR, ZMTART, ZPRODH.

Suppose if I call ZT2 transaction, I need to display only few fields. i.e ZMATNR, ZMTART, ZHTSCODE

How can we restrict dynamically when you call table maintenance generator table through transaction

or

How can we generate table maintenance for few fields?

Edited by: r badveli on Mar 16, 2009 4:27 PM

Edited by: r badveli on Mar 16, 2009 4:27 PM

Edited by: r badveli on Mar 16, 2009 4:28 PM