Problem while uploading text file through portal into WebDAV repository .

Hi all...
I am not able to upload any file through portal onto my webDav repository for remote server however reverse is possible i.e. any document created at remote server is reflected in portal.
Everytime when i try to upload file though portal , i get the following error::
The item could not be created because an exception occurred in the framework.
Kindly suggest what to do....
ThankS

Hi Chetna,
Have you specified any user information in the webdav repository....Like always connect through this user, in the webdav repsository tab....This user may not have write permission in the windows.
Also are you sure that the user you logged in portal by which you failed to create new files or folders and the user that was able to create file in the windows are one and the same.....
Regards,
Ganesh N

Similar Messages

  • Long text problem while uploading Inspection plan through BDC.

    Hi,
    I am facing some problem while uploading the inspection plan. There are few MICs for which we are having long text, while uploading the inspection plan through BDC - some other long text is getting copied into the MIC's long text. After checking I came to know that in function module, read_text - some text which is stored in ABAP memory is getting copied into the inspection plan.
    I am working in SAP release 4.7. I have checked with SAP notes: 97419, but it is also not satisfying.
    Waiting for quick solution.
    Thanks in advance.
    Fahié

    Hi a®s,
    Thanks a lot for your kind reply.
    My requirement is I want to maintain long text for few MICs (which are not having long texts at MIC level) in inspection plan (QP01).
    When I am trying to manually assign the MIC's to inspection plan (QP01), long text is copied whereas I am not clicking the long text icon in (QP01). Long text is not maintained in MIC level, still some long text is copied to this MIC. This was also happening while uploading the inspection plan thro' BDC.
    I believe what you have mentioned about function module SAVE_TEXT cannot be used here since long text is already copied before we pass the long text. Also if we pass some long text, still apart from the long text what we have passed there is some other long text copied (extra long text).
    Waiting for quick solution.
    Thanks in advance.
    Fahié

  • Problems while uploading text documents into Unicode Database

    I just upgraded our database from 9iR1 to 9iR2 (9.2.0.1.0). The server
    character set is AL32UTF8. Now I'm facing a problem when
    uploading text documents into the database via a web frontend.
    I use the upload table defined for the PL/SQL Database Access Descriptor:
    create table TB_UPLOAD (
    NAME VARCHAR2(256) not null,
    MIME_TYPE VARCHAR2(128),
    DOC_SIZE NUMBER,
    DAD_CHARSET VARCHAR2(128),
    LAST_UPDATED DATE,
    CONTENT_TYPE VARCHAR2(128),
    BLOB_CONTENT BLOB);
    After uploading a text document containing the two words "hallo welt",
    the following statement returns not "hallo welt", but "68616C6C6F2077656C74":
    declare
    b_loc blob;
    v_amount integer := 100;
    v_buffer varchar2(100);
    v_offset integer := 1;
    begin
    select blob_content into b_loc from tb_upload where name like 'mydoc.txt';
    dbms_lob.read(b_loc, v_amount, v_offset, v_buffer);
    htp.prn(v_buffer);
    end;
    What is this? I studied the documentation, but didn't found a solution.
    When trying to use Oracle's built-in procedure wpg_docload.download_file,
    the content is shown the way it should be. Unfortunately, I can't use
    wpg_docload.download_file in order to copy the BLOB content to another table.
    Any hints would be appreciated!
    Thanks so much in advance!
    Roman
    E-Mail: [email protected]

    Hi Roman,
    the upload uses a BLOB (Binary Lob). Your Document is
    stored as is in the binary representation. If you
    use dbms_lob.read on a blob and your buffer is a varchar2 the binary representation is not translated!!!
    use a raw for the buffer and utl_raw.cast_to_varchar2
    to do the conversion to varchar.
    try this
    Procedure SHOW_DOC(p_name doc_test.name%TYPE)
    IS
    v_len number;
    v_mime_type tb_upload.mime_type%TYPE;
    v_offset integer := 1;
    v_Buf_size integer := 32767;
    v_buf raw(32767);
    v_blob blob;
    v_Doc_name varchar2(1000);
    BEGIN
    v_doc_name := url_Decode(p_name);
    select mime_type,doc_size,blob_content
    into v_mime_Type,v_len,v_blob
    from tb_upload
    where name = v_doc_name;
    OWA_UTIL.MIME_HEADER(v_Mime_Type);
    begin
    LOOP
    DBMS_LOB.READ(v_blob,v_buf_size,v_offset,v_buf);
    HTP.PRN(UTL_RAW.CAST_TO_VARCHAR2(v_buf));
    v_offset := v_offset + v_buf_size;
    END LOOP;
    exception
    when no_data_found then
    null;
    end;
    END;
    HTH
    detlev

  • Problems while uploading text documents into Database

    I just upgraded our database from 9iR1 to 9iR2 (9.2.0.1.0). The server
    character set is AL32UTF8. Now I'm facing a problem when
    uploading text documents into the database via a web frontend.
    I use the upload table defined for the PL/SQL Database Access Descriptor:
    create table TB_UPLOAD (
    NAME VARCHAR2(256) not null,
    MIME_TYPE VARCHAR2(128),
    DOC_SIZE NUMBER,
    DAD_CHARSET VARCHAR2(128),
    LAST_UPDATED DATE,
    CONTENT_TYPE VARCHAR2(128),
    BLOB_CONTENT BLOB);
    After uploading a text document containing the two words "hallo welt",
    the following statement returns not "hallo welt", but "68616C6C6F2077656C74":
    declare
    b_loc blob;
    v_amount integer := 100;
    v_buffer varchar2(100);
    v_offset integer := 1;
    begin
    select blob_content into b_loc from tb_upload where name like 'mydoc.txt';
    dbms_lob.read(b_loc, v_amount, v_offset, v_buffer);
    htp.prn(v_buffer);
    end;
    What is this? I studied the documentation, but didn't found a solution.
    When trying to use Oracle's built-in procedure wpg_docload.download_file,
    the content is shown the way it should be. Unfortunately, I can't use
    wpg_docload.download_file in order to copy the BLOB content to another table.
    Any hints would be appreciated!
    Thanks so much in advance!
    Roman
    E-Mail: [email protected]

    Hi Roman,
    the upload uses a BLOB (Binary Lob). Your Document is
    stored as is in the binary representation. If you
    use dbms_lob.read on a blob and your buffer is a varchar2 the binary representation is not translated!!!
    use a raw for the buffer and utl_raw.cast_to_varchar2
    to do the conversion to varchar.
    try this
    Procedure SHOW_DOC(p_name doc_test.name%TYPE)
    IS
    v_len number;
    v_mime_type tb_upload.mime_type%TYPE;
    v_offset integer := 1;
    v_Buf_size integer := 32767;
    v_buf raw(32767);
    v_blob blob;
    v_Doc_name varchar2(1000);
    BEGIN
    v_doc_name := url_Decode(p_name);
    select mime_type,doc_size,blob_content
    into v_mime_Type,v_len,v_blob
    from tb_upload
    where name = v_doc_name;
    OWA_UTIL.MIME_HEADER(v_Mime_Type);
    begin
    LOOP
    DBMS_LOB.READ(v_blob,v_buf_size,v_offset,v_buf);
    HTP.PRN(UTL_RAW.CAST_TO_VARCHAR2(v_buf));
    v_offset := v_offset + v_buf_size;
    END LOOP;
    exception
    when no_data_found then
    null;
    end;
    END;
    HTH
    detlev

  • How to Create a text file through Portal

    Hi,
    Is there any way to create a text file(e.g Excel file) through Portal? Thanks.
    Sumita

    I have a way to do this in VBScript, I don't know if it will work with the portal but the steps are simple. If you can create a text file within portal, try to create it as an html table:
    <table>
    <tr>
    <td>Column Header 1</td>
    <td>Column Header 2</td>
    </tr>
    <tr>
    <td>Value 1</td>
    <td>Value 2</td>
    </tr>
    <tr>
    </tr>
    </table>
    When you create this file save it with XLS extension instead of TXT, create a link to it and voila! it will load Excel and you will have your data well formatted. I found this method rather better than save the file as a CSV. You can also include any html attribute inside the <TD> or <TR> like background color and font type, Excel will keep those attributes.
    I hope this will help
    Arturo

  • Error while uploading text file....

    Halo Friends,
    I am uploading 4 text files which contain three columns separated by a tab, but when i am trying to upload those files using WS_UPLOAD Function Module i am getting a runtime error saying 'error while uploading/downloading'.
    Please solve this problem as soon as possible.
    Thanks in Advance,
    rama

    Halo again,
    Now that i am able to upload the files, i need to update the database table the update statement is executing correctly but when i debug i see that the sy-subrc value is 4 but not 0.
    and hence the it is not committed.
    Any suggestions. i am pasting my code here for your reference:
    Tables: qmfe.
    data: begin of gt1_qmfe occurs 0,
          qmnum       like qmfe-qmnum,
          fenum       like qmfe-fenum,
          /itml/usr20 like qmfe-/itml/usr20,
          end of gt1_qmfe.
    data: begin of gt2_qmfe occurs 0,
          qmnum       like qmfe-qmnum,
          fenum       like qmfe-fenum,
          /itml/usr21 like qmfe-/itml/usr21,
          end of gt2_qmfe.
    data: begin of gt3_qmfe occurs 0,
          qmnum       like qmfe-qmnum,
          fenum       like qmfe-fenum,
          /itml/usr19 like qmfe-/itml/usr19,
          end of gt3_qmfe.
    data: begin of gt4_qmfe occurs 0,
          qmnum       like qmfe-qmnum,
          fenum       like qmfe-fenum,
          /itml/usr07 like qmfe-/itml/usr07,
          end of gt4_qmfe.
    data: gs1_qmfe like line of gt1_qmfe,
          gs2_qmfe like line of gt2_qmfe,
          gs3_qmfe like line of gt3_qmfe,
          gs4_qmfe like line of gt4_qmfe.
    data: ls_lines1 type i,
          ls_lines2 type i,
          ls_lines3 type i,
          ls_lines4 type i.
    parameters: ip_file1 type RLGRAP-FILENAME default 'C:\Urgent\TextFiles\StoDt.txt'     obligatory,
                ip_file2 type RLGRAP-FILENAME default 'C:\Urgent\TextFiles\RcDtCust.txt'  obligatory,
                ip_file3 type RLGRAP-FILENAME default 'C:\Urgent\TextFiles\DockDate.txt'  obligatory,
                ip_file4 type RLGRAP-FILENAME default 'C:\Urgent\TextFiles\AWB.txt'       obligatory.
    field-symbols: <fs1> like gs1_qmfe,
                   <fs2> like gs2_qmfe,
                   <fs3> like gs3_qmfe,
                   <fs4> like gs4_qmfe.
    perform upload_gt1_qmfe.
    perform upload_gt2_qmfe.
    perform upload_gt3_qmfe.
    perform upload_gt4_qmfe.
    perform update_qmfe.
    *&      Form  upload_gt1_qmfe
          text
    -->  p1        text
    <--  p2        text
    FORM upload_gt1_qmfe .
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
       FILENAME                      = ip_file1
       FILETYPE                      = 'DAT'
      TABLES
        DATA_TAB                      = gt1_qmfe.
    describe table gt1_qmfe lines ls_lines1.
    write: / ls_lines1.
    ENDFORM.                    " upload_gt1_qmfe
    *&      Form  upload_gt2_qmfe
          text
    -->  p1        text
    <--  p2        text
    FORM upload_gt2_qmfe .
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
       FILENAME                      = ip_file2
       FILETYPE                      = 'DAT'
      TABLES
        DATA_TAB                      = gt2_qmfe.
    describe table gt2_qmfe lines ls_lines2.
    write: / ls_lines2.
    ENDFORM.                    " upload_gt2_qmfe
    *&      Form  upload_gt3_qmfe
          text
    -->  p1        text
    <--  p2        text
    FORM upload_gt3_qmfe .
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
       FILENAME                      = ip_file3
       FILETYPE                      = 'DAT'
      TABLES
        DATA_TAB                      = gt3_qmfe.
    describe table gt3_qmfe lines ls_lines3.
    write: / ls_lines3.
    ENDFORM.                    " upload_gt3_qmfe
    *&      Form  upload_gt4_qmfe
          text
    -->  p1        text
    <--  p2        text
    FORM upload_gt4_qmfe .
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
       FILENAME                      = ip_file4
       FILETYPE                      = 'DAT'
      TABLES
        DATA_TAB                      = gt4_qmfe.
    describe table gt4_qmfe lines ls_lines4.
    write: / ls_lines4.
    ENDFORM.                    " upload_gt4_qmfe
    *&      Form  update_qmfe
          text
    -->  p1        text
    <--  p2        text
    FORM update_qmfe .
    data ls_cnt type i.
    loop at gt1_qmfe assigning <fs1>.
    update qmfe set    /itml/usr20 = <fs1>-/itml/usr20
                where  qmnum       = <fs1>-qmnum
                and    fenum       = <fs1>-fenum.
    if sy-subrc = 0.
    commit work.
    add 1 to ls_cnt.
    endif.
    endloop.
    write: / ls_cnt.
    ENDFORM.                    " update_qmfe

  • Error - Server file should not be empty- while uploading Text files in RAR

    Hi,
    We are uploading SU24 text files but we are getting the error "Server file should not be empty" while uploading the Description files in RAR 5.3
    We followed the same naming covention and also used UTF-8 format for the text files. We placed the file in our Desktop as well and tried uploading into RAR - but still the same error is being thrown?
    Are we missing something here?
    Thanks and Best Regards,
    Srihari.K

    Hi and thanks to the answers so far.
    I forgot to mention some points :
    - I'm using forground import
    - we are trying to use RAR to run risk analysis on non-sap systems as well as SAP (single or cross-systems).
    So the file I'm trying to upload does not come from a SAP backen, but was created from scratch.
    However the data in the files are coherent (and I compared with a SAP extraction, the format is the same)
    here is a sample of the file I try to upload : (an that is actually what I'm trying to import as a test file)
    sap_auth.txt:
    OEITIAC     GTIAC     SEL     1     
    OEITIAC     GTIAC     MOD     1     
    OEITIAC     GTIAC     INS     1     
    OEITIAC     GTIAC     SUP     1     
    each element (ACT/PRM/FLD/VAL) is defined in the sap_desc.txt file that I loaded first (without error).
    note that each column is separated by a single TAB (with an empty column at the end of each line).
    each line is terminated by a CR/LF
    I tried UTF-8 with and W/O BOM
    Regards,

  • Problem while uploading the file page is not forwarding

    Hi,
    Please tell me the solution for this.
    I'm uploading the file, i'm getting the values very thing, but the page is not forwarding what happening i don't no.
    Here is the code.
    <HTML>
    <%@ page language="java" import="javazoom.upload.*,java.util.*" %>
    <%@ page errorPage="ExceptionHandler.jsp" %>
    <HEAD>
    <BODY style="font:'Bookman Old Style' size="3"">
    <jsp:useBean id="upBean" scope="page" class="javazoom.upload.UploadBean" >
    </jsp:useBean>
    <%
    // Uploading file code
    if (MultipartFormDataRequest.isMultipartFormData(request))
    // Uses MultipartFormDataRequest to parse the HTTP request.
         MultipartFormDataRequest mrequest = new MultipartFormDataRequest(request);
    String todo = null;
         if (mrequest != null) todo = mrequest.getParameter("todo");
         if ( (todo != null) && (todo.equalsIgnoreCase("upload")) )
                        Hashtable files = mrequest.getFiles();
         UploadFile file = (UploadFile) files.get("uploadfile");
              if ((file != null) && (file.getFileSize() <= 82000))
                        {System.out.println("<li>Form field : uploadfile"+"<BR> Uploaded file : "+file.getFileName()+" ("+file.getFileSize()+" bytes)"+"<BR> Content Type : "+file.getContentType());
                    // Uses the bean now to store specified by jsp:setProperty at the top.
                        upBean.store(mrequest, "uploadfile");
                        else
                        System.out.println("Not Uploaded");
    if (mrequest != null)
         String Schoolname= mrequest.getParameter("schoolname");
         session.setAttribute("saSchoolname", Schoolname);
    System.out.println("Schoolname     "+Schoolname);
    %>
                        <jsp:forward page="FileTransfer.jsp"/>
    <%     
         else out.println("<BR> todo="+todo);
    //System.out.println(session.getAttribute("saswrite"));
    String amessage = request.getParameter("passmsg");
    %>
    <form name='subregiform' method="POST" onsubmit='return checkForm()' action ="FileSubmit2.jsp" ENCTYPE="multipart/form-data">
    <table width="491" border="0" cellpadding="2" >
    <tr>
    <td width="171" align="right"><br> S.S.C  :</td>
    <td width="103" align="center">Institution Name
         <input type="text" name="schoolname" size = 12 maxlength = 35 value = <%
              if(session.getAttribute("saSchoolname")!= null){%>
         <%=session.getAttribute("saSchoolname")%><%}%>>     </td>
    <tr><td width="165"><div align="right">Upload Resume :<br> <br> <br></div></td>
    <td width="356"><input type="file" name="uploadfile" size = 20>
    <font size=1><br>    <I>(Only .doc,.rtf,.txt,.html)</I></font><BR>
       <% if (amessage !=null){ %><FONT SIZE="" COLOR="RED"><strong><%= amessage %></strong></FONT><% }%> </td>
    </tr>
    <tr>
    <td colspan="2">
    <p align="center">
         <input type="hidden" name="todo" value="upload">
    <input type="submit" name="Submit" value="Submit">
         </p>
    </td>
    </tr>
    </table>
    </form>
    </BODY>
    </HTML>

    This code is a mess! Don't put your logic and control into your JSP; use the JSP only for display!
    As for your error, it's because you can't forward after the response has been committed. An illegal state exception will be thrown except you can't see it in the browser because the server has already committed the response and can't change it now. You need to get rid of the forward action. Put in a link to that page instead. Or use a a meta tag to redirect.
    But really, this code cannot be modified to get rid of the problem. It should be scrapped and you should rethink your design. Have a servlet do your control and all this uploading code should also be put into a servlet; never in a JSP
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    (Yes I know it's on JavaRanch but I think it applies everywhere)
    Edited by: nogoodatcoding on Oct 5, 2007 2:56 PM

  • Problem in uploading attachment files through automation scripts using Oracle Application Testing Suite(OATS)

    I am using OATS tool for writing automation scripts to test a web-based application . But I am facing problem when the requirement is to upload any file from the system to that web application .
    Actually the behavior of the script or I guess of OATS is inconsistent as the attachment file is getting upload sometime and
    fails to do so at the other time .
    I have observed a strange case also ,i.e whenever i am executing the scripts while sharing my system screen on webex meeting
    then the attachment upload results in failure . What can be the proper solution for doing file upload using automation script ??

    Can you please check whether the sync has been taken care before performing the upload operation. If the sync is taken care then the upload should work always

  • Problem while uploading master data through two files

    Hi all,
    When i try to upload master data of CUSTOMER with two files , Attribute and Text.
    Text gets uploaded perfectly.
    for Attribute, the data upload is done and psa i can see the exact data. But when i check the CUSTOMER object, i am not able to find the actually Attributs data. Instead those colmns are filed with 'E'.
    Can anybdy please explain me wheret the problem is.
    Thanks..

    Hi Sun,
    First check the data in PSA whether the records are fine or any discrepancy in them. Also check the properties of the COSTUMER object into which you are loading. The properties "type" or the "size" of the object may not be matching with the same in the file.
    Check them and try to load once again.
    Hope this helps u...
    Regards,
    Koundinya Karanam.
    Edited by: koundinya karanam on Jan 15, 2008 12:05 AM

  • Error While Uploading XDB files in Portal.

    Hi Experts,
    I have created an adobe forms which consists of Date,Text,NUmeric fields. After saving the same file in xdb format and trying to upload the same file to generate xml in portal, it is throwing error in create callable object --> Upload Default Language Template.
    The error is Could not retrieve template fields: Wrong document format or adapter mismatch from adapter.
    Your help will be higly appreciated.. Please help me...
    Regards

    .

  • Problem while uploading excel file to server

    Hello,
    I have created an excel file using OLE and saved it to local desktop. Then I use GUI_UPLOAD to upload the excel into SAP and attach it to mail. but while using Function GUI_UPLOAD I am getting dump for CNTL_ERROR.
    If I skip the process of excel creation by OLE and passes the excel file created earlier then it gives no dump and is executed successfully.
    Kindly help on this.

    Hi Suchendar,
    Try using the FM -  F4_FILENAME to get the valid file name and use TEXT_CONVERT_XLS_TO_SAP FM to upload into SAP based on the required format.
    Regards,
    Suresh

  • Problem in uploading text file to itab

    Hi experts,
    I declared a itab with two fields which refers a a dB table fields.Then i created a excel file: In the firest column i placed entry for the first field
    and in the second column  i placed entry for the second field.Both fields i have taken from thatDB table.Then i saved that excel file as type text-tab delimited.Then i called GUI_UPLOAD.
    So when exicute my pgm i see the contents in the itab as follows:
    Field1          field2
    kv_sub_area0    004#descvription by ravikumar.
    But i should get like this:
    Field1            field2
    kv_sub_area0004   descvription by ravikumar.
    Why # is coming and it is taking some characters from field1 to filed2.
    I am using version 4.7 Actually field1 is of length 30 as per DB table.
    If i reduce the length in the itab declaration then it is giving corect..
    can any body tellme why this problem occurs?
    Regards

    in GUI_UPLOAD
    mention as
    FILE_TYPE = 'ASC'.
    HAS_FIELD_SEPERATOR = 'X'.
    if you provide the above both, i believe your problem will be solved.
    that '#' special symbol is for horizantal tab.
    regards
    srikanth
    Message was edited by: Srikanth Kidambi

  • While Uploading text file

    Halo All,
    Can you please explain me the exact meaning of this keyword.
    RLGRAP-FILENAME
    can u explain me it in detail
    Best Regards,
    rama

    Hi..,
    <b>RLGRAP-FILENAME is the one field of the structure RLGRAP to hold the file name..
    RLGRAP is a structure which is used by many standard Function modules which are related to File uploads and downloads...</b>
    Its type is C ( character type ) and of length 132 characters !!!!
    For some standard Function modules their parameter to accept File name will be of this type ....
    When we are using Funtion modules the types of the Import and Export parameters should be type compatible ... i.e their type and length should be same !!!!
    plz do remember to close the thread , when your problem  is solved !!!
    reward all helpful answers,
    sai ramesh.

  • Problem while reading multiple files through FTP Adapter

    Hi,
    We have a requirement to read the excel files placed in an FTP Location and as there is no Adapter to read Excel file
    we are using FTP Adapter and reading the Header values of the file(name of the
    file) and we are paasing as input to the Java code which will read the data nd insert into the Database.
    If we place above 20 files it was reading only some files and some were left and if we delete the files and place the unread files again some files are read and if we do the same procedure then all the files were read.
    Any help regaring this appreciated.
    Thanks and Regards,
    Nagaraju .D

    Are you doing anything complex for your polling, e.g. Files that must be n time old.
    Can you post the WSDL so I can see the polling configuration. I only need to see the adapter configuration, not the whole file.
    cheers
    James

Maybe you are looking for

  • US Playdock Z500 with UK Zen Visio

    I really want a Creative Playdock Z500 to use with my Zen Vision M 30GB. However, it seems I missed the boat on the Europe supply, and everywhere I've looked is out of stock. I noticed it's in stock at Amazon.com so am thinking about importing one. B

  • How To Recover Deleted Documents & Photos Data From My Hard Drive?

    I have downloaded the entire documents from my Google drive to my computer system, but accidentally deleted my important files like document, photo, etc through shift+del keys in my hard drive. So, I was worried that valuable my documents. My friend

  • Actual cost line items for orders (KOB1)

    Hello everyone, I need to pull a certain field for an order to the Actual cost line items for orders report (KOB1), but the field is not available when I go to the change layout. Can someone let me know how I can have this field listed? Thanks in adv

  • It just gettin too much!!

    i have been trying to solve this problem for the last 4 hours!! i just can't get the program to get input from the console!!! This is the simplified version!! public class Main { int username = 0; public static void main(String[] args) { System.out.p

  • "4 items to waiting to upload. Remote device is offline."

    My Droid Razr Maxx keeps saying,"4 items to waiting to upload. Remote device is offline." What in the world is going on? My phone is linked to my computer, wireless is working, wi-fi is on, and i can't get this notification to go away. I've attached