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

Getting msg 'Program names L... are reserved for function group includes'

Former Member
0 Likes
2,635

Hi all,

When I try to create a SAP standard Include which start with L, I get the message which says <b>''Program names L... are reserved for function group includes".</b>

I have already created two standard SAP FMs.

Please let me know how should I go ahead and create the Include.

Thanks and regards,

Anishur

5 REPLIES 5
Read only

Former Member
0 Likes
1,692

Your programs should start with Y/Z

Read only

JozsefSzikszai
Active Contributor
0 Likes
1,692

hi Anishur,

if it is the same story like before and you do what is written in the OSS Note, than you should go ahead!

ec

Read only

Former Member
0 Likes
1,692

You have to let the system create them for you. Go to your function module code and enter some PERFORM or variable name that is not there already, double click on it, and when it prompts to create it, say yes and then it will give you an option to specify if you want to create it in a new include or existing one. Say new include and then you will be able to create the include.

Read only

Former Member
0 Likes
1,692

Hi,

When you create the Function group, then if you look at the Fucntion group in SE80, then tehre inlcudes will be created, for FORMS if it will create the includes, and for TOP it will create the include, for L also it will create the Incldue(L referefs coding of subroutines).

So, goto SE80 and activate the Include directly, then you can write the code in that include

Regards

Sudheer

Read only

Poul_Bundgaard
Discoverer
0 Likes
1,491

The beginning of the suffix must begin with F, O, I, E, P or T99 and the format must be:
Lfunction-group-nameSxx
 - where "S" is the mentioned suffix letter.

You can also see the valid names in the master program comments, e.g.:

*******************************************************************
  INCLUDE lzdkd_const_class_generatortop.    " Global Data
  INCLUDE lzdkd_const_class_generatoruxx.    " Function Modules

*******************************************************************
*   User-defined Include-files (if necessary).                    *
*******************************************************************
* INCLUDE LZDKD_CONST_CLASS_GENERATORF...    " Subroutines
* INCLUDE LZDKD_CONST_CLASS_GENERATORO...    " PBO-Modules
* INCLUDE LZDKD_CONST_CLASS_GENERATORI...    " PAI-Modules
* INCLUDE LZDKD_CONST_CLASS_GENERATORE...    " Events
* INCLUDE LZDKD_CONST_CLASS_GENERATORP...    " Local class implement.
* INCLUDE LZDKD_CONST_CLASS_GENERATORT99.    " ABAP Unit tests

  INCLUDE lzdkd_const_class_generatorp01.
  INCLUDE lzdkd_const_class_generatorf01.
  INCLUDE lzdkd_const_class_generatoro01.
  INCLUDE lzdkd_const_class_generatori01.