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: 

can i make flds read only in Z tab in sm30 based on the entries in tht tabl

Former Member
0 Kudos

HI guys,

I have a requirement like i need to make some fields display only based on the entries in that z table only.

for eq: take a z table z1 which has 3 fields f1, f2, f3 if the table is empty the user can enter the data no problem in that.

If user enters a value 1 for field f1 and give some values for f2 and f3 and save the records the rrecord will be saved.

if he again runs the transaction all field should come in display mode because he value in field f1 is 1.if the vale in f1 is other than 1 then that fields should be in editable mode.

how to achieve this one?

any inputs are highly appreciated.

Thanks,

shiva.

3 REPLIES 3

Former Member
0 Kudos

I guess you will have to use events in a table maintenance dialogue to do this.

Rob

Former Member
0 Kudos

Yes you can make partial Fields display and partial fields as input fields.

There is fields attribute HIDE,INPUT

Check the attribute's and enable it .

Reward points if it is usefull ...

Girish

Former Member
0 Kudos

Hi,

Go to SE51..

Give the program name SAPL + function group name that you gave for the table maintenance generator..

Give the screen number..

Press change..

In the PBO ..create a module and have your custom logic..

Thanks

Naren