Skip to main content

All articles

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.

Tags

SAP: If Where-used fails or you want to find a message - use ABAP Code Scanner

Submitted by Stefan Barsuhn on

In my previous post I complained about people not using the message statement to output error messages. But sometimes Where-used does indeed fail because it is not up-to-date.

A little known transaction (at least I hardly read about it) comes to help: CODE_SCANNER.

It allows you to input a package and a search string and will find you all lines of code that contain that string.

Tags

SAP: Best practice for SAP message output in non-SAP-GUI contexts

Submitted by Stefan Barsuhn on

Imagine you see an error message in WebUI or in some other interface. You manage to identify the message class and number, go to SE91, do a Where-used and find - nothing. The reason is that either Where-used was not updated correctly or (most likely) somebody did not both to use the message command to output the message but just hardcoded the message ID, number and type.

Tags