Skip to main content

SAP: Add transaction code to SAP Customizing (SPRO)

Submitted by Stefan Barsuhn on

I'm a friend of keeping my SAP systems tidy and avoiding the need of "expert knowledge" on how certain system functionality works, especially which transactions or tables are involved.

An ideal way of killing those 3 birds with 1 stone is the extension of the IMG (or SAP Customizing or IMG).

It allows you to:

  • group together all transaction codes
  • and customizing tables
  • and documentation

belonging to a functionality.

It's fairly easily done using transaction S_IMG_EXTENSION and there's a lot of documentation on how to do it out there.

A quick re-cap:

  1. Select IMG Structure "SAP Customizing Implementation Guide" (+ save it as a favorite for easier access in the future)
  2. Choose your Enhancement ID (if you don't have one, use F4 and then New to create it)
  3. Click "Enhance Structure"

I always do it the following way:

  1. For all IDs (of IMG activity, of Maintenance Object and of Document) I choose the customizing table or transaction I want to add.
  2. For all name fields I choose the text that should appear on the IMG node

Now: If you want to link the IMG activity to a table, all you need to do is:

  1. Create a Maintenance view for the table
  2. Add it in the IMG Activity under Maintenance object => Customizing Object. (For Transaction you specify SM30 and for  Type S)

The tricky part is adding transactions, because you'll get the error "Specify the missing object names and object types" if you simply enter type T and your transaction code under Transaction.

The solution was, thanks to this site, to specify Type as D (Dummy) and Customizing Object as "IMGDUMMY".

And that's all there's to it!

Tags