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: 

error in creating function group

Former Member
0 Kudos

Hi

In my z function group, do i need to declare all the parameters used in function modules explicitly in any top include?.it was not declared as such in the standard function group from which i copied .

1 ACCEPTED SOLUTION

shishupalreddy
Active Contributor
0 Kudos

Hello ,

Sometimes when u copy any standard function group into ZFuntion group u will get some systax errors saynig some varaible is not defined .

then

goto SE37

Enter the fucntion module and get into function bulinder

select EDIT Menu option and Interface Submenu option inthat u will find GLOBALIZE PARAMETERS and LOCALIZE PARAMETERS Just do that operation u will be free of errors.

regards

4 REPLIES 4

shishupalreddy
Active Contributor
0 Kudos

Hello ,

Sometimes when u copy any standard function group into ZFuntion group u will get some systax errors saynig some varaible is not defined .

then

goto SE37

Enter the fucntion module and get into function bulinder

select EDIT Menu option and Interface Submenu option inthat u will find GLOBALIZE PARAMETERS and LOCALIZE PARAMETERS Just do that operation u will be free of errors.

regards

Former Member
0 Kudos

Globalise parameters, And Also check that all the components are properly activated.

Former Member
0 Kudos

hai raj,

no need to declare them globally, if the same paramters are used in other function modules of the group then u can declare them in top include else u can declare them in the function modules only

regards

afzal

Former Member
0 Kudos

hi,

In some cases u need to declare it globally say for example a variable may hold a static value and it may be updated across different function modules of the same group. I have encountered standard function modules which are called in a sequence and every time the same variables are updated. So if u dont use a variable across the function modules of a group, u can simply declare it as local variables.

Regards,

Rethish.