Application Development and Automation 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: 
Read only

Debugging the program that will get triggered for a particular output type

Former Member
0 Likes
3,619

Hi all,

I have one program,which will get triggered when a Sales order of type 'VOR' is created.Whenever 'VOR' order is created it will trigger the 'ZALT' output type.And this output type 'ZALT'has been configured to my program.This output type configuration has been set up by my functional consultant.

My problem is I created Sales order of type 'VOR'.But I want to debug my program,which has to be triggered because of that 'VOR' sales order type,which in turn triggers 'ZALT' output type and in turn triggers my program.

My problem is I created Sales order of type 'VOR' by keeping debugging point in my program.But it is not going to my program and simply displaying sales order has been saved.

So is the outtype has been configured properly?.Do I need to go to my functional consultant?Could anyone explain in this regard?

Rgds,

Balaji

Hi all,

I have one program,which will get triggered when a Sales order of type 'VOR' is created.Whenever 'VOR' order is created it will trigger the 'ZALT' output type.And this output type 'ZALT'has been configured to my program.This output type configuration has been set up by my functional consultant.

My problem is I created Sales order of type 'VOR'.But I want to debug my program,which has to be triggered because of that 'VOR' sales order type,which in turn triggers 'ZALT' output type and in turn triggers my program.

My problem is I created Sales order of type 'VOR' by keeping debugging point in my program.But it is not going to my program and simply displaying sales order has been saved.

So is the outtype has been configured properly?.Do I need to go to my functional consultant?Could anyone explain in this regard?

Rgds,

Balaji

3 REPLIES 3
Read only

Former Member
0 Likes
1,770

You can set a breakpoint to your program, and before saving your order switch into debug and enable update debugging (settings tab).

Read only

Former Member
0 Likes
1,770

Hi,

Check the dispatch time in the output, if it is send immediately saving in the application..

Basically the outputs will be done in an update task..Set the update debugging and then debug the Update function module that is related to output determination..

Set a break-point in the function module RV_MESSAGES_UPDATE and in that RV_MESSAGE_UPDATE will be called in update task..

Set the update debugging and check the FM RV_MESSAGE_UPDATE where you custom program will be called..

Thanks

Naren

Read only

Former Member
0 Likes
1,770

Hi Balaji,

If possible, try to repeat the output in the output type messages screen of VA02 and change its dipatch time to '1'(Through further data). Now put the break point in the program assigned to output tye 'ZALT'(You can see this in the TNAPR table) and run the program RSNAST00 through SE38. The program will stop at the break point.

If its not possible to repeat the output and if you want to check it the first time the output type is processed, ask the functional consultant to change the dispatch time in the condition record that is being retrieved for proposing the output type to '1'. Now run RSNAST00. The program will stop at the breakpoint.

Thanks,

Vinay