06-22-2009 6:26 AM
Hello,
I have created table maintainance for my ztable.i have 10 fileds in my ztable there one field is plant.Now my requirement is when user enter plant value like - 1100 then only that plant's values data should be displayed in table maintainance.How to do this?suggest me experts.
regards,
soniya.
06-22-2009 6:32 AM
Hi,
This can be done by using the events in the Table Maintenence geneator.
Also, you can activate and de-activates the fields in the Layout option.
Click on Environment Modification Maintenance Screens & Click on Layout.
Hope it helps you.
06-22-2009 6:38 AM
hi
i dont want to deactivate fields or something.i just want is for selected plant data should come in table maintainance not all data.i dont want to do anythinng with field.
regards
soniya.
06-22-2009 6:44 AM
Hi Soniya,
You can do it using Table maintain generator events.
For this check the below event which will help you out.
Please check the below PDF how to implement the events.
More help check the below link.
http://help.sap.com/saphelp_nw2004s/helpdata/EN/91/ca9f0ea9d111d1a5690000e82deaaa/content.htm
In the menu you can see Environment->Events in the Table maintenace generator screen.
if you required more information Reply me.
Regards,
Dwaraka.
Edited by: Dwarakarakanadha Reddy on Jun 22, 2009 11:17 AM
06-22-2009 7:40 PM
Generate 2 steps maintainance rather than 1 step maintainance.
SE11 - table maintainance generator
06-22-2009 6:43 AM
Hi Soniya,
You have to write your code in any of the event provided in table maintenance like 05 creating a new entry.
Code will contain the procedure to fetch the plant related data from the table that contains it.
You have to assign this data to the related field.And these fields should be disabled to input , so that
user cannot over write them.
Revert back in case further help required.
Edited by: harsh bhalla on Jun 22, 2009 11:14 AM
06-22-2009 6:49 AM
Hi,
When you have created table maintance, go t-code sm30, give table name, in restrict data range select Enter conditions and click on maintain .
Select the field: Plant
I hope this will solve your issue.
06-29-2009 6:23 AM
Not satisfied with answers.i created table control using dialogue program with selection.