Application Development 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: 

how to create a top include for module pool program

Former Member
0 Kudos
1,326

hi all..

I want to add my global declarations in one top inlcude.. There are so many other includes in my pgm. But how can i create top include explicitly. Also I have one normal report pgm attached with this module pool.

1 ACCEPTED SOLUTION

former_member632991
Active Contributor
0 Kudos
292

Hi,

generally whenever u create a module progarm, it popups for whether u want to create it with TOP include or not.

Choose Top include there and proceed.

Regards,

Sonika

8 REPLIES 8

former_member632991
Active Contributor
0 Kudos
293

Hi,

generally whenever u create a module progarm, it popups for whether u want to create it with TOP include or not.

Choose Top include there and proceed.

Regards,

Sonika

0 Kudos
292

but it dint ask me for that.. so wat shall i do?

0 Kudos
292

Cynthia,

Normally it will pops up while you are creating Module pool via SE80(if you are on Higher versions). Or else you can create an include with some name ZXXXXXTOP.

It should end with <b>TOP</b>. ANd that will be TOP include , there you declare.It will act as TOP include.

Regards

Vijay

Former Member
0 Kudos
292

Hi,

If you want to TOP include for Module pool Program then you need to create the program from SE80, then it will create a TOP include for you ..

Regards

Sudheer

Former Member
0 Kudos
292

Hi Cynthia,

Normally in SE80 when we create programs system will ask you in a pop up whether u want to create program with top include or not.if u check the box it will ask you to name the top include or it will appear as ****TOP here we can change the include name.

try this...

go to se80 select ur package name and right click ur package name and say create->program then it will give you the POP up.

Rgds,

Prajith

former_member196299
Active Contributor
0 Kudos
292

hi Cynthia ,

there are two ways of creating a top include at your situation ,

1) Insert an include <Prog name >TOP in your mpool program and cut n paste your declarations there .. check if this works ...

2)else .. create another m pool program in SE80 , while creating a pop up will ask for with TOP include ... check mark that and then proceed ..

anything of these two will work ...

Reward if helpful !!

Regards,

Ranjita

Former Member
0 Kudos
292

hi

good

when yor trying to create a report using se30,give the pogram as a INCLUDE program.

thanks

mrutyun^

Former Member
0 Kudos
292

Hi,

Go to SE80

Select the 'Program ' in first dropdown box.

In the next Field enter the Program name which you want to create say ZTEST

Click on the Icon Display just beside of this Input field

If you click on YES then automatically it ask to Create with TOP INCLUDE.

Thanks

PK