cancel
Showing results for 
Search instead for 
Did you mean: 

messge statement in smartform

Former Member
0 Kudos

Hi all,

can i put

MESSAGE E001 with v_message in smartform coding ???

Thanks

madhu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Regards,

Nick

Answers (1)

Answers (1)

Former Member
0 Kudos

Technically you can, but it doesn't make sense as most output is processed in update task and any MESSAGE E001 will generate a short dump.

Regards,

John.