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 Kodyaz Development Resources
Development resources, articles, tutorials, samples, codes and tools for .Net, SQL Server, Windows, Windows Phone, SAP and ABAP, like SAP UI5, Screen Personas, etc.




Install SAP Free




ABAP - DEVELOPER_KEY_CHECK SAP Function Module


ABAP developers may need to code ABAP in some ABAP reports where some special permissions are required. In such cases ABAP developers are controlled using DEVELOPER_KEY_CHECK SAP function module.

developer_key_check sap function module

ABAP programmers can see the above screen for requesting Access key from the ABAP developer.





When the Access key is entered by the ABAP developer, the DEVELOPER_KEY_CHECK function module is called and the validity of the access key is controlled.
Here is the ABAP source code for developer_key_check SAP function module.

FUNCTION DEVELOPER_KEY_CHECK.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(DEVELOPKEY) LIKE DD04T-SCRTEXT_M
*" EXCEPTIONS
*" WRONG_KEY
*" PARAMETERS_WRONG
*"----------------------------------------------------------------------

 CALL 'CHECK_DEVELOPER_KEY' ID 'KEY' FIELD DEVELOPKEY.
 CASE SY-SUBRC.
  WHEN 1.
   RAISE PARAMETERS_WRONG.
  WHEN 2.
   RAISE WRONG_KEY.
 ENDCASE.

ENDFUNCTION.






SAP Resources

SAP Tutorial

SAP Forums

SAP Tools

SAP Transaction Codes Table








Copyright © 2004 - 2019 Eralper YILMAZ. All rights reserved.
Community Server by Telligent Systems