Skip to Content
author's profile photo Former Member
Former Member

How to split spools into multiple pages and download them in local directory

Hi Gurus,

I have a requirement where I am creating an spool of 100 pages of invoice details and I need to download them in pdf format into separate pages on a local directory.

I am creating invoices with sap scripts.

Has anyone worked on such kind of requirement.

Waiting for a positive response.

Many Thanks,

Thanks & Regards,

Nikhil

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2012 at 11:26 AM

    Hi,

    The most easiest way would be to create separate spools for Invoice.

    IF that is not an option, then you can go ahead and look at the OTF format and figure out where each page actually begins and ends.

    If you look at the OTF table, it has the components TDPRINTCOM and TDPRINTPAR.

    OP - Open Page and EP - End of page.

    Split the internal table at these and you will get the OTF for a page.

    Convert that to PDF and do the same process all over again for the rest of the OTF content.

    Thanks,

    Shambu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2012 at 11:04 AM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.