Question: how to rfc enabled function module?
Answer: Start the SAP GUI.
Go to Transaction SE37 (Function Builder), enter the RFC name, and click Create.
Enter an existing function group under which the RFC will be created, a short description for the RFC, and click Save.
In the Attributes tab, select the Remote-Enabled Module radio button.