Attach document from server to delivery in VL03N in automatic way.

Hello experts,
In Vl03n i have the option to attach document  to delivery in this way : service button -
> create attachment
And choose the file that will be attach to this delivery.
After this operation i can display in this document like this way: service button -
> Attachment list.
I want to attach  one document that exist in server "
Cilaff01\data$\Sap\Sela\Delivery_Note\file_name"  to delivery.
Every time , that the user create or change the delivery in VL02N tcode , will be create attachment from this delivery
To  suitable document that exist in server "
Cilaff01\data$\Sap\Sela\Delivery_Note\file_name".
After this operation i will be can display this document like this way: service button -
> Attachment list.
File_name = delivery number.  ********
Thanks for  the help,
Avi.

This is the place where you need to read your file contents:
In case of File attachments
     WHEN 'EXT'.
      Upload the file contents using open dataset in lt_doc_content .
      Some conversion ( Compress ) might be required.
      Not sure at this point
Then for the object key - debug to find what is being passed when you attach something to a delivery  - alternately look in table SRGBTBREL for details
Here is a typical example:
Rel. type                         ATTA  
Instance ID     (INSTID A)        <delivery number>                          
Object Type     (TYPEID A)        LIKP                                 
Object Category (CATID A)         BO                                   
Instance ID     (INSTID B)        FOL30000000000024EXT36000000000789   
Object Type     (TYPEID B)        MESSAGE                              
Object Category (CATID B)         BO

Similar Messages

  • To save a word/xls document from server machine to client

    Hi Folks,
    I am facing a problem in storing a document from server to client machine.
    I have a document in Oracle database BLOB column and i am able to read and open that document in client browser. But it is stored in the server machine when accessing from the client browser it is opening as a read only copy.
    I want to open it as editable copy in client machine and once it is edited i want to save back to the databse. But it can be stored in server or client machine without promting to the user.
    Any one can help me?
    Senthil

    Hi, I am wondering whether this will take time for a document/image which is about 3, 4 MB??? Cos customer has to scan documents one by one and the saving of the file in the DB and then using that to transfer to MSMQ (which is the requirement) should take less time than scanning 2 documents.

  • I am unable to create adobe file from attached document from email

    I am unable to create adobe file from attached document from email. No 'open in' link is available as given in directions. What to do?

    Because there is no abode on the IOS.  you'll need to do a search in the app store to resolve your issue.

  • Allow users to Download documents from server

    Hello Everybody,
    I am working on an Flex application where I have to allow the
    users to Open/Save documents such as Word document, Excel sheet,
    PDFs, Jpeg, Media files (any digital format document) when a user
    clicks on a link present in a Flex application. To do this I am
    using the navigateToURL() method and simply passing the URL string
    as a URLRequest to the navigateToURL method. This works fine but
    whenenver the link is invoked and the user selects to Save the
    Excel sheet or any document it displays an unwanted browser window
    behind the Open/Save/Cancel dialog box saying action cancelled.
    I can not use "_self" as I require the Flex application to
    run as is. I tried using the javascript:window.open() but this did
    not work.
    1) Is there a process to stop the browser window from
    opening?
    2) How can we invoke a javascript using navigateToURL(), I
    tried to invoke javascript.alert('Ok') and also
    javascript:window.open() both did not function.
    3) Is there any other method or flex classes etc. to invoke
    external applications (allow to download documents from server)?
    Please help me.
    Thanks and Regards,
    Paromita

    Paromita,
    You could use the file download functionality. This is from
    the docs:
    You can let users download files from a server using the
    FileReference.download() method, which takes two parameters:
    request and defaultFileName. The first parameter is the URLRequest
    object that contains the URL of the file to download. The second
    parameter is optional--it lets you specify a default filename that
    appears in the download file dialog box. If you omit the second
    parameter, defaultFileName, the filename from the specified URL is
    used.
    The following code downloads a file named index.xml from the
    same directory as the SWF document:
    var request:URLRequest = new URLRequest("index.xml");
    var fileRef:FileReference = new FileReference();
    fileRef.download(request);
    To set the default name to currentnews.xml instead of
    index.xml, specify the defaultFileName parameter, as the following
    snippet shows:
    var request:URLRequest = new URLRequest("index.xml");
    var fileToDownload:FileReference = new FileReference();
    fileToDownload.download(request, "currentnews.xml");
    I think this will accomplish what you are trying to do.
    Vygo

  • Transfer attachment document from purchase Requisition(ME51n,ME52n) to Purc

    Hi
    How to do Transfer attachment document from purchase Requisition(ME51n,ME52n) to Purchase order(ME21n,ME23n).

    Hi Muthu,
    I understand that it is possible to bring attachments from ECC to the SRM system for the new release.
    However, I have a slightly different question.
    If I want to bring in requirements from a legacy system to SRM 7.0 system directly, what is the feasability of the same? If I have an attachment linked in the legacy system, then is it possible to bring it in SRM 7.0 system directly or will I be forced to route it to ECC 6.0 and then use the Plan Driven Procurement scenario for getting it into SRM?
    Regards,
    Abhilash

  • My gmail accounts are connected to Apple Mail. The issue I'm having is in not being able to attach documents from folders and subfolders.  Can anyone direct me to a resolution.

    My gmail accounts are connected to Apple Mail. The issue I'm having is not being able to attach documents from folders and subfolders to an email.  Can anyone provide insight on how to drill down to the documents I need?

    Hello Wilsonneedshelp,
    Thanks for the question. After reviewing your post, it sounds like you need some help adding attachments in Mail. I would recommend that you read this article, it may be able to help the issue.
    Mail (Yosemite): Add attachments
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • Copy attached documents from network activity to purchase order

    Has anyone ever tried copying attachments (e.g. MS Word documents) from an external activity in the project to the purchase requisition and purchase orders that are created from it?
    Our client would like to attach detailed specs for the purchasing in the Project Builder. The specs will then be used by Purchasing when they request offers from vendors, and finally attach it to the PO when it is created.
    Any ideas how this can be solved? Any best practices or recommendations?
    We're working on 4.6C and don't use EBP.
    Thanks in advance for the help!
    Pim

    Hi Pim,
    If the same document should be used for more than 1 object, it is better to my opnion to use a link and not an attachement (in that way you are sure to have the same information, it is a golden rule never to have the same info twice). You have to think about where to put your documents. You could use for instance a file server. Other solutions supported by SAP are possible.
    You could make use of an ABAP development to create the same link to the purchase requisition as to the activity (based on a user exit or use a workflow to trigger the creation of the link).
    Regards,
    Paul

  • 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

  • How to attach document from webdynpro TO workflow

    Dear friend,
    For one requirement i want to attach documents(.doc or .pdf)
    from webdynpro form.
    I want to display it with user decision step along with description.
    I am confused that which container element would contain it?
    and how can i display it along with description?
    How can i attach document to the workflow?
    Please guide me stepwise.
    Thanx in advance!
    Regards,
    Purvesh.

    hi,
    Please Refer to the thread.
    How to Attach a pdf file which is created in EP while sending the mail
    Regards
    Sumit Agarwal

  • Opening documents from server takes forever

    If I Lion users creates a document on the server in say something like TextEdit then reopens TextEdit later they are greated to a spinning beach ball while TextEdit tries to resume editing that previous document from the server. I dont want to turn off autoresume since they like being able to log out and return to where they left off when they log back in. But man watching that beach ball spin is painful and takes forever.

    Anyone else seeing this. If you have a network user just open a TextEdit document from an AFP share and see if it beachballs TextEdit when the document opens.
    Originally I thought it was the auto-resume feature so I turned that off but I am still seeing the beachballing with apps like TextEdit, Quicktime, and Preview. So I am led to believe it has something to do with the new auto-save/versioning feature that is having issues with files stored on network sharepoints.

  • Attaching documents from desktop to FIORI

    Hi everyone,
    Is it possible to add documents from desktop/tablet to FIORI apps? If yes, it leads to further questions:
    a. how can this be implemented/activated?
    b. is there any inherent virus control?
    c. what are the document types allowed?
    d. size limits?
    e. DMS/archiving.
    We have  biz case in invoice approval. Looking forward to your f/b.
    cheers

    Hi Vlkram,
    If you do not want to change the business process, I recommend Fiori Approve Requests app. Attachments are stored in workflow container.
    Approvers can approve/reject/forward/comment but there is no creating attachment in the standard.
    If creating attachment from approver side is mandatory, you can extend the standard app by using UI extension points. Please look at SAP Fiori - Extensibility.
    Is there any business requirement for approving documents in their mobile devices? In that case, is excel attachment the best option?
    Regards, Masa
    SAP Customer Experience Group - CEG

  • Print Attached Documents from Order Release

    Hello Gurus!
    We have an issue with a client that needs to print various documents in Word format along with the production order. I have mantained all of the setting in DMS and have attached the documents to the product as well as the production order. What I need the system to do is to automatically print these attached documents. I have used the LV03 setting to print the document list. My questions are:
        1.  Is there a standard function that I am not aware of to print the documents automatically?
        2.  Is there a form in SAP to print documents or will I be able ot create a form using either SAPscript or SmartForms to obtain this function?
    Any additional information will be appreciated and points will be awared!
    Thank you!

    Hi Steven,
    1. Get BOM details for order (dokar, doknr, dokvr and doktl).
    2. Get the files (document ) path using following FM
        CALL FUNCTION 'CVAPI_DOC_GETDETAIL'
             EXPORTING
                  pf_dokar     = dokar
                  pf_doknr     =doknr
                  pf_dokvr     = dokvr
                  pf_doktl     = doktl
                  pf_read_kpro = c_x
             TABLES
                  pt_files     = t_files
             EXCEPTIONS
                  not_found    = 1
                  no_auth      = 2
                  error        = 3
                  OTHERS       = 4.
    3. Print the documents using following FM.
      LOOP AT t_files INTO wa_files.
        CONCATENATE wa_files-pathname wa_files-filename INTO
                    wa_files-filename.
        CONDENSE wa_files-filename.
        CALL FUNCTION 'CV120_START_APPLICATION'
             EXPORTING
                  pf_dappl = wa_files-dappl
                  pf_apptp = c_3
                  pf_file  = wa_files-filename
             EXCEPTIONS
                  OTHERS   = 0.
      ENDLOOP.
    Hope this will help you.

  • Attaching document from iwork

    i recently got a MacBook Pro and installed the iwork program immediately. I cannot figure out how to attach an iwork document into an email. Furthermore, is iwork compatible with Microsoft Word, can I import an emailed iwork 'pages' file directly into a Word document? Any help appreciatedm
    LC

    A pages document is actually a bundle, so emailing it has one additional step -- you have to zip it up first. In the finder, you can just choose the "archive" command to zip it, then attach the zip file. But only another Pages user can open it. Word will not be able to.
    But in Pages, you can go to File>Export, and choose Word, and it will export a very nice Word document which you can then send in the ordinary way.
    If you're doing a collaborative project where both you and recipient need to edit the document, Word docs would probably be best. But unless that's the case, why not send it as a pdf? Again, in Pages, you can export to a pdf, or do it via the print dialog as in other apps.

  • Attach document from application server using BAPI

    Hi,
    I am trying to attach files to Document Info Record using BAPI
    BAPI_DOCUMENT_CHECKIN_REPLACE2. When i execute the z program that calls this BAPI on
    presentation server in foreground by giving path of documents which are locating on local pc it works
    fine and check in the file in document infor record
    But when i run program in background and file path is of application server.It gives error that
    Program no longer started via RFC. No return possible.
    I want to know the cause of this error.
    Please help.

    i think u need to pass Storage category  = FILESYSTEM.
    check the documentation of data element -
    DE CV_STORAGE_CAT
    but i'm not 100% sure abt it.
    regards
    Prabhu

  • How to upload and down load Document from Server in Webdynpro Java

    Hi,
    I have to upload and download document to the server and from the server.
    The examle and the sample application which is available in SDN is not helpful as its about uploading and downloading from the application context.Please let me know how to upload/download from teh server.
    Sandip

    Hi sandip,
         I have same requirement.If u get any source please let me know.
    reagrds,
    Anuradha

Maybe you are looking for

  • Payment Methods : Payment Demand

    Hello Experts, I need help on how the payment demand functionality works ? This is used for Customer Collections in FBZP transaction under payment methods by country especially France. Can anybody explain step by step process as what needs to be done

  • Bdb deadlocks when opening database

    When I call _dbp->open(), the library hangs.  I am attempting to test how BDB works during system crashes, in order to code my application appropriately, but these hangs are difficult to work with. I am running multiple processes all reading and writ

  • Get Attachs by Code

    Dear All, I don't know if I'm in the right place, but I use the Field Service application, and I need to extract some attachments using a customized BS. Is it possible? If yes, how can I achieve this requirement? Thanks in advance. Rose Edited by: us

  • Oracle 8i Error "ORA-04030"

    Hi there! Can somebody help me on this issue???. I've been getting this error several times this week, but I can't find any solution. I've read many stuff about it, but all of them are about "OS issues". Does anybody know something different, or at l

  • Anybody Can Help me on Upgrading?

    Hi,experts:     can somebody provide some information about upgrading on QUERY / QUERY VIEW / WEB APPLICATION,what should I do when doing upgrading.     I'm upgrading from 3.5 -->BI 7.0     your quick answer will get points quickly. B.R. Martin Xie