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

function module

hi

i created a function module with import parameter let's say "IM_BUKRS"

FUNCTION f_function1.

perform f_bukrs.


ENDFUNCTION.

form f_bukrs.
// here when i try to access im_burks it doesn't recognise the im_burks

endform.

please advise

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Best Answer
    Posted on Jul 23, 2008 at 06:33 AM

    Hi ..

    Try this..

    FUNCTION f_function1.
     
    perform f_bukrs using im_bukrs.
     
     
    ENDFUNCTION.
     
    form f_bukrs using im_bukrs.
     
    endform.
    
    

    Regards,

    Sachin M M

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 23, 2008 at 06:33 AM

    Newbie,

    have you define im_burks type bukrs in import tab?

    Amit.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2008 at 06:33 AM

    The form need not be created in the main FM body.

    Double click on the Perform and create it in the new system defined include.

    This should appr=ear in teh Function Pool list.

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2008 at 06:34 AM

    Hi,

    yes it wont recognize there, because u r writing that perform in other program i think. if it is external subroutine then u should paas it using changing parameters.

    if it is local subroutine then it will recognize it....

    regards

    Sunil Kumar Mutyala

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2008 at 06:36 AM

    hiii

    you only need to pass that parameter with perform ...

    refer with USING CHANGING parameters of subroutine.here you need to pas that parameter with USING statement.

    regards

    twinkal

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 23, 2008 at 06:37 AM

    Hi,

    You need to globalize parameters. if you check attributes tab, there is checkbox called Global. In order to tick it do this.

    Edit - > Interface -> globalize parameters.

    Regards,

    Sukhbold

    Edited by: Sukhbold Altanbat on Jul 23, 2008 12:13 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2008 at 06:40 AM

    declare IM_BUKRS in top include of ur function group.

    this may solve ur problem.

    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.