The definition of an MDR program is set up via the transaction /BTR/MDR.
Simply enter the program name and press the create button for new programs or change button for an existing program with the sub-object as program definition.
The definition is now displayed as below.
The main program is already populated from the first screen, a transformation program can now be configured it required.
The “Interval Object” object is also populated here, refer here for more information on intervals.
The program definition also allows the user to configure which application log object and sub-object any messages are written to that are called during the execution of the program. The default object and sub-object are /BTR/MDR/DEFAULT.
Furthermore, the transaction /BTR/MDR allows the developer to maintain the Main Program and Transformation Program directly instead of using the standard SAP transaction SE38, with the code buttons at the bottom linking directly to the right subroutines.