cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a custom function module with the records in SAP R/3?

Former Member
0 Kudos

Hi All,

How to create a custom function module with the records in SAP R/3? Using RFC Adapter I have to fetch the custom function module records.

Regards

Sara

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

Hi Sara,

Create a function module

and make it RFC enabled

Procedure to import RFC in XI

Integration repository --> software component double click --> select radio button which says “import of RFC and IDOC interfaces from SAP systems Permitted” --> provide the connection data for import from SAP System --> then under imported objects, you have RFC --> right click and say import of sap objects --> then give your server details and import the RFC you want.

Regards,

Prateek

Former Member
0 Kudos

Thanks all.

Regards

Sara

Answers (2)

Answers (2)

former_member335553
Active Contributor
0 Kudos

Hi

goto se37...here u need to create a function group... then u need to create a function module. inside assign import/export parameters. assign tables/exceptions. activate the same. now write ur code within the function module

http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm

Look at the below SAP HELP links, These links will show you the way to create a Function Module

http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm

MichalKrawczyk
Active Contributor
0 Kudos

Hi Sara,

it has to be a standard funciton module (you can copy existing in SE37)

just make sure in attributes it will be = RFC (remote function call)

so you will b able to call it from XI

inside this module you just need to do a select to fetch

the records that you want and that's all

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>