MAN Production Planning (PP), Manufacturing

How to debug the programs triggered by RFC to be run in background

While debugging a program, you may have the situation below. A function module like MRP_KD_AUFTRAG_RFC in this example is triggered through RFC to be run in background, so it is impossible to debug into the function module by clicking F5 key (Single step) to check how the function module runs.

MAN Production Planning (PP), Manufacturing

This is so-called transactional RFC and cannot debug through normal way. in this case, please go to the debugger menu below.

MAN Production Planning (PP), Manufacturing

Select the filed below then continue by clicking F8 key to complete the transaction.

MAN Production Planning (PP), Manufacturing

Then, go to transaction SM58 and run for your user and current date. The function module planned in background is stopped in that.

MAN Production Planning (PP), Manufacturing

Please go to menu below, which makes you debug the function module.

MAN Production Planning (PP), Manufacturing

Leave a Reply

Your email address will not be published. Required fields are marked *