KEMBAR78
Creating RFC Function Module in SAP | PDF
0% found this document useful (0 votes)
11 views3 pages

Creating RFC Function Module in SAP

The document outlines the steps for creating a Remote Function Call (RFC) function module in SAP, emphasizing that exceptions cannot be used and all parameters must be passed by value. It details the process from accessing the SE37 transaction to defining attributes, importing and exporting parameters, and writing the source code. The final steps include saving and activating the function module.

Uploaded by

aa-cruz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views3 pages

Creating RFC Function Module in SAP

The document outlines the steps for creating a Remote Function Call (RFC) function module in SAP, emphasizing that exceptions cannot be used and all parameters must be passed by value. It details the process from accessing the SE37 transaction to defining attributes, importing and exporting parameters, and writing the source code. The final steps include saving and activating the function module.

Uploaded by

aa-cruz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Creating RFC Function

Module in SAP
Last Updated: November 2nd 2016 by Ashok Kumar Reddy

Developing RFC function module in SAP, working with remote


enabled function module in SAP
+-
Whenever we create a RFC function module, we need to follow below things.
We cannot use exceptions in RFC`s.
All parameters must be pass by value not pass by reference.
To create RFC function module follow below steps.
Step 1: Go to SE37, provide a name ZSAPN_RFC_FM, create, a popup will come
provide function group, short text and save.

Step 2: Go to 'Attributes' tab, select 'Remote-Enabled Module', enter.


Step 3: Go to import tab, add importing parameter as below, you must select pass
value check box as pass by reference are not possible in RFC`s.

Similarly, go to export tab, add another parameter as below.

Step 4: Go to source code, add below code.


SELECT SINGLE * FROM MARA
INTO EX_MARA WHERE MATNR = IM_MATNR.

Step 5: Save and activate the function module.

Learner Questi

You might also like