Max Titov IV @ TechSplice

The most beautiful music of all is the music of what happens.
  • Home
  • About
20 Dec 2011

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.

This entry was posted on Tuesday, December 20th, 2011 at 11:56 am and is filed under SAP/ABAP. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.

« SAP: ALV grid Field Catalog [ref_table] SAPLSKBH & [source code of program " "] error
SAP: Enterprise Portal: Reset/Reload PCD object »
  • Subscribe using FeedBurner
  • Cloud Data

    abap adobe animation basic beautiful builder camera code configuration contribution design development digital engineering fix flash Flex function images interesting lesson new paypal Photography php problem problems program programmer programming review sap SAP/ABAP sdk setup soap software solution story system tables transaction transports user video

    WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.

  • My Links

    • Cooking
    • Gallery
    • Resume
  • Online Tools

    • Airline Ticket Search
    • Estimate Shipping Cost [from US]
    • Link your Blog
  • Software Engineering Blogs

    • Adam Goucher
    • Joel on Software
    • The Third Bit
    • Wide Awake Developers
  • Categories

    • Everyday stuff
    • Flex
    • Photography
    • SAP/ABAP
    • Short Stories
    • Software Engineering
    • Web Development
  • Gallery

    Roy Tanck's Flickr Widget requires Flash Player 9 or better.

Max Titov IV @ TechSplice is proudly powered by WordPress
Design & code by Jonk
Entries (RSS) and Comments (RSS).