SAP R/3 форум ABAP консультантов
Russian ABAP Developer's Club

Home - FAQ - Search - Memberlist - Usergroups - Profile - Log in to check your private messages - Register - Log in - English
Blogs - Weblogs News

Bypass the access key request dialog



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> Security and Monitoring
View previous topic :: View next topic  
Author Message
admin
Администратор
Администратор



Joined: 01 Sep 2007
Posts: 1639

PostPosted: Mon Dec 03, 2007 4:45 pm    Post subject: Bypass the access key request dialog Reply with quote

Test home ABAP program
Peng Siong Lim

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!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> Security and Monitoring All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG.
Every effort is made to ensure content integrity. Use information on this site at your own risk.