SAP: IDES ECC6 [EHP5] – disable devaccess check
The proper solution is to register for a Developer access key from SAP, but in cases when you can’t do that there’s always a work-around.
I’ve set up a personal IDES system on my home computer and ran in to this problem. Debugging the code I’ve identified that the function that performs the checks is DEVELOPER_KEY_CHECK.
The FM is very small, looks like this:
CALL ’CHECK_DEVELOPER_KEY’ ID ’KEY’ FIELD DEVELOPKEY.
CASE SY-SUBRC.
WHEN 1.
RAISE PARAMETERS_WRONG.
WHEN 2.
RAISE WRONG_KEY.
ENDCASE.
The hack/crack is to change the code to overwrite the OS command that returns 1 or 2.
Modification of the source SAP code is also tricky, you need to log in using user SAP, go to the FM DEVELOPER_KEY_CHECK – click change, using the debugger make sure the change can be allowed [update the sy-subrc to 0 when applicable] and add something like COMMIT WORK statement after the OS call which will overwrite the SY-SUBRC value to 0.