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

TMG COMPLEX

former_member203215
Participant
0 Likes
548

how to make field non editable after value enter in table maintenance generator

3 REPLIES 3
Read only

Former Member
0 Likes
481

Hi,

Much functionality can add to the table maintenance though the addition of event
Maintenance events are used, when certain logic is to be added in the already generated table maintenance. They are called when certain events are triggered, when user maintains the table through SM30.

pls check this link

http://wiki.scn.sap.com/wiki/display/ABAP/TABLE+MAINTENANCE+GENERATOR+and+ITS+EVENTS

Read only

Former Member
0 Likes
481

Hi,

   

   Go to SE11

   Give the respective table name and display

   Utilities -> Table Maintanence Generator

   Environment -> Modificaiton -> Maintenance Screens

  

  If you go to the screen, in PAI, in LOOP...ENDLOOP just write the module for validation of that respective field and write validation as if the respective field is not initial then..

Loop at screen.

if screen-name = 'ur fieldname '.

screen-active = 0.

modify screen.

endif.

Endloop.

Regards,

Kusuma.

Read only

former_member219162
Contributor
0 Likes
481

Hi Ravi,

You also achieve this using Module Pool program.

1) Find out the the Function Group Name from Table maintenance generator of SE11.

2) Use the same Function group name in SE80.

3) Then go to the screen Number in Se80 from the Function Group. The Screen number would be same that you have put in Table Maintenance Generator.

4) Here you can put your custom logic in PAI & PBO.

5) To make it disabled you can go to the Layout of the screen and make the field disabled.