‎2010 Nov 18 8:27 AM
Hi All,
I was trying to debug a program SAPMZW01. But i am unable to set a breakpoint because it gives the info message - 'Main Program Must Be Generated'.
There was another query related to this in sdn but it relates to some other module and i am not able to fund the relavent note.
I am new to ABAP .
Kindly help.
‎2010 Nov 18 8:32 AM
Hi,
<li>I think you need to activate all the includes in the program before you set break point.
<li>Goto SE80->Right click on SAPMZW01->Activate - activate all selected includes.
Regards,
Venkat.O
‎2010 Nov 18 9:20 AM
Hi ESHA,
Some times it stucks with code activation so ones do it forcefully bypassing the warning for both main program and called program .
it will resolve your problem.
Regards,
Gaurav Sood
‎2019 Oct 23 10:37 AM
I also faced the same issue, where I wasn't able to set breakpoint and it said "Main Program XYZ Must Be Generated"
I later figured out that my refined method had a syntax error.
Once the error was resolved I was able to set the breakpoint.
Please check your code once and retry.
Thanks,
Saira
‎2021 Aug 16 5:36 AM
I also faced same issue. It was due to syntax errors in the program !!!
‎2025 Jul 01 12:46 PM
For me this was due to missing method implementation in quality system. Please check if all required TR's moved.