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: 

Adding code to a view maintenance

Former Member
0 Kudos

I have created a 'Z' table and a table maintenance view using the table maintenance generator. I want to add some code to check that entries made to the table are valid. I tried by following the menu path environment>modifications>source code but when trying to compile I get the syntax error "Statement is not accessible" when trying to compile. I tried to add the code to the generated code, but get the same error.

Can anybody tell me the correct procedure?

Thanks

KB

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI Kevin,

Check this weblog.

<a href="/people/sudheer.cheedella/blog/2006/02/20/extracting-data-in-table-maintenance data in Table maintenance</a>

For More details refer.

<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/a7/513520407a11d1893b0000e8323c4f/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/a7/513520407a11d1893b0000e8323c4f/frameset.htm</a>

Regards,

Arun Sambargi.

3 REPLIES 3

Former Member
0 Kudos

well all u have to do is go to se11

type table name go to

<b>table maintenance generator </b>

click on <b>environment</b>

<b>modification over view screen</b>

<u>click on the screen number mostly 0001 </u>

and then in this screen if u go to element list u can change the list box which says "input possible to " to " <b>required</b>

thats it

here u can change screen elemnts freely

of course activate it for u to see changes

former_member181962
Active Contributor
0 Kudos

Go to se54 and add your code in a relevant event.

Regards,

ravi

Former Member
0 Kudos

HI Kevin,

Check this weblog.

<a href="/people/sudheer.cheedella/blog/2006/02/20/extracting-data-in-table-maintenance data in Table maintenance</a>

For More details refer.

<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/a7/513520407a11d1893b0000e8323c4f/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/a7/513520407a11d1893b0000e8323c4f/frameset.htm</a>

Regards,

Arun Sambargi.