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

SM30

Former Member
0 Likes
323

Hi ,

I am maintaining a table in SM30 by changing the events,

In that user shud not be able to update any record with certain specific field is having avalue.

he is not able to save the same when goes by indiviadual record.

but if he comes back and save..he is able to.

how to solve this problem.

thanks,

varun

2 REPLIES 2
Read only

Former Member
0 Likes
307

Check whether you have done the validation in PBO or not.

If not write the validation in PBO also inside the table control loop.

Regards

Kannaiah

Read only

Former Member
0 Likes
307

Hi,I think u have generated Table Maintainance Generator, goto Environment->Modifications->Events

Select appropriate option by using F4,I think value 05 is appropriate for u r requirement.Enter From routine name.Dbl click on the routine.

Write the appropriate code like:

If ZTABLE-FIELD1 is initial.

Message (E000) with "Fill all the manadatory fields".

Thats it.Just look at the following docu with screenshots,by this understand how u can use Table Events:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20im...

Regards,

Rock.