SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software
Development resources, articles, tutorials, code samples, tools and downloads for SAP HANA and ABAP, HANA Database, SQLScript, SAP UI5, Screen Personas, Web Dynpro, Workflow

Function module is not released for the Internet

ABAP developer calling WebRfc before release function module to internet will experience "Function module is not released for the Internet" error message. Simply, after you create WebRfc function module as an ABAP developer, you have to release function module for internet using SMW0 SAP Web Repository transaction. Although it is possible to test and execute the function module within SE37 transaction, it is not possible to call webRfc from intranet or internet without error.

If you are a script developer working on SAP Screen Personas 3.0 flavors, you can refer to Personas tutorial how to add new FM to Personas function module whitelist to enable that FM to be called within Personas scripts.


Call WebRFC Function Module Error

Here is the error message when ABAP programmers will get when WebRFC call is executed before it is released to internet.

Function module is not released for the Internet

R/3 system message
Function module is not released for the Internet
Diagnosis
You have tried to start the function module from the Internet/Intranet. This is not possible because the function module has not yet been released.
Procedure
For security reasons, you cannot start function modules in the Internet that have not yet been released. The function module must have been explicity released before it can be called from the Internet. To run reports from the Internet, the modules WWW_GET_REPORT and WWW_GET_SELSCREEN must have been released.


Release Function Module to Internet using SMW0 Transaction

In order to release function module to internet and enabling webrfc from internet, ABAP developers can use SMW0 tcode namely SAP Web Repository transaction.
Here is step by step how to release webrfc function module for internet or intranet:

Call SMW0 SAP Web Repository transaction from SAPgui

When SAP Web Repository screen is displayed, using top menu choose Internet release > Function Modules f7

Enter the function module name into the textbox and press Release icon marked with red as follows.

release function module to Internet

If everything is OK on the SAP system side, you will be displayed an informative success message. Afterwards, releasing the function module created as a webrfc, ABAP programmers can use and call webrfc from SAP Personas or other web applications.



SAP HANA and ABAP

Install SAP Free
CRM Companies List
Web Based CRM Software


Copyright © 2004 - 2021 Eralper YILMAZ. All rights reserved.