Attach document (pdf) to a contract in SAP

Hello,
we use contracts (ME31K). We now scanned in documents and would like to attach them to the contracts in SAP. Is this possible?
thanks

Hi,
This is not going to keep that attachement through any other transactions or functions. It merely attaches it to that object (i.e. the contract) within that transaction only. So you wil have to come back to this transaction to view the attachement, it cannot be seen anywhere else in SAP.
In ECC6 etc. there is a proper function for attaching documents to records like this but in 4.6 you only have this small function.
The icon is just under the green tick (to the left of the OK code field). Click on it and you will get a menu bar that appears, click on the first icon to create an attachment.
Steve B

Similar Messages

  • Need to attach document for Purchase requisition usingBAPI_DOCUMENT_CREATE

    Hi All,
    Requirement:
    Attach document(PDF,TXT etc) for purchase requisition using BSP service.
    For this i am finding one function module "BAPI_DOCUMENT_CREATE" please suggest me how to use this function module or its working my requirement or not.
    if it possible provide any sample code for BAPI_DOCUMENT_CREATE
    So that i can move to another why.
    Thanks in advance.
    Regards,
    Rajeshv.

    Hi,
    Did you check the function module documentation. It contains one example also. Please check that.
    BAPI fm BAPI_DOCUMENT_CREATE is internally calling this BAPI. Please check how it is calling.
    Please alos check program LWPLGF06. I think it has similar code.
    Thanks,
    Ramakrishna
    Message was edited by: Ramakrishna Prasad Ramisetti

  • Loading attached documents from SAP R/3 system to BW/BI system

    Dear Experts,
    In SAP R/3 system, I created generic datasource to extract sales activities which are entered with transaction code VC01N.  In SAP R/3 system, it is possible to attach documents (like word, Excel, pdf) to the sales activity. I need to upload these documents to SAP BW system as document to sales activity master data. I couldn't find where these attached documents are stored in SAP R/3 system. How can I find these documents?
    If I find these documents, I will be able upload these to BW using "How to Mass Upload Documents to BW" document.
    Thanks,
    Ozgur Yavuzkara

    Hi Girish,
    I don't understand your question completely. Is your question related to the Internet Transaction Server? If it is a Web Dynpro question, I can move this thread to the Web Dynpro forum. What do you think?
    - Henning

  • Attaching a PDF document for a Invioce Parking thru FB60 in background

    Dear Friends,
    I am working on a requirement to build an interface for Invoice posting/Parking.
    Transaction used: FB60
    Invoice data will be stored in a staging server, same has to be read and posted in SAP. Till posting part i am clear with the requirement. Invoice data will be in a flat file which i can read and store in my Custome table.
    But customer is asking to attach a PDF document (which is a kind of supporting document not the invoice data) while doing the posting.
    My queries are:
    1. How to fetch the PDF files placed in an external staging server.
    2. How to attach those files while doing the posting/parking as job is executed in background.
    I want to use BAPI BAPI_INCOMINGINVOICE_PARK for parking the Invoice, but where to attach the PDF.
    Or can i do BDC to attach the document?
    Any info on this is highly appreciated and rewarded.
    Thanks,
    Simha

    Change in requirement..
    Hence i am closing this thread.
    Regards,
    Simha

  • Attaching a PDF document for a Invioce Parki thru FB60 in background

    Dear Friends,
    I am working on a requirement to build an interface for Invoice posting/Parking.
    Transaction used: FB60
    Invoice data will be stored in a staging server, same has to be read and posted in SAP. Till posting part i am clear with the requirement. Invoice data will be in a flat file which i can read and store in my Custome table.
    But customer is asking to attach a PDF document (which is a kind of supporting document not the invoice data) while doing the posting.
    My queries are below:
    1. How to fetch the PDF files placed in an external staging server.
    2. How to attach those files while doing the posting/parking as job is executed in background.
    I want to use BAPI BAPI_INCOMINGINVOICE_PARK for parking the Invoice, but where to attach the PDF.
    Any info on this is highly appreciated and rewarded.
    Thanks,
    Simha

    Change in requirement..
    Hence i am closing this thread.
    Regards,
    Simha

  • Attach a PDF document to Device Location

    Hi all,
    We have a requirement to attach a PDF document to a Device Location. Ideally we are looking for an approch to upload a PDF document which would contain some instructions for the Business Users.  This would help the user to check the PDF document and perform Activties according to the instructions.
    Could you please guide through, if SAP allows for such an option to upload PDF file or any document to a Technical Object.
    It would be appreciated if you suggest few examples as well.
    Regards,
    Sai

    Thanks Rajat,
    I too found that option later. I shall Explore more on that.
    One quick question, services for object works find for Technical Master Data but for some reason its not working on Business Partner. The options in it ate grayed out. Any Idea ?
    Also, Services for object is not available for another user. Is it realted to any profile settings or will be in default to all users ?
    Thanks for you help once again.
    Sai

  • Attaching a PDF document to an order from Web

    Hi,
    We have a requirement to attached a PDF document to an order in SAP from a web front end (its a custom web application written in cold fusion). We currently create orders from this web application which talks to SAP via XI. I know that using the "Services For Object" option in SAP GUI we can upload external document. Is there a BAPI that can be used to send the document from WEB to be added as an attachment on the order?
    Any response will be greatly appreciated.
    Thanks,
    Paresh

    Hi Tom,
    ArchiveLink is a service integrated in the SAP Web Application Server for linking archived documents and the application documents entered in the SAP system.
    Linking documents according to content guarantees long term easy access to the documents. From the screen of the application document, you can directly display the stored document that is associated with it. You can also use attributes to search for documents. This replaces time consuming processes such as making copies of originals, searching for procedure-related information, etc.
    There would definitely be content repository which will be connected to SAP through archivelink. Pls confirm the same with Basis.
    You can look at the customizing through
    IMG->SAP Web Application Server -> Basis Services -> ArchiveLink
    Also pls refer to:
    http://help.sap.com/saphelp_47x200/helpdata/en/16/56a539a908455de10000000a114084/frameset.htm
    Pls award if helpful.
    Reg
    Sachin

  • Attach a PDF in SAP mail

    I have a PDF document and send as Email using fm SO_NEW_DOCUMENT_ATT_SEND_API1. How do we attach a pdf which is saved on hardisk to sap mail ?
    Thanks in advance.

    A similar case was handled in the following code.
    REPORT Z_SCRIPT .
    DATA: itcpo LIKE itcpo,
          tab_lines LIKE sy-tabix.
    Variables for EMAIL functionality
    DATA: maildata   LIKE sodocchgi1.
    DATA: mailpack   LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
    DATA: mailhead   LIKE solisti1 OCCURS 1 WITH HEADER LINE.
    DATA: mailbin    LIKE solisti1 OCCURS 10 WITH HEADER LINE.
    DATA: mailtxt    LIKE solisti1 OCCURS 10 WITH HEADER LINE.
    DATA: mailrec    LIKE somlrec90 OCCURS 0  WITH HEADER LINE.
    DATA: solisti1   LIKE solisti1 OCCURS 0 WITH HEADER LINE.
    PERFORM send_form_via_email.
          FORM  SEND_FORM_VIA_EMAIL                                      *
    FORM  send_form_via_email.
      CLEAR:    maildata, mailtxt, mailbin, mailpack, mailhead, mailrec.
      REFRESH:  mailtxt, mailbin, mailpack, mailhead, mailrec.
    Creation of the document to be sent File Name
      maildata-obj_name = 'TEST'.
    Mail Subject
      maildata-obj_descr = 'Subject'.
    Mail Contents
      mailtxt-line = 'Here is your file'.
      APPEND mailtxt.
    Prepare Packing List
      PERFORM prepare_packing_list.
    Set recipient - email address here!!!
      mailrec-receiver = '[email protected]'.
      mailrec-rec_type  = 'U'.
      APPEND mailrec.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                document_data              = maildata
                put_in_outbox              = ' '
           TABLES
                packing_list               = mailpack
                object_header              = mailhead
                contents_bin               = mailbin
                contents_txt               = mailtxt
                receivers                  = mailrec
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                operation_no_authorization = 4
                OTHERS                     = 99.
    ENDFORM.
         Form  PREPARE_PACKING_LIST
    FORM prepare_packing_list.
      CLEAR:    mailpack, mailbin, mailhead.
      REFRESH:  mailpack, mailbin, mailhead.
      DESCRIBE TABLE mailtxt LINES tab_lines.
      READ TABLE mailtxt INDEX tab_lines.
      maildata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( mailtxt ).
    Creation of the entry for the compressed document
      CLEAR mailpack-transf_bin.
      mailpack-head_start = 1.
      mailpack-head_num = 0.
      mailpack-body_start = 1.
      mailpack-body_num = tab_lines.
      mailpack-doc_type = 'RAW'.
      APPEND mailpack.
    Creation of the document attachment
    This form gets the OTF code from the SAPscript form.
    If you already have your OTF code, I believe that you may
    be able to skip this form.  just do the following code, looping thru
    your SOLISTI1 and updating MAILBIN.
      PERFORM get_otf_code.
      LOOP AT solisti1.
        MOVE-CORRESPONDING solisti1 TO mailbin.
        APPEND mailbin.
      ENDLOOP.
      DESCRIBE TABLE mailbin LINES tab_lines.
      mailhead = 'TEST.OTF'.
      APPEND mailhead.
    Creation of the entry for the compressed attachment
      mailpack-transf_bin = 'X'.
      mailpack-head_start = 1.
      mailpack-head_num = 1.
      mailpack-body_start = 1.
      mailpack-body_num = tab_lines.
      mailpack-doc_type = 'OTF'.
      mailpack-obj_name = 'TEST'.
      mailpack-obj_descr = 'Subject'.
      mailpack-doc_size = tab_lines * 255.
      APPEND mailpack.
    ENDFORM.
         Form  GET_OTF_CODE
    FORM  get_otf_code.
      DATA: BEGIN OF otf OCCURS 0.
              INCLUDE STRUCTURE itcoo .
      DATA: END OF otf.
      DATA: itcpo LIKE itcpo.
      DATA: itcpp LIKE itcpp.
      CLEAR itcpo.
      itcpo-tdgetotf = 'X'.
    Start writing OTF code
      CALL FUNCTION 'OPEN_FORM'
           EXPORTING
                form     = 'Z08V3_COLLI'
                language = sy-langu
                options  = itcpo
                dialog   = ' '
           EXCEPTIONS
                OTHERS   = 1.
      CALL FUNCTION 'START_FORM'
           EXCEPTIONS
                error_message = 01
                OTHERS        = 02.
      CALL FUNCTION 'WRITE_FORM'
           EXPORTING
                window        = 'MAIN'
           EXCEPTIONS
                error_message = 01
                OTHERS        = 02.
    Close up Form and get OTF code
      CALL FUNCTION 'END_FORM'
           EXCEPTIONS
                error_message = 01
                OTHERS        = 02.
      MOVE-CORRESPONDING itcpo TO itcpp.
      CALL FUNCTION 'CLOSE_FORM'
           IMPORTING
                result  = itcpp
           TABLES
                otfdata = otf
           EXCEPTIONS
                OTHERS  = 1.
    Move OTF code to structure SOLI form email
      CLEAR solisti1. REFRESH solisti1.
      LOOP AT otf.
        solisti1-line = otf.
        APPEND solisti1.
      ENDLOOP.
    ENDFORM.
    Check it,it may help u.
    Regards

  • Requirement: Attach scanned document (PDF) to a batch

    Hi All,
    The client has the requirement to attach the scanned document (PDF) to a specific batch for documentation and legal audit purpose. Is this possible in SAP?
    I did some research, but I could not find any place in MSC2N (batch) to attach the document. I know that it is possible to attach the document in Material Master and BOM but not in batch.
    The option that I am considering is to create a batch characteristics to house the SAP document number. Then we would have to create some custom program where-in user can search batch info and simply click on the link for document number and see the scanned document.
    Please help to provide some suggestions on this requirement.
    Regards,
    Swapnil

    I found the config (t-code:ODOC) by which we can activate document management for batches.

  • When adding a PDF file to a New Message in Mail it does not show up as an icon link, the entire document appears. How can you attach a PDF without the entire document displaying itself?

    After scanning a document, I save the file in a PDF format. When attaching the PDF file to a New message it appears on the entire page instead of a PDF icon link that the recipient can click on to open. Why can't I get the PDF file to appear in a icon format? Thank you.

    Control mouse click the document and select View as icon.

  • How can I attach a PDF in an email, using javascript in PDF document?

    How can I attach a PDF in an email, using an interactive button in the PDF-document?
    I tried to create a form button with the menu action 'attach this PDF in an email'.
    This Send.to-action doesn't work with Microsoft.
    Does anyone has a solution by implementing a javascript-code for this in the PDF?

    Dick,
    Thanks for your replie.
    Nice alternative, but it still doesn't work on a Windows machine when the
    mail software from Microsoft doesn't react on PDF actions.
    You can do many things in Acrobat, but it is a problem when it doesn't work
    on Windows and iPad.
    So now I am looking for alternatives like  interactive magazine software
    (based on html5).
    2012/5/11 dick the flash <[email protected]>
       Re: How can I attach a PDF in an email, using javascript in PDF
    document?
    created by dick the flash <http://forums.adobe.com/people/dicktheflash>in
    JavaScript - View the full discussion<http://forums.adobe.com/message/4395927#4395927

  • Error while attaching PDF to FI doc via SAP services

    Hi,
    I am calling SCMS_DOC_CREATE_FILES funtion module to attach PDF to FI doc via SAP services and SAP internally calling standard function 'HTTP_POST_FILESu2019 with RFC_DESTINATION u2018SAPHTTPAu2019 and returned error due to connection fail.
    RFC DESTINATION SAPHTTPA checked and   its working fine.
    call function 'HTTP_POST_FILES' destination rfc_destination
        EXPORTING
          uri                   = absolute_uri
          path                  = component_path
          proxy                 = proxy
          trace                 = http_trace
          prefix                = component_prefix
          user                  = user
          pwd                   = password
        IMPORTING
          status                = status_code
          stext                 = stext
          error                 = cerror
          etext                 = comp_err
        TABLES
          resp                  = response_entity_body
          resphead             = response_headers
          reqhead               = request_headers
          comp                  = components
          compx_255             = componentsx
        EXCEPTIONS
          system_failure        = 1  message msg
          communication_failure = 2  message msg.
         output:   Sy-subrc is 0 and status_code is '403'
    response_entity_body internal table return the below error information:-
    -     HTTP/1.1 403 Forbidden
    -     Server: Apache-Coyote/1.1
    -     X-ErrorDescription: Genuine channels operation exception: Can not connect to the remote host "gtcp://127.0.0.1:49008". System error message: No connection could be made because the target machine actively refused it 127.0.0.1:49008.
    -     Content-Type: text/html;charset=utf-8                           Date: Tue, 08 Nov 2011 21:36:02 GMT
    -     Connection: close
    Please help i am not to able find the reason why i am getting status_code is '403' and RFC failed.
    Thanks
    Sireesha
    Edited by: Sireesha_SAP on Nov 10, 2011 8:53 PM
    Edited by: Sireesha_SAP on Nov 10, 2011 10:16 PM

    Hi,
    I would like to know what font type, you are using in the forms.
    Ideally it should be HELVETICA .
    If you are using any other font in your style/form,try changing it to HELVETICA & Test.
    Also Check the OTF data at the call of gen. FM,before converting it to PDF.
    Regds,
    AS
    Edited by: abheesawant on Oct 12, 2011 7:48 AM

  • I am unable to attach a PDF file from Documents

    I am unable to access and attach a PDF file from Documents

    I assume you are trying to attach a PDF to an email. I can perform this task several ways.
    With a Finder window open and the PDF showing in that window, drag the PDF to the Mail app icon on the dock. This creates a new email and attaches the PDF to it. (PDFs tend to attach in inline view mode, that is you can see the entire document. To see it as a file icon right click on the PDF text and select View as Icon.)
    I can drag the PDF directly into an open new email message if both the email message and the PDF file can be seen.
    There's an icon on the Mail toolbar that looks like a paper clip. Click on it to get a file selector and drill down until you see the PDF. Select it and click OK.
    Select Attachments from the Edit menu and choose Attach file to end of message

  • HT5361 How do I attach a PDF document and have it display as an icon, not the full document?

    When I attach a PDF file to an email message, the entire document displays.  How do I have the attachment display as an icon?

    Try using Applications/Utilities/Terminal - copy and paste the line below and hit return. Worked for me.
    defaults write com.apple.mail DisableInlineAttachmentViewing -bool YES

  • I have a Word doc with lots of Excel/Pdf attached doc inside. Can I convert this word doc in PDF keeping the attached documents inside the PDF? or do I have to attach all af them again? thank in advance

    I have a Word doc with lots of Excel/Pdf attached doc inside. Can I convert this word doc in PDF keeping the attached documents inside the PDF? or do I have to attach all af them again? thank in advance

    Attach all of them again.
    Be well...

Maybe you are looking for