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

error in creating function group

Former Member
0 Likes
707

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
Read only

shishupalreddy
Active Contributor
0 Likes
667

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
Read only

shishupalreddy
Active Contributor
0 Likes
668

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

Read only

Former Member
0 Likes
667

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

Read only

Former Member
0 Likes
667

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

Read only

Former Member
0 Likes
667

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.