Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

What's the naming convention for Helper Class?

Former Member
0 Kudos

Hi Experts,

What's the naming convention for helper class?

cl_util? or cl_heper?

Thanks in advance!

1 ACCEPTED SOLUTION

former_member184578
Active Contributor
0 Kudos

Hi.,

Normally in JAVA the naming convention for Helper Class is <EventID>Util.java. The Naming convention for helper class must start with EventID.

here Event ID is the event Name , Util.java is the helper class for java.

I believe the same will be followed in ABAP OO too..

here the helper class is cl_uitl.,

so <EventID><ABAP hepler class> is the naming convention.

wait for experts reply..,

hope this helps u.,

Thanks & Regards,

Kiran

2 REPLIES 2

former_member184578
Active Contributor
0 Kudos

Hi.,

Normally in JAVA the naming convention for Helper Class is <EventID>Util.java. The Naming convention for helper class must start with EventID.

here Event ID is the event Name , Util.java is the helper class for java.

I believe the same will be followed in ABAP OO too..

here the helper class is cl_uitl.,

so <EventID><ABAP hepler class> is the naming convention.

wait for experts reply..,

hope this helps u.,

Thanks & Regards,

Kiran

huseyindereli
Active Contributor
0 Kudos

Hi ,

I prefer cl<definition>utility for naming.

Concept : http://en.wikipedia.org/wiki/Utility_class .