Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Can we validate fields in SM30?

Hello,

Can we do field validations using SM30?

If yes then please suggest....How can I do that..Plz explain me with an example...

ANy suggestions would be appreciated...

Regards,

Kittu

Former Member
replied

hi,

you can do validations

make use of events in the TMG

create subroutienes and write the code there

the below link gives steps to create events

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc

example

if matnr is initial.

message 'ENTER A VALUE' type 'E'.

endif.

regards

prasanth

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question