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

include problem

Former Member
0 Likes
1,158

hi folks,

i got some problem in my function module

i had face some problem,i am not accessing my includes for my function module

say pbo and pai and subprograms.it is giving messages like those includes are not in function group.

how to solve this.

how to write a include program.

10 REPLIES 10
Read only

Former Member
0 Likes
1,135

your requirement is not clear...is it a FM developed by you,is it a an exit,or is it a std FM????

pls be clear and give ur code if possible...

for ur second question as how to create include program..simple way..type INCLUDE in the editor and double click..it will open the include attributes screen and u can create it,.

Read only

Former Member
0 Likes
1,135

hi sailaja,

is it cutom development?

Fm and INcludes or custom or standard?

Read only

0 Likes
1,135

i created custom function module.

say zsailaja and function group zabcdefg after that i am traying to activate the

includes of my function module say pbo and pai includes it is telling that those includes are not there like i getting messages.

how we going to solve this one.

thank u.

Read only

0 Likes
1,135

Hi,

PBO and PAI are not just Function moduls but routines as a part of Module pool programs.

To enhance infotypes, you must use PM01 and automatically these includes will be created.

Read only

0 Likes
1,135

if your INcludes only PBO, PAI its a part of functions, so it will not give any problem,

or else if you are creating new Include like : Zinclude

go to SE80 assign This include to Perticular Function group.

Regards

Arjun.

Read only

0 Likes
1,135

Hi,

As mentioned PBO and PAI are only for module pool. Go to that function module display. Press CtrlShiftF5 (display object list). In left side, check whether the missing includes are activated and displayed.

Read only

Former Member
0 Likes
1,135

Hi,

Include programs can be called inside another executable program.

Function modules are subroutines with parameters to perform specific functions. When creating a function module, first a function group needs to be created.

Instead of calling includes in FMs, try to use subroutines as they are internal. Automatically those will be inside the function group then.

Please give the requirement more clearly.

Thanks,

Saipriya

Read only

Former Member
0 Likes
1,135

hi sailaja ,

u might had been used the data type STRING in your custom table .

replace the STRING to CHAR type .

regards

chinnaiya

Read only

Former Member
0 Likes
1,135

Hi Sailaja,

Please double click on your Main Function Gruop name in SE80 then try activate it, by doing so the system takes care of the activation process. it starts activating from TOP include and then corresponding. this way the system recongnizes all includes.

if you are trying to activate PBO only then if your TOP include is inactive then you might get error.

Please note this is based on my interpretation

Regards

Ramchander Rao.K

Read only

Former Member
0 Likes
1,135

Hi,

Activate all at a time, Function group, main program, global data and your FM