Upload documents from webdynpro to R/3

Hi All,
I have referred to the below thread and created a RFC which gets the binary content and uploads it to DMS.
How to upload file from Web Dynpro into R/3 (BAPI_DOCUMENT_CREATE2)
The file is getting created without any problems. But i am unable to open this file directly from DMS using the transaction CV03N. For example when i upload a PDF and when i try to open the document in CV03N it launches the application with an error message
<i>"Acrobat Reader could not open '_DEVCC10.PDF' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasnt correctly decoded)."</i>
When i upload a text file it opens some junk data and not the original content that was uploaded from portal.
<b>Can someone help me out in finding out the problem?
Also can someone help me in understanding what is the exact data that needs to be passed to <i>BIN_CONTENT</i> as mentioned in the above thread.</b>
Thanks,
Prasath N<i></i>

Can anyone help me on this?
Thanks,
Prasath N

Similar Messages

  • Upload documents from transactional screen - Sale & Purchase Order

    hi All,
    I am trying to have DMS attachment from trx - VA02 directly. I have come across few links which say - this is possible.
    upload documents from user transactional screen to content storage area | LinkedIn
    I am able to get the functionality for CJ20N - 'WBS Element' Object (Screenshot attached). Can someone pl suggest if I am missing something to get the same functionality for Sale Order / PR & PO.
    For Sale Order - I believe the 'Create' icon shall be 'Enabled' once I navigate - Extras -> Documents.
    -thanks

    Hi
    This button is only displayed if you use the new screen logic (see note 1066915) and when you have maintained the necessary customizing for the required document types and objects in transaction DC10.
    So I would kindly ask you to go to transaction DC10 and mark a document type where the necessary object is linked under 'Define object links'. Choose the right object and display its details by double-click. Then you will see the field 'Create document' where you have to enter a value '1' (using transaction) or '2' (simple creation). Please enter a value and flag the 'Additional function' checkbox too.
    /Tilak

  • I want to upload documents from my pc (windows vista) to the cloud so I can see and edit them on my iPad 3. How do I do this?

    I want to upload documents from my pc (windows vista) to the cloud so I can see and edit them on my iPad 3. How do I do this?
    I have the cloud on my pc and I've moved documents to it, but they don't update when I update the one on my pc.
    And I don't know how to get them on my iPad. I have the new ios7, btw. Just got it but couldn't find my documents with ios6
    Thanks

    You can upload files to Dropbox and edit them with Quickoffice Pro HD.
    http://i1224.photobucket.com/albums/ee374/Diavonex/aed9d078ffa732f02b48eebd3b723 95d_zpsa0036f7b.jpg

  • Send upload document from BSP to EP6-KM

    Hi everybody,
    i upload document from a BSP and i want send this document to KM-CM. I don't want use Web folder to do this, i can't create a java code with Javadocs, I want (i must) use WebDAV protocol.
    I find documents for Content Server (transaction, customizing ... ContentServer.dll and it's works) but nothing about KM Content Manager and i must use KM not CS.
    Can somebody help me ?
    Best regards.
    Daniel

    I found a solution using Webdav in ABAP code.

  • How to pass thr document from Webdynpro into SAP R/3?

    HI Gurus,
    I have a requirement to offer a Document uploading option through Java webdynpro screen.
    I have referred the below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    which has the steps till uploading the document into Webdynpro
    Now my requirement is to pass the document into SAP R/3? is there any RFC for that?
    Please ad

    Refer Oliveri's solution in [this|Re: How to upload file from Web Dynpro into R/3 (BAPI_DOCUMENT_CREATE2); thread.

  • How to pass the document from Webdynpro to SAP R/3?

    HI Gurus,
    I have a requirement to offer a Document uploading option through Java webdynpro screen.
    I have referred the below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    which has the steps till uploading the document into Webdynpro
    Now my requirement is to pass the document into SAP R/3? is there any RFC for that?
    Thanks in Advance,
    Dharani

    Hi,
    The documents are uploaded from WDJ to Portal Server  / Portal Content Directory / Some Shared Drive .
    So that they can also be programmed such a way that they can be fetched whenever needed .
    The requirement is interesting but before you take step think how far it is feasible .
    Regards,
    Srini

  • 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

  • Upload documents from ESS Web Dynpro through Archivelink

    Hi Guys
    I am aware that ESS Whos Who has a functionality where the user can upload his own Photo and this makes use of the SAP Archivelink Architecture.
    We wish to make an iView that enables users to upload documents (other than photos) using Archivelink. This should be possible since it can be done for photos anyway.
    Does anyone know how to go about it? What are the configuration steps / coding required. Any help will be appreciated.
    Thanks and Regards
    Joy Kaushish

    Hi Joy!
    I haven't implemented from java, but from ABAP.
    You have to call the FM "ARCHIV_CREATE_TABLE".
    e.g.
      constants: c_sap_object like toaom-sap_object value 'PREL'.
      data: l_ar_object like toaom-ar_object.
      data: object_id like toa_dara-object_id.
      data: flength like sapb-length.
    call function 'ARCHIV_CREATE_TABLE'
          exporting
            ar_object                = l_ar_object
            object_id                = object_id
            sap_object               = c_sap_object
            flength                  = flength
          tables
            binarchivobject          = curr_dat
          exceptions
            error_archiv             = 1
            error_communicationtable = 2
            error_connectiontable    = 3
            error_kernel             = 4
            error_parameter          = 5
            others                   = 6.
    I hope, this hint helps!
    Thanks in advance for rewarding points!
    Peter

  • Upload document from Portal to SAP R.3 DMS

    Hi Experts,
    We are trying to get the attachemnts from enterpriseportal to SAP R/3 DMS Server using <B>BAPI_Document_Create2.</B>
    1)We use the method upload file to application sever from portal it is working but by attaching to DMS Server it not attaching.
    2) BAPI export params we are passing pf_http_dest = 'SAPHTTPA'.
    Developing in Webdynpro java application by using the above RFC function module and when I try to run the application it will show the size sent to R/3 system but it is not uploaded to R/3.
    Can any one suggest in this we are struckup to do this.
    Waiting your replies.
    Thanks & Regards,
    Lohitha.

    Hi,
    The documents are uploaded from WDJ to Portal Server  / Portal Content Directory / Some Shared Drive .
    So that they can also be programmed such a way that they can be fetched whenever needed .
    The requirement is interesting but before you take step think how far it is feasible .
    Regards,
    Srini

  • I am thinking of changing to a IMaC for my computer and Want to know if I will be able to upload documents from my old computer and all my photos. Everything is in Microsoft Word and excel. I have a iphone and ipad so that is why i am thinking of changing

    If I change to a IMAC will I be able to upload all my photos and word and excel documents? Also does it have USB ports like I have already used?
    Is there a DVD player on IMACS? It is scary making the move until I am sure I can use everything I already have.  I also have NEAT for all my recepits also.

    When the new Mac first starts up, you get the opportunity to migrate your files from another computer, including a PC. This link tells you how to do it from Windows.
    As for the iMac's features, you can look through this website to get all the details.
    It is possible to install Windows on a Mac and run your Windows applications within it. It's also possible to use programs that are for the Mac which can work with most MS Office files. One good example is LibreOffice.
    Welcome to the Mac.

  • Uploading documents from Cloud

    I'm still pretty new to IPad and have just uploaded my resume onto it from my computer.  I am wanting to apply for jobs online and most sites have a button to allow you to upload your resume.  I saved my resume inCloudReader...not sure if this was the right thing to do?  Unfortunately, on the job sites, I can't seem to access this resume from anywhere.  Is there somewhere or some other way I shou,d be saving this or any other document ?
    I get a bit confused with ICloud and what I can save and how to access and edit/forward documents etc.  Any help would be greatly appreciated!!

    The problem is that to send a file on an iDevice, you need to be in an app that has a copy of the document and then send it via whatever means that app provides, like email.  However, what you're trying to do is initiate a send from the browser, and it can't grab a file stored in some other app (safari can't store files in itself).  I fear you'll have to use a computer for this.

  • Create PMD (Clinical Document) Document from Webdynpro ABAP

    Greetings everyone,
           I have developed two PMD document category(Tcode :N2T6 ) for Clinical documents in SAP R/3 and somehow with the limitation of R/3 in terms of developing user friendly screens like Auto fill and image processing etc...,Users do not satisfy with it.So we are planning to develop in Webdynpro ABAP.But i am not sure how do we integrate the webdynpro development with IS-H PMD (clinical documents) documents ,also I am looking for BAPI's to create our customized parameterized documents.Any help will be really appreciated.
    Thanks,
    Vignesh

    Hi Vignesh,
    You are right that certain features, such as auto-completion, are not supported in the PMD toolset. But as most of the data captured in those documents have a high importance for treatment process, you need to elobarate whether such a feature has any impact on patient safety. Just a quick one - user types An ... and the system determines matching diagnoses such Anorexia or Angina. In case the user picks the wrong one by accident the patient safety is an issue.
    Other features such as image management can be used. For that you need to use a PMD link module which does provide the image integration. Siemens will ship in the next release EhP6 such a link module for a third party imaging software. Beforehand the link module use with custom development.
    In general Siemens has started a product redesign program named "Smart UI". It's major aim is to provide an up-to-date user interface for all major application within i.s.h.med. The very first application we plan to ship is a web-based electronical medical record.
    In case you still want to develop your application, I'm sorry to say, but there are no BAPIs or Web services in the standard delivery. For changes to existing documents you can utilize the PMD API of generator version 2. But be aware that document creation is not supported by the API. You need to have a document. Also certain user exit developments may brake a change without having the GUI running. For instance a popup in the save routine will cause a dump if no SAP GUI is available.
    Hope this help.
    Axel Biernat
    Siemens AG
    Product Commercialize

  • Zip uploaded documents from user

    We have some documents that the user occasionally uploads to a quotation in ISA for individual line items. I need to take these documents, zip them to save memory and pass them along to a 3rd party document management system.
    Does anyone know if there is any functionality in either the Java side of ISA or R/3 (or CRM) to zip files? I've looked for function  modules on the R/3 - CRM side and haven't found anything.  I'm new to Java and ISA and I am not very familiar with what is available there.
    Thanks,
    Brent

    Hi Brent,
    I've had to deal with plenty ZIP stuff on the SAP Portal but my requirements where a little different (BUT I hope it helps you somehow...)...you see suppliers uploading data into our SAP system often had slow lines and connection timeouts would occur etc. So what I did was I allowed them to ZIP their Excel files etc on their side and then upload them via the Portal...thereafter I would unzip them in code and pump them into SAP...here is some sample code to show you the libraries I used...may help you...
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Enumeration;
    import java.util.zip.ZipFile;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipException;
    public InputStream unzip(File file) throws ZipperException{     
    ZipFile zf = new ZipFile(file);
    Enumeration e = zf.entries();               
    ZipEntry ze = (ZipEntry)e.nextElement();
    return zf.getInputStream(ze);
    So what you can do is once you get the file on the server side you can use the objects in the "java.util.zip.*" package to zip the file and then use some "file manipulating" objects to then move this zip file to another directory etc on the document management systm side.
    I could also help you do a similar thing if you where working with BSP's and ABAP but you asked for Java advice....
    Let me know what you end up doing
    Chow
    Lynton

  • Upload/Read Documents from SAP-CRM to/from SharePoint

    Hello ,
    We have a requirement to upload documents from SAP CRM to share point(select the document from the desktop and pass the data to sharepoint server) , the user should also be able to view the documents located in Sharepoint.
    There are web methods in SharePoint already developed which will allow the uploading of the documents and passing the location of the stored documents as URL back to CRM.
    Could any one please help me in the follwoing
    1. Configurations to do on SAP side for Calling the methods developed in Sharepoint.
    2. Configuration to pass the document from SAP CRM(Uploaded from desktop) to sharepoint.
    Thanks in advance

    Hi Ravi,
    We also have a similar requirement in which we need to read the document stored in an external server from SAP CRM. Can you please let me know know how you achieved this. I will know the exact path (URL) of the document. Using this is it possible to retrieve the content of the document.
    Regards,
    Sudha.

  • How do I upload documents (i.e Word) rather than photos when I click on 'choose existing documents'?

    When replying to an email request to update my CV, when I click on 'upload document/choose existing document', I'm only given the option to upload my photos. I want to be able to upload documents from my GDrive, without having to start a new email. Please advise. Thanks.

    File uploads from Safari are limited to contents of the Photo app at this time. You might try an alternate app such as iUploader or iCab Mobile.

Maybe you are looking for

  • Hot Macbook Pro

    I have a 7 month old Macbook Pro 2.66 GHZ 4 Mg RAM 360 GB HD. I have SMC fan control and Istat widget that shows the same CPU temp and until about 3 weeks ago it ran at about 115-120F until one day it went to 180F. I took it to an authorized Apple re

  • Agent Determination For Alerts

    I want to trigger SMS and Notification alerts when PO is created ,sales order is created like this.I configured alerts in ALRTCATDEF TXn .   i want to trigger a alert  to vendor in PO. how to pick the agents for the alerts

  • JWSDP doesn't install

    Hey all, Any help w/ the following when trying to install the JWSDP 1.3 tools. I'm installing this on a gentoo system. $ /bin/sh jwsdp-1_3-unix.sh Using /var/tmp as temporary directory... tail: `-1' option is obsolete; use `-n 1' since this will be r

  • LMS 4.2 User Tracking (Ani Server) issue

    Running LMS 4.2. I have an issue where Data Collection, UT Acquisition, and VRF Collection go from normal display (on Device Status Portal Page) to "loading". At this point user tracking stops functioning. Eventually a number of processes are reporte

  • Firefox runs in win tak manager/processes but browser opens only when internet connection is terminated

    Firefox was working wonderfully. After I uninstalled and installed two applications (Photoshop trial version and Realplayer ) simultaneously with ashampoo uninstaller, Firefox browser fails to open no matter how much I click on the icon. In the Windo