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

local class and function group

Former Member
1,495

I want to write a local class in a function group, where is the best place I put the code? thanks!

1 ACCEPTED SOLUTION
Read only

alejandro_bindi
Active Contributor
0 Likes
685

The best practice (according to a paper written by Horst Keller and Andreas Blumenthal - "An insider's guide...") is to put the DEFINITION in the TOP include and the IMPLEMENTATION part in a separate include such as LZ...C01.

Get the paper here: https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c2992ca9-0e01-0010-adb1-b7629adb...

Regards

Edited by: Alejandro Bindi on Apr 25, 2009 12:46 AM

4 REPLIES 4
Read only

former_member194669
Active Contributor
0 Likes
685

My choice will be TOP

a®

Read only

alejandro_bindi
Active Contributor
0 Likes
686

The best practice (according to a paper written by Horst Keller and Andreas Blumenthal - "An insider's guide...") is to put the DEFINITION in the TOP include and the IMPLEMENTATION part in a separate include such as LZ...C01.

Get the paper here: https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c2992ca9-0e01-0010-adb1-b7629adb...

Regards

Edited by: Alejandro Bindi on Apr 25, 2009 12:46 AM

Read only

Former Member
0 Likes
685

Always try to write the local class in top.

Regards

Read only

Former Member
0 Likes
685

Thank you very much!