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

Similar Messages

  • 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   

  • 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.

  • Archiving of PDF documents

    Hi All,
    I need to perform Document archiving. Actual requirement is to retrieve the pdf files stored in a particular unix Directory and archive those files in SAP and then remove those files from the UNIX path. I have retrived the file names from the unix Directory and stored in an internal table.
    Then for archiving I need to make use of the following functions.
    1. ARCHIV_METAINFO_GET
    2. ARCHIVOBJECT_CREATE_FILE
    3. ARCHIV_CONNECTION_INSERT
    Can any one help me in using these functions. How do I pass values and in which order I will call these functions. What is the use of these functions. Could you please guide me. I am new to Data archiving.
    Thanks in Advance,
    Renuka Moorthy

    Resolved

  • Can IXOS (OPENTEXT) handle digitally signed PDF documents

    Hi All,
    we have requirement where we want to store digitally signed PDF documents in IXOS (OPENTEXT) server and view them using IXOS viewer.  I have tried to save one digitally sighed PDF but it was also password protected and I was not able to open it with the IXOS live link opener.
    Request you to share your experience or views on this.
    Thanks a lot.
    Best regards,
    Vithal

    hi,
    yes IXOS handlesDigitaly signed PDF documents,
    http://opentext.com/download/livelinkdownload.html?path=/corporate/investor/secfiling/FY2005Q4_10K.pdf
    Please refere tihis doc..
    The repository supports queries based on metadata, full-text index and even a combination
    of both. Another option is to render document content to a long-term format like TIFF or PDF.  Using
    digital signatures (time stamps) it can be assured that content cannot be modified without recognition.
    Hence clearly say's retrival or access doc need to enter digital signature which are preconfigured during DOC creation phase.
    Benakaraja
    ??p

  • Print PDF documents from a report

    Hello all,
    I need to print a PDF document residing on my hard drive(without actually opening the document, just a print) from a custom ABAP report. Any ideas how we can do this? Can we do this with OLE's? Sample code is appreciated.
    Thanks,

    Hello,
    Thanks for the response. The link you provided shows how to write output to PDF and print. All I need to do is print some external PDF document resisding on my hard drive through some code in my custom report.
    Any ideas on this? Thanks.

  • Inserting/Embedding PDF documents to an SAP Adobe Form

    Hi all,
    We have a requirement to insert/embed an external PDF documents to an SAP Adobe Form.
    Please provide pointers in this regard.
    Thanks,
    Sandhya

    Tim, a change like this is really simple.
    Formcalc and javascript are pretty similar - when I started developing AIF a year ago, I knew nothing about either of them... not that I know a whole lot now...
    The Help in Livecycle designer is actually quite helpful when it comes to scripting. Also, there's a google group you can join where you can email questions for help.
    You would just call the form like you normall do. The code is placed INSIDE your form "under" your field. There is a script editor built in to Adobe - Click Pallettes -> Script Editor to see it.
    there are many events on which to place code - you will need to find an event that triggers early - such as Form:Ready etc...
    Here's an example I have with 2 radiobuttons and a text box. If my 'yes' radiobutton is chosen, I make my input box visible
    if ( yes.rawValue eq "1" ) then
    data.Page2.grp2.func.rb.ifyes.presence  = "visible"
    endif
    Same concept if my 'No' button is chosen
    if ( no.rawValue eq "2" ) then
    data.Page2.grp2.func.rb.ifyes.presence  = "hidden"
    endif
    Both of these scripts are in the "click" event of the radiobutton.
    Lastly, here's a link to a great resource on Scripting
    http://www.adobe.com/devnet/livecycle/articles/lc_designer_scripting_basics/lc_designer_scripting_basics.pdf
    Scripting, on a moderate to small scale, will make your life a bit easier. Don't try to do too much, otherwise you'll find AIF may be the wrong tool for what you're trying to do.

  • Insert/Embedding PDF documents to SAP Adobe forms

    Hi all,
    We have a requirement to insert/embed an external PDF documents to an SAP Adobe Form.
    Please provide pointers in this regard.
    Thanks,
    Sandhya

    I would think the common sense approach would be to upgrade to ECC 6 first then migrate your forms.
    This seems to be just another step in the upgrade process.
    We went from 4.7 to ECC 6, but only had Smartforms and SAPScripts. We wound up just re-creating the forms directly in Adobe.

  • 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

  • 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

  • Embedding reference/page links to external PDF, in Word document before exporting it as PDF...

    I have a substantial compilation of documents in a single PDF file: call this the reference material.
    I am writing a narrative concerning the above using Word 2010, which when complete I will export to PDF, to be included with the above reference PDF, either as a separate PDF or (ideally) combined with it into one single PDF.
    The narrative will include many references to specific pages (ideally views of individual pages) within the reference material, ideally as clickable links.
    The only way I can see to do this is to complete the narrative Word document, PDF it, and then go through the whole PDF narrative document creating page-view links for each of the in-text references, either:
    to the reference material as an external PDF, or
    having combined the narrative PDF with the reference PDF, and then creating the links.
    So... I'm wondering if there may be some slick method of creating the page-view links in the Word document as I go along, in such a way that they would survive the transition when the narrative is exported into PDF. I'm assuming I'm not the first person to need to do such a job!
    (I'm hoping to avoid using pre-set destinations in the reference PDF.)
    Using Acrobat 9 Pro Ext.
    Thank you!

    I will not address the terminal server environment (check the license on that). However, it could be that the fonts the individual is using are not on the terminal server and that is the cause of the failure. It might work to embed the fonts in the PS file (an option in the creation process) so that they are available to Distiller. Based on your comment that it is a symbol issue, that is my best guess.

  • 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

  • Using external pdf, can you bookmark a specific page range, instead of just opening whole document?

    Hi, forum!
    You guys have been really helpful.
    I have learned how to bookmark an external pdf and have it open in my current pdf.
    What I need now is to bookmark an external pdf but only view a specific range of pages in the external document, not just to open the external pdf.
    Any help would be appreciated!

    Bummer...oh, well...
    Thanks for the answer; I really do appreciate your help (and this forum, in general).
    Thanks, George!

  • 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

  • For PDF documents the "archive as" button do not appear but only the "active" button. Please help me?

    Hi all,
    My "achive as" button do not appear when im trying to save a scanned PDF document but only the "achive" button. Do anyone know why?
    I have tried seraching the internet for answer but without any result.
    A solution to the prblem is to press doublicate and then "archive" then i get the option to save in a specific loaction (notice that even after doublicating i don't get the option to archvie as). This is a quick fix but would like to know how to fix the problem probably.
    Here is some background
    -The problem also appears on exsisting pdf document and documents from other users.
    - i open it in apple standard preview program
    - The problem appaered 6 months ago after and general apple software upgrade.
    - I don't have any "download" folder in my finder menu ( I don't know if this is a relevant information but could have somthing to do with the settings i.e. as administor even though it is my own mac).
    Please help me before i will go completly CRAZY, it is super frustrating.
    Happy weekend to all.
    Michael

    Yes 10.7 is Lion and yes it changed.
    http://www.bing.com/search?q=Mac+OS+X+Lion+Save+As
    Maybe you have a preference problem.
    For future, notebook forum:
    MacBook Pro
    Apple OS X 'Lion' Comments

Maybe you are looking for

  • Need help with httpd/tomcat/jsr223/php

    Hello, I�m new to tomcat, but have been working with httpd for years. (now I find out how different the two are) I�m having some problems getting php to play nicely with tomcat. Here�s my configuration: RHEL4 2.6.9-34.0.2.ELsmp apache-tomcat-5.5.17 h

  • Service tax problem in billing

    hi i maintained service tax condition in pricing procedure,while creating CA01 sales order -service tax calculating but after delivery and invoice service tax not coming what happened help

  • Goa line item sequencing issue

    Hello experts, I am facing a problem in GOA line item sequencing in SRM 4.0. I create a GOA with lets say 3 line items and distribute it successfully to the backend. Now if I want to add extra items using option 'Add Calaog items' from R/3 material a

  • Different layout and wallpaper on start up

    Hi, I'm a self proclaimed moron so if this is a stupid question please be kind enough to point me in the right direct anyway, thanks. So, for the past week, every time I start up my Pavilion p7-1179c, a completely different wallpaper and layout are o

  • Backup Destination Drive full after updating

    I have an external Disk Drive that is 150GB in size. I'm trying to setup a daily backup for a single folder that contains all my media which is 116GB in size. I've tried several times to back this up and it works correctly for first Backup but then a