Extend the IMG structure
Via the buttons at the top, you can now add new structure nodes and activities to the IMG structure. You’ll first want to add a structure node to group your extension. In my example, I’ve extended the “Enterprise Structure” node with my structure node.
Once that is done, mark it and click the “Insert activity one level lower” button to add an executable activity to it.
This will take you to the IMG object attribute screen you already know from my last post, only this time you can define your IMG object yourself. Enter an ID and a name; the name will show up in the IMG tree in SPRO so make sure it is a sensible description of the customizing activity.
Also, you should enter a document key and create some documentation for your IMG node, this will appear if the user clicks the documentation icon in the IMG.
Almost done! Now change to the tab “Maint. objects” and enter another ID/name combination for the maintenance object. Add your table to the table control and make sure you select “S” as the object type. If you had another type of object, like a transaction or a view cluster with a maintenance dialog, you could of course add it here accordingly. Set the transaction to “SM30” and save your IMG object.
Be careful, there’s one more step to do! Return to the “Change IMG” structure view by pressing F3 or clicking the green arrow at the top. Once you’re there, you need to save again, otherwise your created object will not be added to the IMG.
That’s it! Once your changes are saved, change to the SPRO transaction to see the effects:
This is what the final object looks like. We’ve added a structure node and an activity node with a table maintenance dialog behind it. Now, you’ll be able to use this just like you use the standard IMG objects.