cancel
Showing results for 
Search instead for 
Did you mean: 

Printing in WAD Template

0 Kudos

Hi,

I have used the SAP's how to Document "How to Enhance Web Printing"

In the "DISPLAY" on the screen I have an option to create separate blocks

Eg 1 For Filter,

Eg 2 For Variables

Eg 3 for Text Elements like AUTHOR,REPTXTLG

My problem is when I give a print command - the textelements and variables block are merged together and makes it more difficult to understand. I want it to look the same as in the "DISAPLAY" onthe screen i.e. separate block for each of them

I have looked at the Z_PRINT_HELP_SERVICE code to see if there is a way I can sepearte common text elements and variables and I am not able to do it.

Is there a way I can debug this code ? I have tried RSRT2- used the default template as my custom template and output format to HTML, when I get the page and if I do CMC and select the Print option, it popups with a browser window and the errors as "Page cannot be displayed"

regards

Poonam

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

you can always debug, if you set an HTTP breakpoint.

In the ABAP Editor choose Utilities -> Settings

Tabstrip ABAP Editor ->Debugging

Set External debugging to active.

Now each time you set a breakpoint you will be asked, whether you want to set a session breakpoínt or HTTP breakpoint. Set a HTTP breakpoint. Close all browser sessions. Start your web app in a new browser again, and you should be able to debug.

Heike