Problem solve Get help with specific problems with your technologies, process and projects.

Test home ABAP program

This tip will help you test a home ABAP program without access key. NOTE- not for production!

If you have an SAP system installed at your home and want to test out ABAP programs, this tip will help. It will...

show you how to modify a program without ABAP access key.

Follow the guide below on how to bypass the access key request dialog, then enjoy the freedom of create, modify any program (including standard program).


Procedure:

1. Setting the breakpoint 
SE37 Display Function Module TR_EDIT_CHECK_OBJECTS_KEYS
Search (Ctrl+F)  for string "lv_check_license"
Double click on search result of line 
"IF   lv_check_license    =    k_x.", set a breakpoint.

2. Create or modify ABAP program
Go to SE38 to create or change any ABAP program or FM, 
anyplace the debugger hits the breakpoint set above. 
Clear the field content of field lv_check_license. That's it!

Note:
If you want to avoid repeatedly clearing the field content of lv_check_license , insert the line below just before line
 "IF   lv_check_license    =    k_x." by modifying FM TR_EDIT_CHECK_OBJECTS_KEYS at point 2.

……
CALL FUNCTION 'TRINT_CHECK_LINCENSE_EXCEPTION'
           EXPORTING
                iv_pgmid             = wt_e071-pgmid
                iv_object            = wt_e071-object
                iv_obj_name          = wt_e071-obj_name
                iv_tadir_pgmid       = ls_tadir-pgmid
                iv_tadir_object      = ls_tadir-object
                iv_tadir_obj_name    = ls_tadir-obj_name
                iv_namespace         = lv_namespace
           IMPORTING
                ev_check_license     = lv_check_license
                ev_only_user_license = lv_only_user_license. 

***start of insert 
lv_check_license = ''. 
***end of insert
If   lv_check_license    =    k_x.

 
…… Warning: Change standard program at your own risk. Enjoy!
This was last published in January 2005

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close