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 SAP script which generate the Spool request

ABAPER_P
Participant
0 Likes
3,096

Hello,

Debugging the SAP script which generate the Spool request

I am printing the Picking list of deliver document for the particular output type which has SAP script.

It generates the spool request in pdf format.

Which issue input it directly generate the spool but when I activate the debugger for the SAP script it won’t stop. How to debug the SAP script in this case. Which generate the spool.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,977

debugger only starts when processing formulars in foreground.

you can use prgoramm RSNAST00 for foreground printing.

in debugger-Settings  enable sap-script debugging to enter the script statements

LG

Stefan Seeburger

4 REPLIES 4
Read only

Former Member
0 Likes
1,978

debugger only starts when processing formulars in foreground.

you can use prgoramm RSNAST00 for foreground printing.

in debugger-Settings  enable sap-script debugging to enter the script statements

LG

Stefan Seeburger

Read only

0 Likes
1,977

Thanks Lot for your responce.

It works fine. one more question when  i completely execute this i can debug the script and but i am not able to see the spool request in SP01.

But that particular output type is completely processed. Why Spool is Not generated ?

Read only

0 Likes
1,977

Hi,

spool should get generated normaly. what can be the case is that when you use same print settings, the output could get added to an old "open" spool as last page.

hope it helps.

regards

Stefan Seeburger

Read only

Former Member
0 Likes
1,977

If you meant to say that the debugger is not stopping at your driver program/script despite setting an external break-point in your driver program/script, please check whether debugger profile settings has 'Update Debugging' checked.

Regards,

Hashim