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

How to create Function Module

Hi,

I am trying to create a function module using RSAX_BIW_GET_DATA_SIMPLE as a template. Can someone tell me how can I modify and rename this module. Also, how can I create extract structure from the function module.

I have tried to create a module in the module group by right cliking and then 'create', but it wouldn't let me do that way instead it giving me message 'function module name is reserved for SAP'. I get this message no matter what name I provide.

Basically I am trying to create a function module to extract data from SD module into BW. I appreciate your help with reward.

Thanks,

Rao.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2005 at 02:29 PM

    Rao,

    First create a funciton group in SE80. In that function group copy the code of this template.

    Structure: SE11.

    Cheers

    Aneesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      It is almost the same but a different transaction.

      1. Goto SE37.

      2. Follow the path

      Goto --> Function Group --> Create Group

      3. Then enter a function name Z***** and click create.

      The following link gives you more information about the functions and groups and others:

      http://cma.zdnet.com/book/abap/ch19/ch19.htm

      If you are looking for ENHANCEMENT kind of a thing then follow the following path:

      1. Log onto R/3

      2. TCODE: SMOD

      3. Enhancement RSAP0001.

      4. Double click on the one you are looking for i.e. Transaction / Master Data.

      5. In the Function Module Double click on the INCLUDE.

      Hope it helps,

      Regards,

      GPK.

      Message was edited by: Praveen

  • author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2005 at 06:03 PM

    Hi,

    I appreciate your very helpful answers. Thank you.

    Rao.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 26, 2005 at 03:31 AM

    Hi,

    You cannot modify the function module "RSAX_BIW_GET_DATA_SIMPLE" , though you can copy that and create your own function module. Your function module should start with "Y" or "Z" as all other alphabets are reserved for SAP. You can create/view the function module in SE37. You need to assign your function module to a function group. Assign to any group you know OR create a new one.

    After you create your funtion module code it to your needs and create the extractor function module.

    Bye

    Dinesh

    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.