Archiving pdf-document in external store ?

hi there,
i have a projekt, where i have to archive pdf-files on a external archive (ixos). i use the FM 'ARCHIV_CREATE_SYNCHRON_META' to archive the pdf-files.
the big problem is the following: the name of the original pdf-file is not saved. there is only the document-id, which i got back from the archive-server. but in emergency-cases i have to restore all the pdf-files from the archive-server with the ORIGINAL pdf-name. this is important because the name is kind of a 'key' for finding documents in other, non-sap-systems !
any ideas for that ?
regards, Martin

Hi Martin,
If you are getting back the document id then you can store that in custom table where you can store PDF file name and the object id. You will have the name of PDF when you use the FM to archive it.
So whenever you have to get back the file you can refer to the custom table to get the name.
Best Regards,
Chintamani

Similar Messages

  • Archiving pdf document with a background job

    Hi all,
    I wrote an home made application to manage links between SAP and external systems. In this application I've a document number which corresponds to a pdf document I received on a windows file server.
    I'm receiving hundreds of pdf documents per day from these external systems and I want to archive them in IXOS from an ABAP program.
    I wrote a program to do this using these standard functions :
    ARCHIV_CONNECTDEFINITION_GET to get the archive parameters
    ALINK_DOCUMENTS_CREATE_DIALOG to upload and archive the PDF file
    ARCHIV_CONNECTION_INSERT to create the link in SAP
    this works perfectly.... in forground.
    The function ALINK_DOCUMENTS_CREATE_DIALOG does not work in background.
    I absolutly need to create an abap program to run it as a job  to do this archiving, because I get about 2000 - 3000 documents per day
    Does somebody have a solution for this ?
    I looked around in this forum and in SAP but I didn' find a solution at the moment
    Thank you

    Hi,
    As you experienced all DIALOG function modules will not work in Batch because the is no connection with a frontend (PC).
    You have to get your PDF on a server so you can process them in Batch.
    Maybe you can than use the FM: ALINK_DOCUMENTS_CREATE_FILE
    Success,
    Rob

  • Problem with sending and archiving pdf document

    Hello experts,
    I have created the following SAP PI scenario:
    First a pdf document will come from our partner to a specified directory. The ftp adapter sender get this file and also set the filename in the adapter specific messages. Then a udf mapping starts to read the filename of the pdf document, because the filename includes a ordernr for a sales order in sap. So the filename will be mapped to an easy rfc structur, afterwards the RFC Adapter will be called. After this I have to archive and delete the pdf document in the origin directory. But this will not work. I tried following steps.
    After calling the rfc adapter another receiver determination will be called. That means a ftp adapter receiver is called that gets the filename and copies the pdf document to another directory. This works, but if I try to open the pdf document then it does not work, because the pdf document includes the structure of the rfc function module, filled with the filename param.
    Furthermore the archive function of the ftp adapter sender does not work. Everything is correct set, but the pdf document will not copy to the right folder. Before I create a Java adapter module for the file adapter sender, that copies and deletes the file in the origin folder,  another solution would be better.
    Kind regards,
    Erkan

    Ideally the processing mode Archive should work for your case.
    This works, but if I try to open the pdf document then it does not work, because the pdf document includes the structure of the rfc function module, filled with the filename param.
    Why are you using the RFC structure  for the other receiver in receiver determination. Use some dummy name in the Interface name and interface mapping and still the scenario will work. In the receiver channel, use the File type as binary.
    Regards,
    Prateek

  • Archived PDF Documents in UNIX Format

    Hi there!
    I searched the forums, but i did not find sth. helpfull to my issue.
    Maybe someone can help me here.
    I want to convert a abap list spooljob to pdf, save it on the application server and write it into our archive.
    This is no Problem by using "CONVERT_ABAPSPOOLJOB_2_PDF" then "OPEN DATASET ...." and "ARCHIVE_CREATE_FILE".
    But if I retrieve the file from the archive its named like "name.1" So our application (Ceyoniq Viewer) is not able to open it since i change the name into "name.pdf"
    I think that the converted spooljob is saved on the application server as a UNIX file and then stored into the archive. So our viewer-application cannot identify it as a pdf File until i change the ending into".pdf"
    How can i convert files on the application server from UNIX into DOS Format?
    Or maybe somone hes another idea how to solve my problem.
    We are using a 4.6C System.
    Thanks and best regards
    Gerald

    Hi
    I too am facing the the same problem.
    I also want to read a UNIX file on the application server into readable format for my program.
    If you have got the answer please tell me.
    with regards
    Abhimanyu Singh

  • How do I check the version of a PDF document?

    Is there some relatively simple method to determine a document's PDF version?
    To be clear, I mean the document itself, not the application used to create it.
    I'm trying to store PDF documents from external sources in a document repository.
    Its manuals are unclear on Adobe Acrobat version support, although I have had problems with Acrobat v 9 in the past.
    My source provided me with PDF documents that I was told were saved as versions 8, 9, 10 and 11 from Acrobat Pro XI.
    Acrobat Reader XI is the only Adobe application I have and I don't want to write an application simply to confirm the PDF version.
    When I open the documents using Reader XI and check their properties, I see the following:
    nominal 8.0:  PDF Version 1.7 (Acrobat 8.x)
    nominal 9.0:  PDF version 1.7 Adobe Extension Level 3 (Acrobat 9.x)
    nominal 10.0: PDF version 1.7 Adobe Extension Level 8 (Acrobat X)
    nominal 11.0: PDF version 1.5 (Acrobat 6.x)
    The last one doesn't make sense, but I have another PDF saved as v 11 from Acrobat Distiller 11.0 that shows the same version in its properties.
    So my questions:
    1.  Is the Acrobat properties display accurate?
    2.  I'm particuarly concerned about the 11.0 PDF documents since their Acrobat properties don't match the version they're supposed to be.
    3.  Is there some other way to check a document's PDF version (other than writing an application), e.g., opening it with a text editor and finding a version string?

    1. I have no reason to doubt it, the task is pretty simple.
    2. You should realise that these are not rewrites but progressions. PDF 1.7 adds just a little to PDF 1.6, and so on. Early versions of Acrobat would always update the version number to the latest version, whether or not they needed to do so. More recent versions have got smarter. Sounds as if XI is smarter still and is writing the version number actally needed rather than just the highest number it knows. People have strange ideas about PDF version numbers and sometimes want to do things like "open and save in the latest version" but this is not just useless but meaningless.
    3. In many cases the first line of the PDF contains the version number (but not the extension number), but this need not be accurate as a later piece of information (much later and harder to find) can override it.

  • One of Many Hyperlinks not working within Visio 2007 PDF document

    I am using Visio 2007 to publish a PDF document, and am running Acrobat 9.4.  All hyperlinks in this document are to pages within
    the same single Visio/PDF document (no external links).
    However, after exporting the Visio document to the Acrobat (PDF document), some (not all) of the hyperlinks in the PDF version do not function.  The links
    are visible, exist and function from within Visio itself.
    Have tried deleting and recreating, copying and editing working links but to no avail. 
    Any help greatly appreciated.

    "Marked As Answer byJennifer
    Zhan<abbr class="affil">Microsoft Contingent Staff</abbr><abbr class="affil">, Moderator</abbr>Friday, March 11, 2011 8:38 AM"
    I did not see an answer to this problem. What was the solution?  I am having the same problem.  My drawing include lines that are hyperlinks which are defined in depth on following pages. However, the lines that cross over each links get confused.

  • Get and display saved/archived PDF from application server

    Hi!
    I have a program which uses OPEN DATASET and function modules ARCHIVOBJECT_CREATE_FILE + ARCHIV_CONNECTION_INSERT to save and archive PDF documents.
    How do I <b>retrieve</b> these PDF files (I need to create a list of PDF documents that complies to certain criteria)? Is there a function module I can use?
    How do I <b>display</b> the PDF (selected from my list of PDFs by the user), can method EXECUTE of class CL_GUI_FRONTEND_SERVICES be used?
    Thank you very much for all your help!
    - Mari Virik

    ...

  • Archiving external pdf documents in IXOS

    Hi all,
    I wrote an home made application to manage links between SAP and external systems. In this application I've a document number which corresponds to a pdf document I received on a windows file server.
    I'm receiving hundreds of pdf documents per day from these external systems and I want to archive them in IXOS from an ABAP program.
    I wrote a program to do this using these standard functions :
    ARCHIV_CONNECTDEFINITION_GET          to get the archive parameters
    ALINK_DOCUMENTS_CREATE_DIALOG    to upload the PDF file and send it to IXOS
    ARCHIV_CONNECTION_INSERT                 to create the link in SAP
    this works perfectly.... in forground.
    The function ALINK_DOCUMENTS_CREATE_DIALOG does not work in background.
    I absolutly need to create a job to do this archiving because I get about 2000 - 3000 documents per day
    Does somebody have a solution for this ?
    I looked around in this forum and in SAP but I didn' find a solution at the moment
    Thank you

    Hello,
    As i understand with your question - You have to archive the incoming documents which are in PDF format and link it with SAP business document.
    If so, then you can achieve by using OpenText Document Pipeline functionality.
    Below are the steps need to be performed:
    1. For each incoming document there should be control files which is essential for the IXOS job to archive and send the updates to the SAP
    - You can refer to OpenText Document Pipeline for the attributes of control file
    2. Schedule EXR3 job - agument the exchange directory - where your incoming document with control file are located
    Pre-requisites are - ArchiveLink configuration should be defined in SAP.
    In this way you can archive the incoming documents to link to SAP transaction data.
    You can see the archived information in table TOA0* and also in respective SAP transaction data using GOS service you can display the document.
    Hope this will help.
    -Thanks,
    Ajay

  • Archiving spool document  (.pdf,.otf,...)

    Hi  Guru,
    We  want  to  archive  spool  document  , is it a solution with archivelink  ?   what are the steps .
    Spool  document are stored in external storage ! 
    Do we need to install and customize a SAP certified content server  for  external storage ?
    - Do we need to do basic customizing with archivelink  (create content repositories , outgoing document,..)
    Can someone have experience with archiving give me steps ?
    Thanks in advance
    Soufiene

    Hi Soufiene,
    From your question, my understading is that you are looking for something lke archiving outgoing documents. With this scenario, you can send the documents, which is sent to spool for printing, to archive also. So you will have the choice to either 'Print' or 'Store' or 'Print and Store'.
    There are many such archivelink scenarios available based on the module and the business object.  The following link explains one such scenario of archiving outgoing SD documents.Have a look at this link which might give some idea.
    Link: [http://help.sap.com/saphelp_erp60_sp/helpdata/en/33/5cd7345a238045e10000009b38f83b/frameset.htm]
    Hope this helps,
    Naveen

  • I'm trying to use my older Acrobat 4 for printing files from an older Macintosh with system 9, so that I can store and use the pdf documents in a newer MacBook Air, with OSX 10.9.  Acrobat 4 worked previously but no longer works.  Any way to fix it?

    I am trying to transfer older files from a Mac PowerBook G4, running system 9, printing those documents as pdf, using Acrobat 4.  Then those pdf documents will transfer to my newer MacBook Air, running OSX 10, allowing me to store and use them.  My problem is that Acrobat 4 no longer seems to work on the old Mac, and I don't know how to fix it.  Can anyone give me some suggestions?

    You never know, someone might remember. What happens in detail when you try to use it, and HOW are you trying to use it?

  • Archive a pdf document in a folder in Business Workplace

    Good Morning!
    I've a question about archiving a pdf document in a folder in the business workplace.
    I want to the it with the fm SO_OBJECT_INSERT.
    But here is a problem. I upload the pdf with gui_upload into the table lt_pdfbin.
    This table has the type solix_tab.
    But in the fm the table content needs a table of the type soli.
    What can i do?Are there other possibilities to archive the document in an folder?
    Thanks for your help!
    DATA: lt_pdfbin TYPE solix_tab.
    CALL METHOD cl_gui_frontend_services=>gui_upload
        EXPORTING
          filename                = l_file
          filetype                = 'BIN'
          has_field_separator     = space
          header_length           = 0
          read_by_line            = 'X'
          dat_mode                = space
          codepage                = space
          ignore_cerr             = abap_true
          replacement             = '#'
    *      virus_scan_profile      =
    *    IMPORTING
    *      filelength              =
    *      header                  =
        CHANGING
          data_tab                = lt_pdfbin
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          not_supported_by_gui    = 17
          error_no_gui            = 18
          OTHERS                  = 19
    CALL FUNCTION 'SO_OBJECT_INSERT'
        EXPORTING
          folder_id                        = so_obj_id
    *     OBJECT_FL_CHANGE                 = ' '
    *     OBJECT_HD_CHANGE                 = ' '
          object_type                      = 'PDF'
    *     ORIGINATOR_ID                    = ' '
    *     OWNER                            = ' '
    *   IMPORTING
    *     OBJECT_FL_DISPLAY                =
    *     OBJECT_HD_DISPLAY                =
    *     OBJECT_ID                        =
        tables
          objcont                              = lt_pdfbin                          
          objhead                             = objhead

    Has nobody an idea?
    I found something here:
    [How to send PDF document as attachment in the send mail step|How to send PDF document as attachment in the send mail step]
    Data: lt_pdfbin  type solix_tab stands higher in the code, but it is there
    It works...that something will be archived into my folder, but not a pdf document
    With the object type 'RAW' there are only chinese symbols...hmm
    With 'PDF' there is an error, with 'BIN' i can't see anything
    Are there other opportunities?
      DATA: so_obj_id type soodk.
      DATA: objtp type so_obj_tp,
            objyr type so_obj_yr,
            objno type so_obj_no.
      DATA: objhead type standard table of soli,
            lt_mappe type standard table of soli.
      DATA: wa_soli type soli,
            wa_solix type solix.
      FIELD-SYMBOLS: <ptr_text> type soli,
                     <ptr_x>    type any,
                     <ptr_hex>  type solix.
      objtp = 'FOL'.
      objyr = 35.
      objno = '000000000457'.
    * Zusammensetzung zur Folder_ID
      CONCATENATE objtp objyr objno INTO so_obj_id.
    * Umwandlung solix zu soli
        refresh lt_mappe.
          loop at lt_pdfbin into wa_solix.
            clear wa_soli.
            assign wa_soli to <ptr_hex> casting.
            move wa_solix to <ptr_hex>.
            append wa_soli to lt_mappe.
          endloop.
      CALL FUNCTION 'SO_OBJECT_INSERT'
        EXPORTING
          folder_id                        = so_obj_id
    *     OBJECT_FL_CHANGE                 = ' '
    *     OBJECT_HD_CHANGE                 = ' '
          object_type                      = 'RAW'
        tables
          objcont                          = lt_mappe                            
          objhead                          = objhead   

  • HT4859 I used a purchased program iannotate to download, highlight and store many documents. My ipad is brocken and I m ahtinking of getting it replaced by Apple for a payment of 240 or so. Is there a way to make sure that I do not lose pdf documents in i

    I used a purchased program iannotate to download, highlight and store many documents. My ipad is brocken and I m ahtinking of getting it replaced by Apple for a payment of 240 or so. Is there a way to make sure that I do not lose pdf documents in iA?

    I am sorry that you don't find the answer to be correct. In THIS forum, telling you that you are in the wrong forum, and suggesting where to post for correct answers, or indeed any support, IS the answer.
    I'm also sorry that you purchased a phone that you are having trouble with. If the vendor cannot help you (HTC), and the eBay seller cannot help you, then you really do need to either follow up with the forums Ken suggests, or the HTC forum, or with eBay.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog:http://unlockpowershell.wordpress.com
    My Book:Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • How to exchange a pdf document and store it

    Hi all,
    I would like to implement the following functionality:
    a) Within a function module in R/3 I want to call a remote function module in another system. I would pass some data to the remote function and the other system would return a pdf document with the call.
    b) From a remote system I would like to send a pdf document to R/3 via an IDoc.
    In both scenarios I would like to store the pdf within the R/3 system afterwards.
    My questions:
    How do I transfer binary data such as pdf documents via RFC and IDocs?
    How do I store these documents in R/3? Is there some standard functionality available for this kind of document management?
    Does anyone know any examples on how to implement these two tasks?
    Your help is very much appreciated
    Thanks and Regards
    Jens

    <b>* How do I transfer binary data such as pdf documents via RFC and IDocs?</b>
    you can pass the binary string thru RFC with export/import parameter of type string or xstring.
    <b>* How do I store these documents in R/3? Is there some standard functionality available for this kind of document management?</b>
    you can store it in SAPs BDS - business document services (txn OAOR)
    alternatively you can also store it in Z table.
    or you can use SAP easy document management.
    http://help.sap.com/saphelp_erp2004/helpdata/en/db/003353fca05c47bfc8f391cf296fc8/frameset.htm
    Regards
    Raja

  • Archiving the PDF Document in Documentum

    Hi All,
    I am using WFS6.2 and there is a requirement that the forms after the final workflow process need to be archived in to Documentum. I am planning to have a ASP and from there the PDF documents are created in the Documentum programatically. There is a sample application avaialble in http://www.dmdeveloper.com/samplecode/dfcasp.html. I am not able to login to Documentum through the sample application avaialble. Did anybody tried using this application or do you have any code snippets to achieve this?
    Thanks and Regards,
    Hariharan.P

    Dear Eddy,
    Thanks for the such a quick reply,
    But I am not able to understand anything from the link, Let me explore the classes given in that thread and do some work on it.
    Its highly appreciated if you have any example kind of thing or a blog etc..
    Thanks a lot.
    Regards....
    Ravi.

  • SICF customer service in order to retrieve PDF document from archive (ICC)

    All,
    I am currently trying to set up a scenario to integrate SAP-VIM (vendor invoice management) with the ICC (invoice capture center; from opentext). In this process the ICC application loads data from SAP together with a scanned invoice (in PDF format) stored in our archive.
    Since we are not using any sap-certified archive solution I had to build the data retrieval via custom programming. But when the ICC component is trying to upload the data I am getting following error: "Error while trying to get invoice image(s) and recognition results from SAP: Unable to load datapool. Data at the root level is invalid. Line 1, position 1." Did someone have experience with this kind of set-up of with the error?
    Steps done:
    - create a Z-service in SICF with own class (based on copy of CL_HTTP_EXT_CSIF)
    - inside this class programmed to data retrieval of the PDF document of the archive (in Base64 format or Binary format)
    - filling the header fields of the response via
    l_mimetype = 'application/pdf'.
      call method l_entity->set_header_field:
        exporting name = 'Content-Type'      value = l_mimetype,
        exporting name = 'Content-Length'  value = l_size_s, 
        exporting name = 'pVersion'        value = l_pversion,
      call method l_entity->set_data
        EXPORTING
          data   = l_data
          offset = '0'
          length = l_length.
    l_data = binary data of PDF-file
    Best Regards,
    Kris

    831692 wrote:
    Hello everyone,
    I'm using BI Publisher 11g to generate PDF documents. I had implemented a servlet that uses HTTP POST/GET to simulate the behaviour of BIP console since ScheduleReport Service is not implemented in this version. The problem is about the output of the final documents when i'm not using the bursting option. From my experience, the documents are not saved in any temporary folder in the filesystem. Looking at DEV_BIPLATFORM schema and analysing XMLP_* tables, i'm assuming that the generated document data is the BLOB DATA field in the XMLP_SCHED_DATA table...this is right?
    Next, in java, i'm using the BLOB field to output his binary content to a PDF file but, when i try to open the file, it gives an error: "document may be damaged"...
    Any suggestions here would be appreciated...
    Thanks in Advance
    Regards,
    NP1. Yes, it contains the output document.
    2. If the output type is PDF then the BLOB contains a zip file which contains the PDF document.
    So first unzip it before rendering
    Cheers
    Jorge
    p.s. If your question is answered then please grant the points and close the thread

Maybe you are looking for