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

2nd INCLUDE (for FORMS) in the same Function Group for the same FM?

former_member202077
Participant
0 Likes
421

Hi Experts,

There is a custom FM, already there is a INCLUDE (INCLUDE_for_form_routines_1) in the function group, where in all FORMS (US region sub-routines) code is written.

Now I need to enhance (for Europe region) the same FM by writing some more sub-routines.

So, am thinking of encapsulating all my code in a second INCLUDE (INCLUDE_for_form_routines_2) in the SAME Function group. But, till now I have seen general practise is that all the FMs will have ONLY one INCLUDE for all its routines!! (apart from one more INCLUDE for DATA DECLARATION and one more is for FM source code)

So, is it okay to encapsulate all my (europe specific sub-routines) code in a second INCLUDE (by creating this new INCLUDE) in the same function group? so that there will be 4 INCLUDEs totally in this function group.

Thank you

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
388

Sounds like a good idea to me.

Lots of function groups have multiple includes.

Rob

Edited by: Rob Burbank on Sep 24, 2010 1:11 PM

1 REPLY 1
Read only

Former Member
0 Likes
389

Sounds like a good idea to me.

Lots of function groups have multiple includes.

Rob

Edited by: Rob Burbank on Sep 24, 2010 1:11 PM