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

How to debug the specified program in processing routines

Former Member
0 Likes
6,531

Hello everyone,

I am willing to learn how I can debug my program that I have specified as a processing routine in the SD Output Types.

I have an output type in the customizing activity SD->Basic Functions->Output Control->Output Determination->Output Determination Using Condition Technique->Maintain Output Determination for Billing Documents->Maintain Output Types.

Here I have specified my processing routine. The transmission medium is selected as Special Function.

After creating a billing document, my program does run. However, I am willing to debug my program and placing a breakpoint in it doesn't work.

Regards,

Guven.

1 ACCEPTED SOLUTION
Read only

Former Member
2,142

well thats probably because your coding runs in update task.

Try switching on update task debugging (type /h in ok-code box, press enter, now use the menu, debugging -> debugging in update task.), and see if it stops then.

4 REPLIES 4
Read only

Former Member
2,143

well thats probably because your coding runs in update task.

Try switching on update task debugging (type /h in ok-code box, press enter, now use the menu, debugging -> debugging in update task.), and see if it stops then.

Read only

naimesh_patel
Active Contributor
0 Likes
2,142

You must be trying to generate the output with Dispatch time 4 - Send Immediatly (when saving the application). This way system processes the output in the background task so, it doesn't stop to your break point in your routine.

Run the report RSNAST00 to generate the Output.

Set the break point in your Output Routine.

You can set the dispatch time as 1 in the Billing document > Header > Message .. Further data for a new message.

Than run the RSNAST00 with

Output application V3

Object Key - Billing document (with leading zero)

Output type - your output type

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
2,142

Hi,

You can set the dispatch time as 1 instead of 4 in the Billing document > Header > Message .. Further data for a new message.

Than run the RSNAST00 (SE38)

Output application V3

Object Key - Billing document with leading zeros.

Output type - your output type

/h - debugging.

F8.

Goto line 936 and put a Breakpoint.

and from here continue Debugging. F5

Read only

0 Likes
2,142

Hello everyone,

Thanks a lot for all those quick and helpful answers! I really appreciate it.

The first reply solved my problem right away. I was able to debug my program by changing the debugger settings to include Update Task Debugging.

Due to limited time, I wasn't able to try out the suggestions in the other replies. But, I am pretty sure that they would work.

Thanks again everyone,

Guven.