cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro for ABAP Naming Convension & Guide line

Former Member
0 Kudos

Hi, everyone.

I have a plan to implement Web Application as WDA(Web Dynpro for ABAP). but I don't know how can I give a name to Windows or Views or Custom controllers.

If you have a naming convension or guid line document,

Could you share the document with me? ^^

Accepted Solutions (0)

Answers (2)

Answers (2)

thomas_szcs
Active Contributor
0 Kudos

As Rich said, there are no official naming conventions. Nonetheless, a few things have become quite popular, such as:

- adding wnd_ in front of window names as they share the same namespace with views

- adding m_ in front of member variables of controllers

- adding s_ in front of supply methods and using the name of the node afterwards

- adding lbl_ in front of labels and using the name of the labelled ui element afterwards like "lbl_customer" and "customer"

Some developers also add certain prefixes to view elements to distinguish between them.

Regarding the names of components, there is one thing that you should not do: Start them with WD_ or WDR_ as both are somehow preserved. The same is true for entities within a component, although there checks in place that prevent you from doing that.

Best regards,

Thomas

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

There are really no naming conventions for windows or views, just something descriptive.

Regards,

Rich Heilman