Skip to Content
author's profile photo Former Member
Former Member

error in creating function group

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 .

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 21, 2009 at 06:55 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 21, 2009 at 06:58 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 21, 2009 at 06:58 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 21, 2009 at 12:19 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.