‎2007 Jan 18 6:20 PM
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
‎2007 Jan 18 6:33 PM
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
‎2007 Jan 18 9:55 PM
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
‎2007 Jan 18 9:57 PM
I would let the network people handle this. I have no idea how to do it.
Rob
‎2007 Jan 18 9:58 PM
Another thing you could do would be to try this on a different PC.
Rob
‎2007 Jan 18 10:01 PM
Thanks Rob for your reply. I will try this on a different PC / speak with the networking folks.
‎2007 Jan 18 10:19 PM