12-12-2007 9:21 PM
Dear Members,
I have been trying to debug one Z-program which was defined under Business object(ZBUS2032OS) [ the method of business object is called from VA02(sales order Change], but I couldn't get the proper way to go into debug mode.
I tried by putting break points in the z-program and in the code of business object(where z-program is being called by SUBMIT statement). But I failed to go into debug mode of the program.
Could any one please share your experience in this case?
Thanks,
Srini
12-12-2007 9:25 PM
Hi Srinivas,
In background, its not possible to trigger the break-point. You can write a 'WRITE' statement in that program so that same will be displayed in the job log so that you can confirm that it is triggering.
Please let me know if you need any more information.
Regards
DJ
12-13-2007 8:05 PM
Hello DJ,
Thank you for your response.
I have checked the process (creating sub orders in VA02) by giving parent sales order, the program had been triggerd(Z-program) in back ground and created sub orders. But I did not get the debug mode(break point was set).
I want to know what is link between Business object type(where program was defined) and Transaction VA02.
Thanks,
Vasu
12-13-2007 4:22 AM
Hi Srinivas,
For debugging the business object we hav one option -> settigs in tcode swo1
u can put the break point in the business object and when u call it in zprogram set the external break point there..I am not sure abt this buti guess it works in this way..hope it works.
Regards,
Sana.