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: 

Display selected values in table maintainance

Former Member
0 Kudos

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.

7 REPLIES 7

Former Member
0 Kudos

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.

0 Kudos

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.

0 Kudos

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.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-87652872...

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

0 Kudos

Generate 2 steps maintainance rather than 1 step maintainance.

SE11 - table maintainance generator

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

Not satisfied with answers.i created table control using dialogue program with selection.