How can I Split the PDF File into different pages?

Hi,
My requirment is to split the pdf file , which is obtained by using FM "convert_otf" , into seperate PDF file for each employee data(PERNR).
Please suggest me the way to slipt the PDF file that has to be downloaded into the presentation server.

Hi,
Ok, looking at that programm didn't actually help me very much to understand what's going on, or where you have the CONVERT_OTF call... Regardless, if the suggestion by Raymond is not feasible in your scenario, the thing I'd try to do is - splitting the spool (OTF) contents before calling CONVERT_OTF into individual documents (feeding it to convert FM piecemeal)... The link to OTF format and commands documentation is here.
Again, it's difficult to give a good algorithm without knowing the exact OTF contents (could you perhaps somehow export the display of spool in RAW format and attach here?) but it would boil down to approximately following:
1) set the &first_page per PERNR = 1;
2) run through OTF lines until the &end_page for PERNR has been identified somehow (hopefully there are Begin/End Form OTF commands '//' in that spool... and they correspond to the split of spool you need...);
3) extract the otf contents from &first_page to the EP command of &end_page into separate OTF itab and, if necessary, add // (End of form) command at the end of itab;
4) call CONVERT_OTF on the table and download;
5) set the &first_page per PERNR = &end page + 1;
6) repeat from 2) until end of spool OTF data
Something like that... Depending how the Sapscript translates into OTF, you may also need to prepend a few commands found at the very beginning of the spool to each extracted invividual OTF document...
I Hope you can get the gist of what I'm suggesting... splitting OTF is definetly easier than trying to split PDF, I feel. It's not ideal solution, because - what if the structure of OTF contents you would be realying on changes for some reason..?
cheers
Janis

Similar Messages

  • How can I split a pdf file into smaller files using Acrobat XI

    How can I split a pdf file into smaller files using Acrobat XI?

    Hi laforcej
    Open the PDF In Acrobat ...
    Go to Tools -> Pages -> Extract
    Now Select the Page Number you Want to Extract and Save them

  • How can I embed a pdf file into the body of an email?

    How can I embed a pdf file into the body of an email?

    The problem is defining what it even means to “embed” a PDF file in the body of an e-mail, especially if you are dealing with a multiple page PDF file.
    E-mail is either pure text, rich text (something akin to RTF in Word), or HTML. PDF is not compatible with any of these. Thus, to embed a PDF file, something has to be converted and that means the PDF would be converted to a less graphically rich raster format. But is that what you would really want?
    I think that the MacOS and iOS e-mail clients do under some circumstances place an attached PDF file within HTML segments and by clicking on same, you get the equivalent of extracting the full PDF file, but I have no real experience with that.
    Another alternative is HTML with a proxy image with a hyperlink to an external PDF file that is invoked when you click on the hyperlink.
    Perhaps you can explain what you are really trying to accomplish and what the recipient of such an e-mail's actual experience would be?
              - Dov

  • How can I convert a pdf file into a usable xcel file

    how can I convert a pdf file into a xcel file. the pdf file file is layed out in colums, justified and separated in various types - i need to be able to set colum limits manualy,  thanks for your input/

    Without further information, I would suggest using either Acrobat or the Export PDF service.

  • How can you convert a PDF File into a picture format for uploading?

    How can you convert a PDF File into a picture format for uploading?

    If you have Acrobat 11, you'd select: File > Save As Other > Image
    and select one of the available image formats.

  • How can I import a pdf file into numbers so it will open with a click

    How can I import a pdf file into a spreadsheet so that it will open with a click?

    You can link to a webpage or an email in Numbers-- that's it.
    The best way I found to do this is to enable websharing on your machine (see this article if you are running 10.8: http://lowendmac.com/crews/12lc/web-sharing-mountain-lion.html)
    You can then place your pdf files in the folder /Users/<your user name>/Sites/<somefolder>
    Then link to this using the url  "<your machine name>.local/~<your user name>/<somefolder>/<pdf Name>
    My machines name is "Proton" (you can get this from the System Preferences > Sharing pane)
    My user name is "wayne"
    so I stored a pdf file (DM00027543.pdf) in the folder "/User/wayne/Sites/PDFTest"
    and stored the URL "http://proton.local/~wayne/PDFTest/DM00027543.pdf" in the "URL" field of the Hyperlink inspector

  • How can I make the pdf file size smaller?

    How can I make the pdf file size smaller?

    Hi vickyb,
    Reducing the file size of PDF requires Acrobat (one way is by choosing File > Save As > Reduced Size PDF). If you don't have Acrobat, you can try it free for 30 days. See www.adobe.com/products/acrobat.html for more information.
    Best,
    Sara

  • How can i reduce the pdf file size? I need to send via email, at the moment its at 10mb

    How can i reduce the pdf file size? I need to send via email, at the moment its at 10mb

    Reducing PDF file size or Optimizing PDF is the feature that is supported only by Acrobat Pro (desktop app that is not free).
    Optimizing PDFs (Acrobat Pro)
    Free Adobe Reader products (Reader XI desktop, Reader for iOS, Reader for Android, Reader Touch for Windows 8, etc) do not offer the capability.

  • How can I upload a pdf file into the application server?

    Hi,
    I have the otf data, which i have converted into pdf using the funcation module "Convert_otf". Is it possible to upload the pdf file in application server?

    Dear Srishti,
    Use OPEN DATASET in BINARY MODE.
    following link will help you.
    http://scn.sap.com/thread/1480434
    thanks,
    vidyasagar

  • How can I load a pdf-file into a byte[]?

    Hello,
    I would like to load a PDF-File into a byte-Array. How can I do this? The standard Streams shouldn't work because this can't be converted into characters. Can it? So, what does work?
    Any idea?
    Bye,
    Wolfang

    Why would someone not do:
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    InputStream is = new FileInputStream("foo.pdf");
    byte[] buf = new byte[4096];
    for(int len=-1;(len=is.read(buf))!=-1;)
            baos.write(buf,0,len);
    is.close();
    baos.flush();
    baos.close();
    buf = baos.toByteArray();  // Here are you bytes!You don't need to know the exact size, let ByteArrayOutputStream do it for you. Streams are generally for bytes, Readers/Writers generally for characters. Why exactly did you say: ``The standard Streams shouldn't work because this can't be converted into characters?''

  • How can I change a PDF file into a Word Document

    Regretfully, I am Disabled and unable to watch a Tutorial video online. So, I must use this venue to ask a simply question...Is there a way to make a PDF file into a Word Document? OR, how can I type info into a PDF file? Either answer would help me IMMENSELY!
    Thanks for your time and consideration.

    Using your Adobe ID, I believe you have one free trial on ExportPDF.
    Also, Acrobat is available as a fully functional 30-day trial.

  • How can I Export the Image file into Oracle Table

    <tt>
    Hi Folks,
    I have one requirement with me, but i can't able to find the solution for that, so kindly any one give a suggestion for my requirement.
    Let me explain my requirement in detail.. I have one table called SIGN this table contain customer signature image as well as the image of the customer. The SIGN have the following columns
    </tt>
       CREATE TABLE SIGN
      ID                    VARCHAR2(50 BYTE)            NOT NULL,   "This column containing the Customer ID"
      IMAGE_C_FLAG          CHAR(1 BYTE)                 NOT NULL,   "This column containing the whether ID belong to Signature or Photo"
      IMAGE                 BLOB,                        NOT NULL,  "This Column Containing the Image "
      ENTERED_C_BY          VARCHAR2(10 BYTE)
    The SIGN having the following values
    ID                                                 C I IMAGE
    23900033                                           Y S  (BLOB)
    23900034                                           Y S  (BLOB)
    23900035                                           Y S  (BLOB)
    23900036                                           Y S  (BLOB)
    23900042                                           Y S  (BLOB)<tt>
    I want to export those Image from Table into my machine local folder with the extension of .JPEG(C:\IMAGE)
    How can i do that in oracle... please kindly any one give the solution for this..
    This is my Oracle server version
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
    PL/SQL Release 10.1.0.2.0 - Production
    CORE 10.1.0.2.0 Production
    TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
    NLSRTL Version 10.1.0.2.0 - Production
    Thanks in Advance
    Arun
    </tt>

    Hi Arun,
    Please view the below links. Hope these helps you as there are also of similar discussion.
    Insert Picture (image) using oracle forms
    Insert Picture (image) using oracle forms
    insert image to atable in forms builder
    Re: insert image to atable in forms builder
    Thanks,
    Balaji K.

  • How can i transfer the xml files between different systems?

    hello
    the appearance of xml enable the inter-communication between differences systems.but
    i don't know how,such as following scinario:
    in the client side,we use the console that is written by using c#,if i finish
    filling the text boxes that are within the console,click the submit button,the
    console will generate a xml format document.i want the other application that
    is written by using jsp and servlet and deployed in weblogic server to receive
    the xml document,then process the document.
    but i don't know how i can transfer the xml files between the two applications
    that is written in different languages? can i use http protocol?
    thanks for any helps!

    Yes, you can use the HTTP protocol as a transport for the XML message, this
    is basically what the HTTP binding for SOAP does. The key is using a
    packaging mechanism that different applications will understand, otherwise
    only your own applications will know how to extract and process the XML
    messages you send between them.
    "zbcong" <[email protected]> wrote in message
    news:3e68318e$[email protected]..
    >
    hello
    the appearance of xml enable the inter-communication between differencessystems.but
    i don't know how,such as following scinario:
    in the client side,we use the console that is written by using c#,if ifinish
    filling the text boxes that are within the console,click the submitbutton,the
    console will generate a xml format document.i want the other applicationthat
    is written by using jsp and servlet and deployed in weblogic server toreceive
    the xml document,then process the document.
    but i don't know how i can transfer the xml files between the twoapplications
    that is written in different languages? can i use http protocol?
    thanks for any helps!

  • How can I Split the String in to different strings

    Hi All,
    I have created a table A
    If i select * from A
    Result is :
    1,2,3,4 - Line 1
    11,222,3222,422 - Line 2
    Now i what to split the data like by using substr and instr
    A , B , C , D
    1 2 3 4
    11 222 3222 422
    Can any one help me in this query,i need the full query..pls
    Regards

    excuse me..
    it's unclear ..
    Now i what to split the data like by using substr and instr
    A , B , C , D
    1 2 3 4
    11 222 3222 422
    are u trying to select same result from table A to other tables B,C,D
    what r the fields number u have,what their datatypes..?
    Regards,
    Abdetu..

  • How can I get a pdf file in a word document?

    How can I get a pdf file into a word document?

    You want to insert a PDF into a Word doc, or you want to convert it?  Either way, Adobe Reader cannot do any of these.

Maybe you are looking for

  • Why can't I get the full resolution on my Ultrawide monitor when connected to my MBP?

    I just purchased an LG Ultrawide 29" monitor to hook up to my Macbook Pro (Mid-2010 model). The full resolution should be 2560x1080. The only cable that came with the monitor was an HDMI to HDMI cable, so I used a miniDisplayport to HDMI cable that I

  • Special characters in Web Services

    I have developed a Web Service in Java using JBuilder 2005 and deployed it on BEA Weblogic 8.1 SP5. Weblogic is configured to use the ISO-8859-1 encoding as well as JBuilder. I am living in South Africa and we need to cater for special characters. A

  • Developer toolbar not displaying

    Hi, Apex: 4.2 Theme: JQuery  Mobile The Developer toolbar just does not display.  Yes I am logged on as a developer and yes the availablility status is set to 'available with edit links'.  I have tried google chrome and IE8 and another IE browser.  M

  • :: No Mamiya ZD support in Aperture 2.0?? ::

    Just tried apple's latest attempt at an imaging program and it still requires far too much power to run. If anyone from Apple reads this can you please explain why the Mamyia ZD is still not supported?? Looks like it's back to the Lightroom for me.

  • ITunes Confusion

    I store my iTunes Library on a separate disk on my Mac Pro and an external disk on my Mac mini server. iTunes no longer organizes my music into the Music sub-folder under iTunes Media. It now re-locates the artist folder into the iTunes Media folder.