cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to debug Custom function module in CG54.

THUSHAR
Explorer
0 Kudos

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..

 

 

Accepted Solutions (0)

Answers (2)

Answers (2)

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.

christoph_bergemann
Active Contributor
0 Kudos

Hello

what data do your try to collect via C14N_SYMBOL_STACK_PUSH? Can you show your WWI code piece in the layout?

C.B.

THUSHAR
Explorer
0 Kudos
Hello @Christoph_bergemann.
THUSHAR
Explorer
0 Kudos
I have added my explanation in answer section please check and help me on the same.