messge statement in smartform
can i put
MESSAGE E001 with v_message in smartform coding ???
Yes, you can create a program node to write any ABAP code. Of more concern is what would happen if you issued an error message in the middle of a smartform? As the smartform is generated as a function module you may be better raising an exception with a message rather than just a message statement.