0% found this document useful (0 votes)
274 views3 pages

Debugging A Function Module Macro in SAP APO

To debug a function module used in SAP APO macros, place a breakpoint on the desired macro step using the macro workbench transaction. Activate the macro and place an external breakpoint in the function module. Load the planning book to trigger the macro debug and navigate to the function module at the breakpoint.

Uploaded by

RP RED
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
Download as doc, pdf, or txt
0% found this document useful (0 votes)
274 views3 pages

Debugging A Function Module Macro in SAP APO

To debug a function module used in SAP APO macros, place a breakpoint on the desired macro step using the macro workbench transaction. Activate the macro and place an external breakpoint in the function module. Load the planning book to trigger the macro debug and navigate to the function module at the breakpoint.

Uploaded by

RP RED
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1/ 3

Debugging a macro function module in SAP APO

Function module used in APO Macros can be debugged as below.

Go to Macro workbench using Transaction /SAPAPO/ADVM

Double click on your required planning book and data view to work with the macros.

Drag the required macros which are available at the left hand side on to the Macro book
view.

Select the step where you need to debug your calculation.

Right click on any step and select BREAKPOINT ON

Page 1 of 3
Once the break point is placed, you can see the STOP statement which is highlighted.
Additionally an external breakpoint has to be placed in the function module if there is
any.

Activate the macro as it turns inactive when a breakpoint is turned ON/OFF.

Now go to your function module and place an external break point.

Load the planning book with the selection criteria from /SAPAPO/SDP94. You should
see a macro debug on as below.

Page 2 of 3
Once it is loaded it navigates to the function module.

Page 3 of 3

You might also like