cancel
Showing results for 
Search instead for 
Did you mean: 

How to debug macro and CIF in sap apo

Former Member
0 Kudos

Hi Apo Gurus,

How to debug macro and cif.

pl. share with screen so that it is easy to understand.

Thanks

Babasys

Accepted Solutions (0)

Answers (2)

Answers (2)

thanga_prakash
Active Contributor
0 Kudos

To debug a user exit macro, go to SMOD enhancement "APODM005" and put a break point inside the include and run the macro interactively from planning book.

To debug a BADI macro go to SE19 --> /SAPAPO/ADVX --> Display --> then place your break point in the implemented badi and run the macro interactively from planning book.

To debug CIF queues,

1) To block the queues you can set up a debugging profile in transaction /SAPAPO/C4 --> then go to SMQ2 --> Double click on ther CIF queue --> Double click again which displays queue name to be processed --> then click on debug button in menu bar.

2) Deregister the queues by starting with CF* in transaction SMQR --> hen go to SMQ2 --> Double click on ther CIF queue --> Double click again which displays queue name to be processed --> then click on debug button in menu bar.

Regards,

TP

marianoc
Active Contributor
0 Kudos

This message was moderated.