Skip to Content

How to avoid hard coding in webdynpro enhancement?

Mar 08 at 06:48 AM


avatar image

Hi All,

My requirement is to send a mail by enhancing an existing webdynpro. Inorder to fill the mail body, lot of hard coded texts are needed (eg : "Note – This is a system generated mail. Please do not reply."). I do not want to hard code this as that is not the best practice in coding. I cannot use text symbols in Assistance class as well, because the assistance class is a standard class.

Please suggest a method to do this. I need to get the hard codes within the OnAction Method so that i can concatenate it with program data and fill up the mail body.

Thanks in advance. :)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Maria Erdey-Gruz
5 days ago


Why not put in a table and than refer to it in the context of you WD Component and than call the required attributes when needed: Context in Detail?

10 |10000 characters needed characters left characters exceeded