This website has been archived, it is working in read-only mode.

This website has been archived, it is working in read-only mode.

Hello All,

Does anyone know how to debug a BADI macro in APO ? I have a BADI macro and got some piece of code written in it. I would like to debug this to know what is happening while executing the Planning functions.

Appreciate your help.

Thanks Babu Kilari

asked 29 Apr '13, 09:12

babukilari's gravatar image

accept rate: 0%

Hi Babu, some time ago I wrote some notes on debugging macros. Maybe it helps.

Update: I suppose you have your code in some implementation of badi /sapapo/adv. In that case it should be enough to put a break point in the badi and execute the macro in the planning book.

permanent link

answered 29 Apr '13, 10:05

pedrolima's gravatar image

pedrolima ♦♦
accept rate: 32%

edited 01 May '13, 13:44

Hi Pedro,

I saw that post of yours before posting my question here. However, I am looking for the solution to debug a BADI macro. The post that you're referring to explains how a normal macro can be debugged. Appreciate if you can help me with the steps to debug a normal BADI macro. Setting a break-point in the implementation of the BADI is not helping me reach the step while executing the macro in the planning book.

Thank you Babu Kilari

(01 May '13, 23:46) babukilari

I just tried and if I set a break-point in the badi then execute the macro it stops there. Maybe you should check if the badi is active and also put a break point in the very start of the code (the badi is probably used for more than one macro). Hope it helps.

(02 May '13, 05:01) pedrolima ♦♦

JUST IN: Mario Lopez to Return as Host of FOX's X FACTOR! Actor and television personality Mario Lopez will return as the host of THE X FACTOR. He joins judges Simon Cowell and Demi Lovato on the hit singing competition series, which launches its third season this fall on FOX. Read more:

permanent link

answered 02 May '13, 04:29

nageya's gravatar image

accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 29 Apr '13, 09:12

question was seen: 12,158 times

last updated: 02 May '13, 05:01