Académique Documents
Professionnel Documents
Culture Documents
Products
Products Industries
Industries Support
Support Training
Training Community
Community Developer
Developer Partner
Partner
About
About
Ask a Question Write a Blog Post Login
Tobias Trapp
more by this author
ABAP Development
abap | package | sapmentor
share
0 share tweet share
Follow
https://blogs.sap.com/2011/12/10/abap-package-concept-part-2-package-interfaces-of-development-packages/ 1/12
10/3/2018 ABAP Package Concept Part 2 Package Interfaces of Development Packages | SAP Blogs
A package can contain nearly every ABAP Dictionary element but there are
exceptions: single includes can’t be exposed. But this shouldn’t bother you
because modularization with includes has many disadvantages and shouldn’t
be used.
TADIR types that are not accessible within ABAP Workbench (think of
archiving objects – R3TR AOBJ) can’t be included too but usually they can’t
be called with native ABAP commands so you don’t need them in package
interfaces.
If you look into the visible interfaces you see that it contains only DDIC
elements:
https://blogs.sap.com/2011/12/10/abap-package-concept-part-2-package-interfaces-of-development-packages/ 3/12
10/3/2018 ABAP Package Concept Part 2 Package Interfaces of Development Packages | SAP Blogs
https://blogs.sap.com/2011/12/10/abap-package-concept-part-2-package-interfaces-of-development-packages/ 4/12
10/3/2018 ABAP Package Concept Part 2 Package Interfaces of Development Packages | SAP Blogs
part of an public API and they are used by many other applications the
change won’t be possible.
The result is a little bit confusing but in the next blog entry you’ll explain it in
detail:
https://blogs.sap.com/2011/12/10/abap-package-concept-part-2-package-interfaces-of-development-packages/ 5/12
10/3/2018 ABAP Package Concept Part 2 Package Interfaces of Development Packages | SAP Blogs
If you look at the package interface FIMA_GEN_DEF you’ll find other very
useful functions modules for financial mathematics:
If you want to use these functions in a package you should define a use
access in your application in the following way:
The error severity “no response” is the default which means that package
checks won’t produce any error messages. Other values “error, information,
warning and obsolete” can be useful when you are changing packages
interfaces or package hierarchies.
https://blogs.sap.com/2011/12/10/abap-package-concept-part-2-package-interfaces-of-development-packages/ 6/12
10/3/2018 ABAP Package Concept Part 2 Package Interfaces of Development Packages | SAP Blogs
Summary
In this blog entry it was shown
You also learned some best practices for creation of packages and also the
consequences in ABAP development. By the way: I discussed the ABAP
Package Package concept in detail during last SAP communities ROCK! and
the video is available here.
Alert Moderator
9 Comments
You must be Logged on to comment or reply to a post.
Peter Inotai
https://blogs.sap.com/2011/12/10/abap-package-concept-part-2-package-interfaces-of-development-packages/ 7/12
10/3/2018 ABAP Package Concept Part 2 Package Interfaces of Development Packages | SAP Blogs
Hi Tobias,
You mentioned NW 7.30 as new package check concept, but I believe it’s already
available as of NW 7.10. Or am I wrong?
Thanks,
Peter
Hi Peter,
Please be aware that in higher Releases the interface types will change and
you’ll have to migrate the package interfaces.
Yes NW 7.10 uses a new package package concept but who is using 7.10?
Besides CE und PI it is BW and the banking solution. In the last SAP
Mentors Quaterly was explained by the one and only Thomas Jung – and
everything is heading towards 7.31. NW 7.30 on ABAP makes sanse if you
are using AS ABAP as a sidecar or for BW (especially BW with HANA).
Cheers,
Tobias
Peter Inotai
https://blogs.sap.com/2011/12/10/abap-package-concept-part-2-package-interfaces-of-development-packages/ 8/12
10/3/2018 ABAP Package Concept Part 2 Package Interfaces of Development Packages | SAP Blogs
Hi Tobias,
Thanks for your quick answer.
I agree R3ENTERPRISE requires much more work than
RESTRICTED setting.
Unfortunately we’re still developing in SAP R/3 Enterprise
4.70/6.20, so I have no experience with 7.30/7.31. Even in ERP
6.05 the basis release 7.02, which doesn’t contains the new
package check concept.
Do you know if it will be included in ERP 6.06?
Cheers,
Peter
Former Member
Hi Tobias,
A great blog that has certainly got me thinking how I can move away from the paradigm
of one-package-per-functional-module.
However, I’ve a question on reuse of standard objects based on your example function
module FIMA_DECIMAL_MONTHS_AND_YEARS. You identify the function module is
available in Package Interface FS_FIM_INTERFACE_MAIN, but the function module
itself is not released.
In this apparent contradiction, which setting wins? Is is reasonable to reuse this function
module due to its presence in the Package Interface despite its non-released status?
Thanks,
https://blogs.sap.com/2011/12/10/abap-package-concept-part-2-package-interfaces-of-development-packages/ 9/12
10/3/2018 ABAP Package Concept Part 2 Package Interfaces of Development Packages | SAP Blogs
Nick
Former Member
Hi Tobias,
Regards,
Kart.
Former Member
Hi Tobias,
I have a question that how can we reverse or cancel the change implemented on a package interface?
There is no version management of Package Interface.
https://blogs.sap.com/2011/12/10/abap-package-concept-part-2-package-interfaces-of-development-packages/ 10/12
10/3/2018 ABAP Package Concept Part 2 Package Interfaces of Development Packages | SAP Blogs
Yes, this is a problem. You can say that an interface is obsolete but nothing
more. There is no API for migration and rebuilding interfaces.
Kiran K
Tobias,
Gone through your series of blogs on ABAP Package Interfaces but I was not able to
comprehend on how this concept can be used in our day to day development
activities.Moreover,creating a Package is mostly considered as a Basis activity so I am
still trying to understand……
Is this just limited to group commonly used FMs or Classes so that they can be found
easily in the form of a repository or there is more to it from the coding point of view.
“If you want to use these functions in a package you should define a use access in your
application“
When we can call the FM or Class without bothering about its package can you please
let us know what is the advantage of defining a package interface ?
Thanks.
K.Kiran.
https://blogs.sap.com/2011/12/10/abap-package-concept-part-2-package-interfaces-of-development-packages/ 11/12
10/3/2018 ABAP Package Concept Part 2 Package Interfaces of Development Packages | SAP Blogs
Trademark Sitemap
Newsletter
https://blogs.sap.com/2011/12/10/abap-package-concept-part-2-package-interfaces-of-development-packages/ 12/12