Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to debug Z-Prgram defined under Business Object

0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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.