Skip to Content
Former Member
May 11, 2011 at 12:31 AM

Extended Pattern in Section Code



We are developing within a namespace and would like to include a copyright pattern in all sections of ABAP OO Classes. Of cause we could manually add the pattern, but I would prefer a automated process. I debugged the function "Regenerate Sections" and came across the function SEO_CLASS_GENERATE_SECTIONS. It uses the code of report SEO_PATTERN to generate the sections.

I could modify the report SEO_PATTERN to include the copyright but than it would be included in all classes not only for classes within our namespace. Second option would be a modification in SEO_CLASS_GENERATE_SECTIONS where I could check for the class name and thereby check the namespace.

Before making any modification I want to check with the crowd-knowledge of SDN if there is an official way to solve my request.


Matthias Waltz