How to attach PDF files to invoice document from ECM.

Hi Gurus,
We have one requirement in that around three million  invoice pdf files are there in ECM system. we need to attach those pdf files(GOS) to  existing invoice document in SAP.as we searched in SCN we found one function module ARCHIVE_CONNECTION_INSERT. for this  function module we need pass mandatory import parameters as SAP object ID ,Document ID and some other variables(object type, doc.type , repository ID).
My problem is how can I find the value of  respective SAP object ID and Document ID  form ECM system. and how can I match the SAP object ID and Document ID.
please  help on this.
Thanks in advance!!
Regards,
Vigneshwar.D

Hello,
Check with Global document type is maintained for the PDF you are looking for in OAC2. You will find the Document type, for the respective object type, check in OAC3. Content Repository is the archiving ID. Search by the archiving ID.
Regards
Rakesh

Similar Messages

  • How to attach PDF file along with mail from SAP to external

    Hi Experts,
          Whenever I am creating PO I should get that creation information ( PO is created & PO no is ‘XXX’….) in the form of PDF file & I have to send this PDF file through mail to external. I have to do all this in one development…How can I proceed …Help me..
    Thanks

    Check this Code>>>>>>>>>>>
          FORM MAIL_OBJECT                                              *
    Compiled: Thomas, Satyam Computers Services Ltd.
          This routine receives OTF data. OTF data is converted to PDF
          format and send to the Partner's email address
    FORM mail_object TABLES otf_data STRUCTURE itcoo .
      DATA: pdf_size TYPE i,                             " PDF Size
            pdf_itab_size TYPE i,                        " Attachment size
            mailtxt_size TYPE i,                         " Text in mail size
            l_vbeln LIKE vbdka-vbeln.                    " Order Doc
      DATA:
      it_mailtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,    " Mail Text
      it_pdf TYPE TABLE OF tline WITH HEADER LINE,           " OTF output
      it_mailpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE, " Dist details
      it_mailhead LIKE solisti1   OCCURS  1 WITH HEADER LINE," Header data
      it_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,   " Rec List
      it_pdfdata LIKE solix OCCURS 0 WITH HEADER LINE.  " Attachment data
      DATA: it_doc_att LIKE sodocchgi1.                 " Attri of new doc
      DATA: BEGIN OF it_pdfout OCCURS 0,                " PDF in 255 length
               tline TYPE char255,
            END OF it_pdfout.
    Sales doc and Customer
      DATA: BEGIN OF i_vbeln OCCURS 0,
              vbeln LIKE vbpa-vbeln,       " Sales Document
              adrnr LIKE vbpa-adrnr,       " Customer
            END   OF i_vbeln.
    Sender Address no and SMTP address
      DATA: BEGIN OF i_addrs OCCURS 0,
              addrnumber LIKE adr6-smtp_addr,
              smtp_addr  LIKE adr6-smtp_addr,
            END   OF i_addrs.
    Convert OTF to PDF
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format       = 'PDF'
        IMPORTING
          bin_filesize = pdf_size
        TABLES
          otf          = otf_data
          lines        = it_pdf.
    Make each line 255 characters
      CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
        TABLES
          content_in  = it_pdf
          content_out = it_pdfout.
    Create the PDF File
      CLEAR it_pdfdata.
      REFRESH it_pdfdata.
    it_pdfdata[] = it_pdfout[].
      LOOP AT it_pdfout.
        MOVE it_pdfout-tline TO it_pdfdata-line.
        APPEND it_pdfdata.
        CLEAR it_pdfdata.
      ENDLOOP.
      DESCRIBE TABLE it_pdfdata LINES pdf_itab_size.
    Text in the mail.
      it_mailtxt-line  = 'ORDER ACKNOWLEDGEMENT'.
      APPEND it_mailtxt.
      it_mailtxt-line  = ' This is a test mail-Thomas, Line Number--1'.
      APPEND it_mailtxt.
      it_mailtxt-line = ' This is a test mail-Thomas, Line Number--2' &
                        ' This is a test mail-Thomas, Line Number--2'.
      APPEND it_mailtxt.
      it_mailtxt-line = ' This is a test mail-Thomas, Line Number--3' &
                        ' This is a test mail-Thomas, Line Number--3' &
                        ' This is a test mail-Thomas, Line Number--3'.
      APPEND it_mailtxt.
      it_mailtxt-line = ' This is a test mail,  Line Number--4' &
                        ' This is a test mail,  Line Number--4' &
                        ' This is a test mail,  Line Number--4' &
                        ' This is a test mail,  Line Number--4'.
      APPEND it_mailtxt.
      it_mailtxt-line = ' This is a test mail,  Line Number--5' &
                        ' This is a test mail,  Line Number--5' &
                        ' This is a test mail,  Line Number--5' &
                        ' This is a test mail,  Line Number--5' &
                        ' This is a test mail,  Line Number--5'.
      APPEND it_mailtxt.
      DESCRIBE TABLE it_mailtxt LINES mailtxt_size.
    Document Number for Output
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
        EXPORTING
          input  = vbdka-vbeln
        IMPORTING
          output = l_vbeln.
    Attributes of new doc
      CONCATENATE 'Order' space 'Acknowledgement' space l_vbeln
                  INTO it_doc_att-obj_descr SEPARATED BY space.
      it_doc_att-sensitivty = 'F'.
      it_doc_att-doc_size   = mailtxt_size * 255.
    Create Pack to text in mail body.
      CLEAR it_mailpack-transf_bin.
      it_mailpack-head_start   = 1.
      it_mailpack-head_num     = 0.
      it_mailpack-body_start   = 1.
      it_mailpack-body_num     = mailtxt_size.
      it_mailpack-doc_type     = 'RAW'.
      APPEND it_mailpack.
    Create Pack to PDF Attach.
      it_mailpack-transf_bin   = 'X'.
      it_mailpack-head_start   = 1.
      it_mailpack-head_num     = 1.
      it_mailpack-body_start   = 1.
      it_mailpack-body_num     = pdf_itab_size.
      it_mailpack-doc_type     = 'PDF'.
      CONCATENATE l_vbeln '.pdf' INTO it_mailpack-obj_name.
      CONCATENATE 'Order Ack' space l_vbeln INTO it_mailpack-obj_descr.
      it_mailpack-doc_size     = pdf_itab_size * 255.
      APPEND it_mailpack.
    *Get email addresses based on Sales document.
      SELECT vbeln adrnr INTO TABLE i_vbeln
             FROM vbpa
             WHERE vbeln = vbdka-vbeln AND
                   parvw = nast-parvw.
      IF NOT i_vbeln[] IS INITIAL.
        SELECT addrnumber smtp_addr INTO TABLE i_addrs
               FROM adr6 FOR ALL ENTRIES IN i_vbeln
               WHERE addrnumber =  i_vbeln-adrnr AND
                     smtp_addr NE space.
      ENDIF.
      IF i_addrs[] IS NOT INITIAL.
        LOOP AT i_addrs.
          it_reclist-receiver   = i_addrs-smtp_addr.
          it_reclist-express    = 'X'.
          it_reclist-rec_type   = 'U'.
          it_reclist-notif_del  = 'X'. " request delivery notification
          it_reclist-notif_ndel = 'X'. " request not delivered notification
          APPEND it_reclist.
          CLEAR: i_addrs.
        ENDLOOP.
      ENDIF.
    Call FM to send email
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = it_doc_att
          put_in_outbox              = 'X'
        TABLES
          packing_list               = it_mailpack
          object_header              = it_mailhead
          contents_txt               = it_mailtxt
          contents_hex               = it_pdfdata
          receivers                  = it_reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorizationfiltered= 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " MAIL_OBJECT
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    -Mohan.
    *Reward if helpful**

  • How to create pdf files in UNIX directory from oracle reports

    I would like to know how to create pdf files in UNIX directory from oracle reports.
    Thanks,

    Please make your question more clear . Also mention the reports version.
    1) If you are runnning reports in Unix, you can give
    .... destype=file desformat=pdf desname=<filename>
    in command line
    Please refer docs below.
    2) If by your question you mean
    "My reports server is running in Windows but I want to ftp my files to Unix after creating it"
    then the answer is that you can use pluggable destination "ftp"
    .... destype=ftp desformat=pdf desname=<ftp url>
    Pluggable destinations download
    http://otn.oracle.com/products/reports/pluginxchange/index.html
    Thanks
    Ratheesh
    [    All Docs     ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf

  • Want to attach PDF file with invoice

    Hi Friends
    I want to know, how can we attach the PDF files with Invoice.
    Thanks
    Gowrishankar

    Hi,
    If you are talking about attaching the documents to Invoice, You need to use Generic object service (GOS) along with archival procedure. Please search the SCN, we have some documentation on this.
    If it is via E-mail, it is very simple. You can pass the receiver list to SF and send the mail.
    Thanks,
    Vinod.

  • How can I retain the attached .pdf files (displayed as icons) from my word file 2010 to a pdf file?

    Hi everybody,
    I have looked for an answer in this forum ... without any good result.
    I worked on a Word 2010 file with some attached pdf files. These attached files are displayed as icons on the word file. If you double click on them, you can consult them. This works very good.
    Problem: I would like to convert this word 2010 file into a pdf file, which keeps the icons (linked to attached files) active. If I "pdf" this with my current system, icons are displayed as pictures: I cannot open the attached files.
    My question is very simple: is it possible to retain these active icons (= to open attached documents) in a pdf file? Which adobe package should I use?
    Many thanks for your help 
    cheers
    elgreengo

    No, it's not possible, but I agree it would be a very nice feature.

  • How to attach PDF file to product catalog in e-Commerce ERP

    Hello Experts,
    We are implementing SAP E-Commerce for ERP (ECC 6.0 version)
    On the product catalog, I need to attach a PDF file to the products.
    I have created a document as
    Document Type: DMO
    In this I have created 1 original as:
    Applic: PDF
    Original:  "abc.pdf" (the PDF file has been uploaded to the correct Web Server folder)
    This document has been assigned to the product as u2018Documentsu2019 in the product catalog.
    I replicated the catalog on TREX. However now I am not sure how to acess this document on the e-Commerce Products JSP.
    When I access the product index on TREX, I do  not see any attribute that contains this document Type containing the PDF.
    (The standard LIM / SIM documents are getting attached correctly to the products, I see the relevant images on the JSP)
    I am not sure if I am missing something in attaching  the document?. Please let me know what else is required to be done for this?
    Thanks in Advance.
    Regards,
    Roopali

    Hey Roopali,
    Following is the procedure to Attach a multimedia object .
    Hope you are following this especially point number 16.
    1.     Access the activity using one of the following navigation options:
    Transaction code     COMM_PCAT_ADM
    SAP CRM menu     Master Data à Product Catalog à Maintain Product Catalog
    You will have Material Master rather than Product catalog as it is ECC version.
    2.     In the Product Catalog field, enter PRODUCT CATALOG
    3.     In the Catalog Type field, enter Manual and automatic assignment.
    4.     Choose Change.
    5.     Expand Header Data by choosing the Expand data area Button labeled Header Data
    6.     Check that the status is Inactive.
    A yellow light bulb indicates that the status is Active. To set the status to Inactive, click the light bulb and a gray light bulb appears.
    To add new products to your product catalog, you must first deactivate the status on all levels.
    7.     In the Object Name screen area, select your product catalog.
    8.     Choose Expand all.
    9.     Double-click the catalog area to which you want to manually assign your objects.
    10.     Check that all products are set to inactive.
    11.     In the Item list, double-click the product.
    12.     The selected product is shown below in the screen area Item Details.
    13.     Choose the Item Documents tab.
    The tab page Product Documents provides information about which objects are already assigned to a product in the product master. This means that these objects cannot be changed in the product catalog. They can only be changed in the product master.
    14.     Choose the folder YCRM_IMAGE  or YCRM_THUMB and choose Import document. Browse for the multimedia object that you want to assign to the product. 
    15.     Select the object (picture) and choose Save.
    16.     Choose the tab page Properties to set this multimedia object as language-independent, set the field Language-Independent(Prod) = Yes.
    This field controls the publication of documents in catalog variants depending on the language. This means that the document is valid for all languages in which the catalog is published.
    17.     Choose Save.
    Regards,
    Sumit

  • How to attach PDF file to product catalog in Internet Sales R/3

    Hi Experts,
    We are implementing SAP E-Commerce (Internet Sales) for mySAP ERP or SAP R/3, release 5.0.
    I need to attach a PDF file to the product in the product catalog of the Web Shop. Some where in the documentation I have read that itu2019s possible.
    I have created a document with following parameter:
    Document  2001 \ Document Type L01 \ Document Part  000 \ Document version  00
    In that document, I have created one original with the following parameters:
    Applic.     PDF \ Data Carrier    isar3 \ Original      <WebServer folder>/SAP.pdf
    I have assigned this document objects to the product as u2018Documentsu2019 in the product catalog. (through Tcode WWM2).
    I have uploaded the PDF file to the correct Web Server folder.
    But I CAN NOT see my PDF file anywhere in Web Catalog.
    By the way, following the same steps I have also created another Document containing 2 original images:
    Document  2002 \ Document Type L01 \ Document Part  000 \ Document version  00
    In that document, I have created 2 originals with the following parameters:
    Applic.     LIM \ Data Carrier    isar3 \ Original      <WebServer folder>/ Test_big.jpg
    Applic.     SIM \ Data Carrier    isar3 \ Original      <WebServer folder>/ Test_small.jpg
    I have assigned this document objects to the product as u2018Documentsu2019 in the product catalog. (through Tcode WWM2).
    I have uploaded the image files to the correct Web Server folder.
    I CAN see the small and large image in my product catalog with out any problem.
    Is it possible to attach PDF in this way? Am I making any mistake? Am I selecting the correct document type (L01) for the document?
    Please guide me.
    Thanks in Advance.
    Regards,
    Abir Kundu.

    Hi Abir,
               SAP standard for R/3 E-commerce allows only SIM and LIM applications.
    Any further requirements like PDF needs to be an enhancement on the product details JSP.
    Also make sure you are storing the PDFs in the right location to retreive it on the product details.
    Thanks,
    Kiran Kanth.C

  • Urgent - How to add pdf files to template document in multiple sessions?

    Hi, forum!
    VERY new to using Adobe Acrobat 7.0 Professional, so I am reaching out for help.
    We have a "template" document with pre-assigned bookmarks.  I need to add multiple PDF files into it, either by inserting pages, adding the complete PDF, and/or extracting pages, then assigning the locations to each individual bookmark.
    The ending page count will be about 300 pages, and there is no way that I can create the complete document in one day or one session.
    A) What is the best way to add pages from multiple PDF files into this "template" document?
    B)  Is there a way to add pages in one session, save it out, then add additional pages to the same output document on a different day, etc., without having to "re-add" the previous pages and until I am done and ready to finalize the document?
    I would really appreciate a fast response, as my new job kind of depends upon me doing this well...
    Thanks and Merry Christmas!

    Thanks, George!
    I will try your suggestion.
    While waiting for a response, I ran into another problem:
    Some of the PDF documents I am to work from are "protected," meaning I can read them but not extract any pages or click to add them to a list of files to import...but I need to extract some or all pages from it.  Any suggestions on this?
    Thanks!

  • How do I email an attached pdf file to stationary templates in mail.

    How do I email an attach PDF file using the stationary templates in mail on lion.
    I attached the PDF but when try to send it I get back a dialog box that sez:
    "This message cannot be sent because it uses stationery and contains attachments that are not images. Messages with stationery cannot contain attachments that aren’t images. You can cancel and return to editing the message or remove the stationery in order to send." My choice is to cancel or remove stationary.
    Is there a third party solution? Any suggestion?

    No
    Envoyé depuis Molto pour iPad
    De: pwillener
    Envoyé: jeudi, février 12, 2015 07:14 AM
    À: René Allamelle
    Objet:  how do I compress a large pdf file to fit in an email?
    how do I compress a large pdf file to fit in an email?
    created by pwillener in Adobe Acrobat.com Services - View the full discussion
    But generally it is never a good idea to send e-documents as email attachments.  Better use a file sharing service (Acrobat.com, Dropbox, Google Drive, Microsoft OneDrive, ..), upload the document, then send the shared download link via email.
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7187079#7187079 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7187079#7187079
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Adobe Acrobat.com Services by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    The application Acrobat provides no language translation capability.
    If you localize the language for OS, MS Office applications, Acrobat, etc to the desired language try again.
    Alternative: transfer a copy of content into a web based translation service (Bing or Google provides a free service).
    Transfer the output into a word processing program that is localized to the appropriate language.
    Do cleanup.
    Be well...

  • I have purchased Adobe XI Pro and created a form for entering bowling scores to submit to newspaper for my high school team.  I can not figure out how to get pdf's into my documents folder on my iPad so that I can access the files in bowling alleys where

    I have purchased Adobe XI Pro and created a form for entering bowling scores to submit to newspaper for my high school team.  I can not figure out how to get pdf's into my documents folder on my iPad so that I can access the files in bowling alleys where I do not have a Wi-Fi connections.  I need to be able access files without going to acrobat.com.  Help!!!@

    Post the PDF files to a web site. The browse to them in Safari on the iPad.  When you Open the files specify the Open to occur in Adobe Reader.  Then you can have/Save them in your Documents folder on the iPad.   An iPad has limited access to files otherwise.

  • When trying to upload a PDF to an interactive site I get the announcement:"The attached PDF file references a non-embedded font Tahoma. Please remove file, embed the font and reattach." How do I embed this, or in fact any other font ?

    When trying to upload a PDF to an interactive site I get the announcement: "The attached PDF file references a non-embedded font Tahoma. Please remove file, embed the font and reattach."
    I could not get rid of the Tahoma font in the WORD file.
    How do I embed this, or in fact any other font ?

    Thank you very much !
    Indeed, I was unaware of the enormous number of options that can be selected when converting a WORD file to PDF.
    I went thru the settings and found the right one for embedding the fonts.
    Thanks again !
    Oren

  • How do I convert a pdf file to word document?

    How do I convert a pdf file to word document?

    If you are using Adobe Acrobat Pro all you have to do is open up your document and at the top left click on File and then click on Save as Other and then click on the first option Microsoft Word.

  • How can i convert my pdf file to word document?

    how can I convert pdf file to word document?

    Hi mariam46,
    You can use ExportPDF (or Acrobat) to convert a PDF file to Word format. Please see http://cloud.acrobat.com/exportpdf for more information.
    Best,
    Sara

  • How can I embed a form on my website and set up a submit button so that when people fill out and click Submit, the filled form will be emailed to me as an attached pdf file?

    How can I embed a form on my website and set up a submit button so that when people fill out and click Submit, the filled form will be emailed to me as an attached pdf file?
    Thank you!

    Hi;
    That is not a workflow that is supported by the Adobe forms solutions at this time.
    Thanks,
    Josh

Maybe you are looking for

  • Stack Overflow Exception in EJB Explorer

    Hello everyone! I have correct working EJB which returns in one method and JPA Entity that have bidirectional relationship with other entity. This relationship is @OneToMany and @ManyToOne on other side and all of the related objects are loaded befor

  • Cisco Prime Collaboration Deployment with BE7K and VMWare license

    Hello, I am looking for some help trying to figure out if Cisco Prime Collaboration Deployment can be used to upgrade our existing 7.1.5 cluster.  From what I have read there is a API problem with the VMWare license that comes with the BE7K.  But aft

  • SAP EasyDMS

    Hello Everyone, I have one requirement for mass upload/Download documents in DMS. I read certain discussions which held earlier & decided to go for Sap Easy DMS. Is this right decision ? I have integrated this with ECC & it is working fine as of now.

  • Mbox email files export

    I am having some problems with my mac system, bought a new windows pc for the time being and for a change. Every thing works very fine with this new system but there is a situation that I can't get over with. I want to export the emails from apple ma

  • Can i make iOS 7 look like iOS 6?

    Hi, i like iOS 7 but i think iOS 6 looks nicer, is it possibl to make my iOS 7 look like iOS 6? I am new to iPhone.