ACCESS KEY
1. Disable ERITOR_lock status of program ‘LSKEYF00’
Method :
Create a program and run the following code :
UPDATE PROGDIR SET EDTX = ''
WHERE NAME = 'LSKEYF00'
AND STATE = 'A'.
2. Set a Break-Point in program ‘LSKEYU05’
Method :
A. In se38 , Input Program name with ‘LSKEYU05’
And press ‘Display’ button to display the sourc code .
B. Set Break-Point on ‘CASE SY-SUBRC. ‘ sentence
3. Before Modify program ‘LSKEYF00’
Method :
A. Open anther sap windows with T.code - se38 , and input program name
With ‘LSKEYF00’ .
B. Press ‘Change’ button.
C. Program will stop at Break-point ; change sy-subrc to zero ( Sy-subrc = 0 )
And press ‘F8’ to continue .
( Maybe You will change the sy-subrc value twice )
4. Modify program ‘LSKEYF00’
Method :
Atfer setp 3 , you will get into change mode with se38 .
Find the subroutine ‘JUMP_TEMP_Wall’ ;
Insert the following code behind ‘ CALL 'GET_DEVELOPER_KEY'’ :
If sy-uname = 'SAP01'. “ The user u created without access key
sy-subrc = 0 .
Endif.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/588201/viewspace-929655/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/588201/viewspace-929655/