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: 

Function Module

former_member642890
Participant
0 Kudos

Hii,

I have created a Z top include in the custom function group and declaring all data declarations and when im trying to use these data declarations in one of my function module,

it is popping up syntatical erros, it says that the data declarations are not found.

Can anyone tell me for wht reason there is an error in activation.

Can't we use the zTOPINCLUDES, do we have any separate process for the same ( i have activated function group, this zinclude)

Plz suggest me.

rohith

8 REPLIES 8

Former Member
0 Kudos

Hi,

click on the function group name and try to activate in whole.

Former Member
0 Kudos

Hi Rohith,

It could be because you have not activated a particular include, most probably your include that contains the data declaration.

Try activating all your include program in the function group again...

It should work.

Cheers,

VIshnu

0 Kudos

Hi,

I have activated all the includes as well as the entire function group.

But when i have declared the same declarations in the system defined TOPinclude, it is verywell accepting the declarations but not with the user defined TOPinclude.

is there any restrictions that we shldn't use the user-defined top includes..

0 Kudos

Hi,

Where have you defined your custom Z top include. ?

SAP by itself generates a Include for declaring global data.

Try to declare or call your include right next to the call of this include.

The problem your facing may be bacuse of the place where you have defined your Z top include, it might not be accessible to all other FMs

Thanks & Regards,

Navneeth K.

Former Member
0 Kudos

Hi,

Sometimes it happens because for particular session it doesn't activate..

i think you copy and delete your all declarations & activate...

Now paste it again & activate again ........

May b it wud work,..

regrds

Mudit

Former Member
0 Kudos

Hello,

Go to SE80 Tcode and select the Funcion group and right click on the function group then activate the funtion group.

Former Member
0 Kudos

Hi Try to create the function group once again.

And assign the function group to your includes may resolve the issue.

To my knowledge your function group might be not active and not assigned properly.

Cheers!!

Balu

0 Kudos

My function group and include is very well activated. But when im trying to use the data declarations in one of my function module then there is an error (data declaration doesn't found).