Application Development and Automation 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: 
Read only

Is there an Organization system (like java packages) for ABAP classes?

Former Member
0 Likes
666

Hi,

I am new to oo abap but not to oo nor abap and I was wondering if there is a way to structure our classes; I havent found anything.

If we check the Class browser we'll see classes are organized simply by Packages, but here the package concept is different than the package concept we have in Java, which organizes classes in groups or folders.

I would find this quite useful, I can't imagine classes being developed without a way to properly organize them.

Thanks everyone in advance,

Elias Hortas.

1 ACCEPTED SOLUTION
Read only

MarcinPciak
Active Contributor
0 Likes
629

You can create something called as [Package hierarchy|http://help.sap.com/saphelp_470/helpdata/en/79/8097d0ef9111d3963f00a0c94260a5/frameset.htm]. This way you can group certain classes in nice logical way.

Regards

Marcin

Hi,

I am new to oo abap but not to oo nor abap and I was wondering if there is a way to structure our classes; I havent found anything.

If we check the Class browser we'll see classes are organized simply by Packages, but here the package concept is different than the package concept we have in Java, which organizes classes in groups or folders.

I would find this quite useful, I can't imagine classes being developed without a way to properly organize them.

Thanks everyone in advance,

Elias Hortas.

3 REPLIES 3
Read only

MarcinPciak
Active Contributor
0 Likes
630

You can create something called as [Package hierarchy|http://help.sap.com/saphelp_470/helpdata/en/79/8097d0ef9111d3963f00a0c94260a5/frameset.htm]. This way you can group certain classes in nice logical way.

Regards

Marcin

Read only

Former Member
0 Likes
629

hi,

abap packages are different from java packages. you can group your development-objects in packages, but a package is not a namespace. all your development-objects (classes, programms) have to have globally unique names.

Greetings,

dsp

Read only

0 Likes
629

I see, not exactly the same but... I guess its the same with reports/programs.

Thanks!