‎2014 Oct 06 7:16 PM
Hello,
I want to debug the Initialization program in my smartform, I got the user: probau, and I have added a line to debug: BREAK PROBAU. Please see image below:
This smartforms is used in MIGO Transaction:
But when I do clic in POSTED button, only display a correct message but never run the debug mode:
Anyone knows how can I solved this?
‎2014 Oct 07 12:27 AM
Hello Guys, I have solved my problem, MIGO Transaction can't debug the pinting directly, you can debug your smarform of MIGO in MB90 transaction.
In ouput type you need pass your ouput type, in my case was: WE01 and Processing Mode:2
and you need pass material document number and Material Doc year after this you can see your documents:
Select your document and press run button, but make sure you have a breakpoint in the initialization code of smartform previously
‎2014 Oct 06 8:28 PM
Dear Luis,
Please try by switching on Update Debugging.
BR,
Aashrith.
‎2014 Oct 06 10:42 PM
Aashrith HG wrote:
Dear Luis,
Please try by switching on Update Debugging.
BR,
Aashrith.
Sorry, but how can I do this??
‎2014 Oct 06 8:29 PM
Hello,
Please check if the correct output type is attached to both the program name and smartform in NACE.
Regards,
Nagaraj
‎2014 Oct 06 10:41 PM
‎2014 Oct 06 8:30 PM
Hi,
How do you call the smartform? i.e.,Where is the smartform FM called. Using any BADI?
Pls put a break point in the generated FM of the smartform i.e., call function 'smartform fm' and it should go there from that point.
I suppose it doesn't go to the point where your smartform is called from.
Regards,
K.S
‎2014 Oct 06 10:14 PM
Hello,
If I run my smartforms from SMARTFROMS TCode this does work well, because the Debug Mode run:
But I need, run the debug mode when I call my smartfrom from MIGO transaction.
‎2014 Oct 06 11:41 PM
Try setting an external breakpoint in the generated FM of the Smartform.
‎2014 Oct 07 12:27 AM
Hello Guys, I have solved my problem, MIGO Transaction can't debug the pinting directly, you can debug your smarform of MIGO in MB90 transaction.
In ouput type you need pass your ouput type, in my case was: WE01 and Processing Mode:2
and you need pass material document number and Material Doc year after this you can see your documents:
Select your document and press run button, but make sure you have a breakpoint in the initialization code of smartform previously