破解SAP4.6 and 4.7

guyuexue發表於2007-11-21
破解4.7x200的ACCESS KEY了(IDES)

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.

破解4.6c

1.找到了那個螢幕SAPLSKEY:1000
2.SAPLSKEY 29 設斷點
3.se38->change LSKEYU03 遭到阻截,繞過阻礙
4.為了完全自由的修改sap源程式
用程式用上述方式建立程式:
REPORT ZMATCH_TEST1.
update PROGDIR set edtx = ''
where name = 'LSKEYU03'
and state = 'A'.
if sy-subrc = 0.
write: 'ok'.
endif.

5.為了完全自由的修改sap源程式
再次用程式用上述方式建立程式:
REPORT ZMATCH_TEST2.
update PROGDIR set edtx = ''
where name = 'LSKEYU08'
and state = 'A'.
if sy-subrc = 0.
write: 'ok'.
endif.

在修改lskeyu08 和 lskeyu03時候 ,會遇到阻截
6.設斷點 SAPLSKEY 11 繞開
7.設斷點 SAPLSKEY 73 繞開
8.設斷點 SAPLSKEY 87 繞開
9.將兩個程式段完全註釋改稱:
search '555' for '5'.
sy-subrc = 0.

----------------------------------------------------
第二種方法
1,SE38,display LSKEYF00,找到form:JUMP_THE_WALL,
然後設定段點在 CALL 'GET_DEVELOPER_KEY' ID 'NAME' FIELD 'ABCDEFGHIJKL'
ID 'CUSTID' FIELD '1234567890'
ID 'KEY' FIELD DUMMY_KEY.

2,SE38,change LSKEYF00,這時回停在斷點上,ok,把SY-SUBRC修改為0,F8繼續執行,
哈!進去了!
然後在 CALL 'GET_DEVELOPER_KEY' ID 'NAME' FIELD 'ABCDEFGHIJKL'
ID 'CUSTID' FIELD '1234567890'
ID 'KEY' FIELD DUMMY_KEY.
的後面加上這段話
IF sy-uname = 'abaper'. 注意:sy-uname 為自己的user id
sy-subrc = '0'.
ENDIF.
3,save,check,active,這期間會有好幾次停在在第1步的時候設定的斷點上,
記得把SY-SUBRC都改為0

我的步驟:
1 建立了一個使用者 賦予所有 local role的許可權(感覺登陸非常滿---)
2 SE38,display LSKEYF00,找到form:JUMP_THE_WALL,
然後設定段點在 CALL 'GET_DEVELOPER_KEY' ID 'NAME' FIELD 'ABCDEFGHIJKL'
ID 'CUSTID' FIELD '1234567890'
ID 'KEY' FIELD DUMMY_KEY.
3 new create session , se38 , change LSKEYF00
但這個時候顯示 you are not authorised to make changes (authorisation object
S_DEVELOPER)





modify the database directly.

actually you have to use

UPDATE PROGDIR SET EDTX = ' '

instead of
UPDATE PROGDIR SET EDTX = ''[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/503782/viewspace-983139/,如需轉載,請註明出處,否則將追究法律責任。

相關文章