/h passby access key
If you like to modify SAP data and you don't have an access/developer key do one of the following:1) To create a rogram without developer key:
a) Go to SE38 and select the program name you want to create (ZTESTKEY) and hit enter.
b) Switch to debug mode by entering "/h" on the command box.
c) Hit Create button (You will enter into debug mode)
d) Press F6 until you get the developer key dialog box.
e) Now insert a dummy key (99999999999999999999) in the box and hit continue.
f) Hit F5 two times.
g) You will see somethig liek this on the screen CASE OK_CODE.
WHEN 'NEXT'.
LEN = STRLEN( DEVACCESS-ACCESSKEY ).
IF LEN EQ 20.
PERFORM CHECK_KEY USING DEVACCESS-ACCESSKEY <- THIS IS OUR MOVE
h) Double Click near "IF SY-SUBRC NE 0 OR LEN NE 20." to insert a brek-point.
i) Double Click on SY-SUBRC to display its contents (Will Show a "0")
j) Hit F8 (Now SY-SUBRC will show a "1" or something else)
k) Change the contents of SY-SUBRC back to "0"
l) Hit F6 two times, now you will see something like this on the screen:
IF DISP EQ SPACE.
PERFORM CHECK_KEY USING DEVACCESS-ACCESSKEY. <- THIS IS OUR MOVE
IF SY-SUBRC NE 0.
m) Now insert a break-point near to "IF SY-SUBRC NE 0" and hit F8
n) Change SY-SUBRC back to "0"
o) Hit F8 and DONE !!!! You will se the "Program Attributes" dialog box.
Enjoy !!!!
(This is provided as-is use it at your own risk !)
Regards,
Federico

<< Home