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

Dynamic documents print problem

Former Member
0 Likes
652

Hi,

I am running a report that uses the method PRINT_DOCUMENT of the class CL_DD_DOCUMENT to print an HTML document while contains 18 pages. The code that I am using is indicated below:

CALL METHOD document->merge_document.

CALL METHOD document->print_document

EXPORTING

reuse_control = c_x

EXCEPTIONS

html_print_error = 1.

My issue is this. When I run the report in debug mode, I am able to print all 18 pages. However, if I am not in debug mode, then I sometimes get 5 pages, sometimes 7 etc but I do not get all 18 pages. Is this a memory issue? Is there a work around for this?

Please advise.

Regards,

Tessy

6 REPLIES 6
Read only

Former Member
0 Likes
612

Tessy - check out SAP note 859726.

If REUSE_CONTROL is set correctly (and it looks like it is), you may have to deactivate hyper threading in the PC BIOS.

Rob

Message was edited by:

Rob Burbank

Read only

0 Likes
612

Hi Rob,

Thanks for your reply. I went through SAP note 859726 and this is exactly the issue I am facing. I just have another question. Do I deactivate hyper-threading option by pressing <F2> while re-starting my PC?

Regards,

Tessy

Read only

0 Likes
612

I would let the network people handle this. I have no idea how to do it.

Rob

Read only

0 Likes
612

Another thing you could do would be to try this on a different PC.

Rob

Read only

0 Likes
612

Thanks Rob for your reply. I will try this on a different PC / speak with the networking folks.

Read only

0 Likes
612

Pleae close the post if your question is answered.

Rob