cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to debug Custom function module in CG54.

THUSHAR
Explorer
0 Kudos
353

Hello Experts,

I am creating report from specification and the released report is available in CG54 transaction as you can see in the below image.

THUSHAR_0-1712895841561.png

I have used few standard function module and custom function module inside the report and in both function module I have placed Session and external breakpoints.

When I click on display document on front end pc that is marked in green the standard FM C14N_SYMBOL_STACK_PUSH gets triggered, but my custom FM will not be triggered.

 

Please can you help me understand how to trigger my CUSTOM FM when using CG54 to generate report..

 

 

christoph_bergemann
Active Contributor
0 Kudos

Hello.. without more details how you have set up the report symbol etc. we can not help; but why do you push spec number on the "stack" and then try to read this number?

Which logic do you try to get? What data do you try to read etc.

C.B.

View Entire Topic
THUSHAR
Explorer
0 Kudos

THUSHAR_0-1713455829809.png

In the above WWI code.

I am pushing the specification number using stack push.

Then in my custom FM I am reading the stack top to get back the spec number.

I want to debug my custom FM to check some part of logic, since it is not giving the expected result.

I have add  external and session breakpoint in STACK PUSH FM

I have also add break point statement and external and session breakpoint in my custom FM.

When I click on the display document as explained earlier debugger gets triggered for the stack push FM but my custom FM is not being triggered.