cancel
Showing results for 
Search instead for 
Did you mean: 

How to create Function Module

Former Member
0 Kudos
391

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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

former_member184494
Active Contributor
0 Kudos

teh message that the name is reserved for SAP will come for any FM that you create and then you can go in and edit the same. It is a sort of message that says that no more Fms can be regosteres with this name.

Arun

Former Member
0 Kudos

Hi,

I appreciate your very helpful answers. Thank you.

Rao.

Former Member
0 Kudos

Rao,

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

Structure: SE11.

Cheers

Aneesh

Former Member
0 Kudos

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