Uploading documents in UCM from ADF

Hi All,
I have to upload documents(Audio/Video/Images) in UCM through ADF page. How it can be done.
Thanks,

Hi Yannic,
I tried the RIDC part. But got the following error:
java.lang.NullPointerException
     at view.beans.IndexBean.uploadListener(IndexBean.java:51)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at com.sun.el.parser.AstValue.invoke(Unknown Source)
     at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)
     at oracle.adf.view.rich.component.UIXDialog.broadcast(UIXDialog.java:97)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
     at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
     at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
     at java.security.AccessController.doPrivileged(Native Method)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
It is occurring for this line:
File f = UCM_API.inputStreamToFile(file.getInputStream(), file.getFilename());

Similar Messages

  • About "Upload and download files from ADF into blob type colum."

    hi
    Using JDeveloper 10.1.3.3.0 I have tried the example available for download from this blog post by Jakub Pawlowski:
    "Upload and download files from ADF into blob type colum."
    at http://kuba.zilp.pl/?id=1
    First a thank you to Jakub for this interesting example.
    I have a question about a PDF file that I uploaded using the example.
    The file has a size of 10445518 bytes.
    After I upload that file, the blob column has a value with a size of 10445516 bytes, 2 bytes less.
    SQL> select file_name, dbms_lob.getlength(stored_file) from blob_table;
    FILE_NAME
    DBMS_LOB.GETLENGTH(STORED_FILE)
    ADF-DeveloperGuide-4GL-B25947_01.pdf
                           10445516If I download that file using the example, it has the same size as the blob value, 10445516 bytes.
    If I open the downloaded file, using Adobe Reader 8.1.1, it first shows this message:
    "The file is damaged but is being repaired."
    After that, there is not problem using the PDF file in Adobe Reader.
    I have tried this with both Internet Explorer 6 and Firefox 2.0.0.11.
    I have also tried this with other (smaller) files, and those upload and download correctly.
    question:
    Why are those 2 bytes lost during upload?
    many thanks
    Jan Vervecken

    Hi!
    I can only post you my code that works for me and as I said I had same problems but can't remember what solved them. My code:
      public void fileUploaded(ValueChangeEvent event)
        FacesContext fc = FacesContext.getCurrentInstance();
        UploadedFile file = (UploadedFile) event.getNewValue();
        if (file != null && file.getLength() > 0)
          // here I have some messages written and a call to the method on AM to save the uploaded file to the DB
      private BlobDomain newBlobDomainForInputStream(InputStream in)
        throws SQLException, IOException
        BlobDomain loBlob = new BlobDomain();
        OutputStream out = loBlob.getBinaryOutputStream();
        writeInputStreamToWriter(in, out);
        in.close();
        out.close();
        return loBlob;
      private static void writeInputStreamToWriter(InputStream in,
                                                   OutputStream out)
        throws IOException
        byte[] buffer = new byte[8192];
        int charsRead = 0;
        while ((charsRead = in.read(buffer, 0, 8192)) != -1)
          out.write(buffer, 0, charsRead);
       * Launch the upload - see fileUploaded() for actual upload handling.
       * @return null navigation event - we stay on this page
      public String UploadButton_action()
        if (this.getMyInputFile().getValue() == null)
          FacesContext context = FacesContext.getCurrentInstance();
          FacesMessage message =
            new FacesMessage(FacesMessage.SEVERITY_WARN, JSFUtils.getStringFromBundle("fileupload.emptyfielderror"),
                             null);
          context.addMessage(this.getMyInputFile().getId(), message);
        return null;
       * Setter for inputFile UI Component.
       * @param inputFile inputFile UI component
      public void setMyInputFile(CoreInputFile inputFile)
        this.myInputFile = inputFile;
       * Getter for inputFile UI Component.
       * @return inputFile UI component
      public CoreInputFile getMyInputFile()
        return myInputFile;
      }fileUploaded is a valueChangeListener on inputFile and UploadButton_action is as the name says the action for upload button.
    Hope this helps. If not, than your problem is probably not the same as mine was, although the message about file corrupted was the same.
    Next thing you can check in this case is if your file exceeds max file upload size. I don't know the exact default value, but if the file is too long I think this upload logic will upload only a part of the file and save it to the DB which can also lead to the same file corrupted error.
    You can set the max upload value in web.xml like this:
    <context-param>
    <!-- Maximum memory per request (in bytes) -->
    <param-name>oracle.adf.view.faces.UPLOAD_MAX_MEMORY</param-name>
    <!-- Use 5000K -->
    <param-value>5120000</param-value>
    </context-param>
    <context-param>
    <!-- Maximum disk space per request (in bytes) -->
    <param-name>oracle.adf.view.faces.UPLOAD_MAX_DISK_SPACE</param-name>
    <!-- Use 10,000K -->
    <param-value>15360000</param-value>
    </context-param>

  • Access Denied Error while uploading document in UCM server

    Hello,
    I am using Oracle Jdeveloper 11.1.1.6 and my application is build on ADF faces stack.
    I am using Oracle UCM for storing and retrieving documents and that content id is stored in my database, which i use to interact with UCM.
    My UCM server is on an ip which starts with 10.184.*.*, when i tried uploading/downloading a file from a client machine which has the ip starting with 10.184.*.*, then it is fine, but when i use a different client machine which has the ip starting with 10.180.*.* or anything else apart from 10.184, then am getting an error like "Permission denied. Address '10.180.218.230' is not an allowable remote socket address"
    Any help on this highly appreciable.
    Regards,
    Vinothgan AS

    Hi Vinothgan,
    You need to add the new IPs to the IP Address Filter via Enterprise Manager. Here are the steps.
    1. Login to EM
    2. Navigate to Webcenter->Content->Content Server
    3. Select the Content Server instance
    4. Choose 'Configuration' option form the Content Server menu
    5. Add the new IPs to the IP Address Filter
    6. Restart the webcenter content manager server
    Alternately
    1. Browse the Webcenter Content installation folders
    Ex: OracleWC\Middleware\user_projects\domains\ecm_domain\ucm\cs\config
    2. Edit the config.cfg file
    3. Append the new IP to the configuration variable SocketHostAddressSecurityFilter (Ensure it is pipe seperated '|')
    4. Restart webcenter content server
    HTH
    Regards,
    - Anand

  • How to upload documents to DMS from web application externally

    We have a webdynpro based J2EE application. We want to create a SAP DMS ( KPRO ) document using this web application externally.
    Any inputs on this scenario ?
    I am able to create similar using an ABAP report which reads the client file and create the DMS document using BAPI_DOCUMENT_CREATE.
    How do we achieve this using external web application ..
    Please HELP in this.
    Thanks..

    Hi Divya,
    Good day...!
    A custom UI component will berrequired to upload the data from a Flat File into CRM WEBUI.
    The View in this UI Component can have 2 fields lets say u2013  ID and File to Upload and a button 'upload'.
    When the UPLOAD button is clicked , the event u2018ONFILEUPLOADu2019 is triggered.
    A Javascript function u2018fileUpload()u2019 reads the Excel file and formats the data in the form of a long string with Line Breaks corresponding to each row in the excel file. This string is stored in a Hidden HTML form element u2018Excel_Datau2019.
    In the Event Handler for u2018ONFILEUPLOADu2019, the hidden form element u2018EXCEL_DATAu2019 is read and retrived.
      lv_file_data = request->get_form_field( name = lv_excel_data ).
      me->lv_id = request->get_form_field( name = lv_schema_id ).

  • Not able to upload Documents using  BAPI_DOCUMENT_CREATE2 (From SE37)

    Hi
    Not able to upload and created Document in SAP DMS Repository using Function BAPI_DOCUMENT_CREATE2.
    I'm using this BAPI directly from SE37.
    Alwasy it is giving Error - E26 253 Error while checking in and storing:c:\ZANALYSIS_PATTERN.XLS
    Inputs I have given -
    In Document Data -
    Document Type - SDC
    Document Version- 00
    Document Part - 000
    Description - TEST
    In Document Files -
    Document Type - SDC
    Document Version- 00
    Document Part - 000
    Storage Category - ZHCL_CS
    WS Application - XLS
    DocPath - C:\
    DocFile - C:\ZANALYSIS_PATTERN.XLS
    Language - EN
    CheckedIn - X
    PF_FTP_DEST - SAPFTPA
    PF_HTTP_DEST - SAPHTTPA
    DEFAULTCLASS - X
    Please advice if I had skipped something and mentioned anything wrong.
    Thanks
    Prashant

    HI,
    I am also uploading a pdf file to dms through bapi_document_checkin.
    I am getting error E26 253 Error while checking in and storing:C:\DOCUMENTS AND SETTINGS\AGARW01S\DESKTOP\10 2_VIEW 1.PDF
    Inputs I have given -
    In Document Data -
    Document Type - SPE
    Document Version- A
    Document Part - 000
    Description - UPLOAD
    In Document Files -
    Document Type - SPE
    Document Version- A
    Document Part - 000
    Storage Category - DMS_C1_ST
    WS Application - PDF
    DocPath - C:\DOCUMENTS AND SETTINGS\AGARW01S\DESKTOP\10 2_VIEW 1.PDF
    DocFile - 10 2_VIEW 1.PDF
    Language - EN
    CheckedIn - X
    PF_FTP_DEST - SAPFTPA
    PF_HTTP_DEST - SAPHTTPA
    can u please help me as it is urgent.
    Shilpa

  • Upload and download files from ADF into blob type colum

    i have a question about Kuba's example ( http://kuba.zilp.pl/?id=1# )
    after you have upload the word documents, and when u click on the downoad button that document is open... i want to know if it is possibile that afer you have download the document, you make some changes on it and then to save these changes on the database? any idea if this can be done? Thanks in advance :)

    If you download the entire application from that link, the create.sql file is included in the \DBModel\model\zilp\testcase\dbmodel folder
    It's a rather complicated matter in my opinion. Download the app, open it in JDev and use debug-mode to go through it step by step, so you can try to understand everything that happens.
    Good luck :)

  • Upload documents to iPhone from my mac

    I'm thinking of buying an iPhone but only if I can transfer documents from my laptop to my iphone without internet. I want to then take those documents and attach them to an email. Can this be done in any way?

    The iOS OS doesn't give you direct access to the file system on the device, so will thwart your ability to upload files from your device. You can't interact with those files directly.
    Perhaps there is an FTP app for iOS that would let you do this, but it might not meet apples terms of service for the App Store so would probably require a jail broken phone.
    Even though limited by these restrictions, VPN is still helpful for other things. You can access a mail server or private website that's behind a VPN firewall. You can control airport base stations behind a firewall.  VPN can also make 3rd party apps more useful in other ways too. For instance I can remotely control a retrospect backup server using their iOS app with VPN to punch thru the firewall.

  • Upload and download files from ADF 11g into blob type colum

    Hi Guys ,
    Anybody help me how to upload and download the *.pdf / *.doc file in blob object in ADF 11G.
    Thanks ,
    Ashwani Yadav

    You should try the JDeveloper and ADF forum. This is the Oracle FORMS forum.
    Craig...

  • BPEL skip checkin documents in UCM

    Guru's :
    We have an serious issue, We are trying to load documents into UCM from BPEL that Invokes 2-way operation CheckIn.wsdl & service : CheckInUniversal as you can see below. There will be request in BPEL for creating multiple documents for the same opportunity header that is being created in UCM in second/ milli second time difference for each document. Here, Sometimes BPEL skipping /overwriting the documents while checkin & gives the same dID & dRevClassID in both the checkInUniversalOutput.
    For example : If Doc A & Doc B being process by BPEL, Doc A is missing in UCM & Doc B is being loaded. But, BPEL checkInUniversalOutput response says Boc A loaded successfully.
    Please refer checkInUniversalOutput section in both the below xml outputs (Document 1 & Document 2). Though we processed 2 different documents, it says “Successfully checked in content item '1481633'” in both the xml & we see only one document in UCM.
    Could anyone through some lights whats happening here? Is there any way to debug increasing the logging etc?
    thanks in advance.
    Document 1:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <part>
    - <messages>
    - <checkInUniversalInput>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
    - <CheckInUniversal xmlns:s0="http://www.stellent.com/CheckIn/" xmlns="http://www.stellent.com/CheckIn/">
    <s0:dDocTitle>Impact Plan</s0:dDocTitle>
    <s0:dDocType>SiebelAttachment</s0:dDocType>
    <s0:dDocAuthor>admin</s0:dDocAuthor>
    <s0:dSecurityGroup>SiebelDocuments</s0:dSecurityGroup>
    - <s0:CustomDocMetaData>
    - <s0:property>
    <s0:name>xTrigger</s0:name>
    <s0:value>SiebelDocProfile</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xsiebelOpprnty</s0:name>
    <s0:value>1-3D524</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xsiebelStatus</s0:name>
    <s0:value>New</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xsiebelConfidential</s0:name>
    <s0:value>No</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xComments</s0:name>
    <s0:value>Impact Plan</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xsiebelDocType</s0:name>
    <s0:value>Impact Plan</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xOrganization</s0:name>
    <s0:value>UK,</s0:value>
    </s0:property>
    </s0:CustomDocMetaData>
    - <s0:primaryFile>
    <s0:fileName>Real_CV.pdf</s0:fileName>
    <s0:fileContent>dfssdggsgsgsgsdgssdgsdgsddffsfsdfsfsfsfsf
    </s0:primaryFile>
    </CheckInUniversal>
    </part>
    </checkInUniversalInput>
    - <checkInUniversalOutput>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
    - <idc:CheckInUniversalResponse xmlns:idc="http://www.stellent.com/CheckIn/">
    - <idc:CheckInUniversalResult>
    *<idc:dID>1481741</idc:dID>*
    *<idc:dRevisionID>1</idc:dRevisionID>*
    *<idc:dRevClassID>1481633</idc:dRevClassID>*
    *<idc:dRevLabel>1</idc:dRevLabel>*
    - <idc:StatusInfo>
    *<idc:statusCode>0</idc:statusCode>*
    *<idc:statusMessage>Successfully checked in content item '1481633'.</idc:statusMessage> </idc:StatusInfo>*</idc:CheckInUniversalResult>
    </idc:CheckInUniversalResponse>
    </part>
    </checkInUniversalOutput>
    </messages>
    </part>
    Document 2 :
    <?xml version="1.0" encoding="UTF-8" ?>
    - <part>
    - <messages>
    - <checkInUniversalInput>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
    - <CheckInUniversal xmlns:s0="http://www.stellent.com/CheckIn/" xmlns="http://www.stellent.com/CheckIn/">
    <s0:dDocTitle>C.V.</s0:dDocTitle>
    <s0:dDocType>SiebelAttachment</s0:dDocType>
    <s0:dDocAuthor>admin</s0:dDocAuthor>
    <s0:dSecurityGroup>SiebelSecureDocuments</s0:dSecurityGroup>
    - <s0:CustomDocMetaData>
    - <s0:property>
    <s0:name>xTrigger</s0:name>
    <s0:value>SiebelDocProfile</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xsiebelOpprnty</s0:name>
    <s0:value>1-3D524</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xsiebelStatus</s0:name>
    <s0:value>New</s0:value>
    </s0:property>
    + <s0:property>
    - <s0:property>
    <s0:name>xComments</s0:name>
    <s0:value>Dummy CV</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xsiebelDocType</s0:name>
    <s0:value>C.V.</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xOrganization</s0:name>
    <s0:value>UK,</s0:value>
    </s0:property>
    </s0:CustomDocMetaData>
    - <s0:primaryFile>
    <s0:fileName>CV_Dummy.pdf</s0:fileName>
    <s0:fileContent>dfhdhdhdhdhdhdhhddhdhdhdh
    </s0:primaryFile>
    </CheckInUniversal>
    </part>
    </checkInUniversalInput>
    - <checkInUniversalOutput>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
    - <idc:CheckInUniversalResponse xmlns:idc="http://www.stellent.com/CheckIn/">
    - <idc:CheckInUniversalResult>
    *<idc:dID>1481741</idc:dID>*
    *<idc:dRevisionID>1</idc:dRevisionID>*
    *<idc:dRevClassID>1481633</idc:dRevClassID>*
    *<idc:dRevLabel>1</idc:dRevLabel>*
    - <idc:StatusInfo>
    *<idc:statusCode>0</idc:statusCode>*
    *<idc:statusMessage>Successfully checked in content item '1481633'.</idc:statusMessage> </idc:StatusInfo>*
    </idc:CheckInUniversalResult>
    </idc:CheckInUniversalResponse>
    </part>
    </checkInUniversalOutput>
    </messages>
    </part>
    Edited by: user12953613 on 19-Jan-2011 08:01

    Experts : Please help.

  • 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

  • Upload/Download file to/from a document library in a SharePoint online site

    Hi,
    I am referring to the below blog for Upload/Download file to/from a document library in a SharePoint online site.
    http://blogs.msdn.com/b/rohitpuri/archive/2007/04/10/upload-download-file-to-from-wss-document-library-using-dav.aspx?CommentPosted=true#commentmessage
    I would like to know if this is feasible with a SharePoint online site.
    If feasible, how can I resolve the below exception I am getting while using the code.
    “The remote server returned an error: (403) Forbidden”.
    Thanks,
    Thanan

    Hi,
    Actually what I am trying to achieve is the two things.
    1) By using only the user's name, need to upload/download from/to the document library of SharePoint online site using the CSOM. (i.e., achieving Single Sign On / Windows Authentication)
    2) I need to achieve the above only by passing the document URL; not by hardcording/ configuring the document library name in the windows application.
    Can anyone pls help on this now?
    [Below code is working fine. But need to arrive the solution whereas the above 2 conditions are not violated.
    using (var clientContext
    = new ClientContext("https://yoursiteurl.com"))
               string passWd
    = "password";
               SecureString securePassWd
    = new SecureString();
               foreach
    (var c in passWd.ToCharArray())
                    securePassWd.AppendChar(c);
                clientContext.Credentials
    = new SharePointOnlineCredentials("username", securePassWd);
               using
    (var fs =
    new FileStream("fileName",
    FileMode.Open))
    var fi =
    new FileInfo("fileName");
    var list = clientContext.Web.Lists.GetByTitle("Doc Library");
                   clientContext.Load(list.RootFolder);
                   clientContext.ExecuteQuery();
    var fileUrl = String.Format("{0}/{1}", list.RootFolder.ServerRelativeUrl,
    fi.Name);
    Microsoft.SharePoint.Client.File.SaveBinaryDirect(clientContext, fileUrl,
    fs, true);
    Thanks,
    Thanann

  • How to upload a file into a db blob column from adf page

    How to upload a file into a db blob column from adf page
    Which option to use ?

    The forum search would be my first try...
    Then google...
    This has been asked at least once a week and got correct answers...
    Timo

  • 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

  • Upload documents to filenet p8 for sap objects from SAP

    Hi..
    Appreciate if anyone can let me know the process of uploading documents to Filenet P8 from SAP for relevant SAP objects.
    This will also create the link to object and document in the SAP LINK tables..
    Any documents are urls related to this topic are appreciated.
    Thanks.

    Hi,
    The EMC Solutions design center offers a free SAP storage sizing regardless of your current storage vendor.   It can be as easy as providing SAP Earlywatch reports.  See https://community.emc.com/docs/DOC-11310  If you are just looking for the incremental needs from the upgrade to the new release, that is more specific to SAP and your config.  Good Luck

  • 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

Maybe you are looking for

  • Using iMac as display.

    Has anyone had any experience with this? I ultimately want to get a PS3 and use my iMac to display it. It runs HD video from eyetv and downloads fine.

  • RE: (forte-users) When Fort 3.0.M.0?

    Hi Stella How about release 4.0??? -----Original Message----- From: Stephen Szalla [mailto:sszallaforte.com] Sent: Tuesday, January 11, 2000 6:02 AM To: Daniel; Dave Leach; Lista Fort (II) Cc: Manuel Fernndez; Federico Muoz; Jose Ignacio Subject: Re:

  • Running procedures concurrently

    Hi, I am having some issues with the time it takes for one of my packages to complete. Here is an overview of what it does. 1) Extracts data input last night and populates a specific table - basic raw data with FK's to other tables 2) Validate a give

  • Better to convert from H.264 or mpeg4 AVC H.264?

    I've read the threads related to the need to convert video shot in both H.264 and mpeg4 AVC H.264 before editing in FCE. But I am wondering if there are any pros or cons on which would result in the better quality. Do you experts think it makes a dif

  • Changing a JPanel with a JButton

    Hi, In a JFrame, I add two JPanels in a BorderLayout. The first is in the North, the second in the South. The first JPanel contains a JButton. When an action is performed over this JButton, I want to completely change the southern JPanel. I get the J