File Upload - Internal error?

Not sure what's going on here - a basic file upload :
//start Trigger_FileUpload trigger
//remove this line if you want to edit the code by hand
function Trigger_FileUpload(&$tNG) {
$uploadObj = new tNG_FileUpload($tNG);
$uploadObj->setFormFieldName("ImageMain");
$uploadObj->setDbFieldName("ImageMain");
$uploadObj->setFolder("../admin/");
$uploadObj->setMaxSize(1500);
$uploadObj->setAllowedExtensions("pdf, txt, jpg, jpeg, gif");
$uploadObj->setRename("auto");
return $uploadObj->Execute();
//end Trigger_FileUpload trigger
But am getting the error message :
File upload error. Internal error.
But I've no idea what it means or how to fix it - any ideas?
Cheers.

Thanks Shane - I've just been looking at it this afternoon - it was indeed a permissions issue. I'm sure that one caught me out last time. Unfortunately these sorts of things have to catch me out at least twice before they sink in!

Similar Messages

  • Cannot open file. Internal error: Tride to lock 0 length block

    I am working in PageMaker 6.5
    If I open the pagemaker file, following messages in appeared
    cannot open file.
    Internal error: Tride to lock 0 length block
    8009:20540
    Please help me and solve the the problem

    My guess is that file is toast. Do you have a backup?
    Bob

  • File upload java errors...HEEELPPP!

    All was working fine for months, now getting java errors in my ADDT. Mostly related to file uploads, or image uploads. I found that I don't get these errors in older sites that I've worked with, but I've created a new site and started from scratch and I'm still getting them.
    Here are the errors and what I'm doing:
    *I go insert record form wizard (in ADDT)
    *One field is a date, others are text, one is an integer, one is a file field
    That works ok up to here.
    *Then I choose ADDT > File upload. I get the following error immediately: "While executing canApplyserverBehavior in kb_FileUpload.htm, a javascript error occured."
    *I click ok, the wizard box attempts to load and it give me the error: "While executing onLoad in kb_FileUpload.htm, the following javascript errors occured:
    At line 354 of the file "Macintosh HD:Applications:Adobe Dreamweaver CS3:Configuration:Shared:DeveloperToolbox:classes:triggerUtil.js":
    TypeError: hash[transactionColumn[k]].push is not a fuction.
    I'm totally tearing my hair out, not to mention not hitting deadlines with this... can anyone help. I've tried removing the fileCache, rebuilding the site cache, removing and rebuilding the includes folder, removing and reinstalling ADDT. HEEEEEELLLLLPPP.

    Hi
    Please look into this about the destination
    Pathname of directory in which to upload the file. If not an
    absolute path (starting a with a drive letter and a colon, or a
    forward or backward slash), it is relative to the ColdFusion
    temporary directory, which is returned by the GetTempDirectory
    function.

  • Error on File upload. Error processing wwv_flow.accept.

    Hi,
    I'm developing an application to upload and download files using Oracle XE 10g and APEX 3.2.0.00.27 on OS Windows XP.
    The file upload page is very simple: one file browse item, a submit button and a report based on the wwv_flow_files table.... and an extra button to save the uploaded files in the DB.
    Sometimes (almost everytime) when I press the submit button, the wwv_flow.accept process fails and I'm redirected to a page saying Internet Explorer cannot display the webpage.
    I'm forced to refresh the page and then I get the following message:
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
    Error ERR-7621 Could not determine workspace for application (:) on application accept.
    I recreated the same page in the apex.oracle.com environment and it works, but it fails in my local environment.
    I have read some posts int his forum, but I haven't found an answer yet.
    Please help!!!
    AUJ

    varad acharya wrote:
    Download the standalone OHS.
    http://www.oracle.com/technology/software/products/database/oracle11g/111060_win32soft.html
    varadSorry about this...old post and off topic.
    Can anyone point me to a standalone version of OHS for linux x86-64? I'm having troubles finding this, it doesn't appear to have installed with 11g Enterprise Edition and I cannot find it in the available packages when I re-run the installer. I'm running 11g EPG now and want to convert to Apache.
    Thanks!!!

  • File Upload: no error but don't work. Why?

    Hi all,
    i'm an application with a jsp for upload a file.
    I have the following code in my Action (extention of the DataForwardAction):
    // UploadForm extends org.apache.struts.action.ActionForm
    UploadForm uf = (UploadForm) ctx.getActionForm(); // ctx is DataActionContext
    FormFile ff = (FormFile) uf.getMyFile();
    log.warn("[onLoad] - ff: " + ff);
    but in the log file i found:
    2007-01-18 10:31:33,564 - ERROR (UploadFilePricesViewAction.java:194) - [onLoad] - ff:null
    No errors and not file uploaded.
    Anyone think a reason why this happen?
    Can you help me?
    I use ADF/Struts (no faces) with JDev 10.1.2 and Application Server 10.1.2.1
    Thanks a lot for any suggestion.
    Alessandro

    repost
    Please is very important
    Thanks

  • File upload no error no file - my solution

    In case someone out there struggles with the no error no file problem with file upload ASP/VB, after days of searching for a solution I finally found out it was an ASP upload max size problem.
    Take a look at this post at the Interakt forum, right at the end of the post is the solution to the max size limit in ASP
    http://www.interaktonline.com/Products/Dreamweaver-Extensions/MXFileUpload/Product-Forum/D etails/62313/File+upload+size.html
    Hope it helps!
    Cecilia

    Thanks Even i found out later this was the culprit.

  • Cannot open all png files..internal error

    Windows xp sp2...fireworks mx 2004 ver 7 build 288
    I can save in png format but whenever i tried to open the
    saved png file..i get this error message "Could not open file. An
    internal error occurred"...i open a small jpg file and then saved
    in png format without doing anything...it still wont open...
    First tell me what is wrong with fireworks?
    have tried deleting the preference files
    reinstallation
    still cant make it open its own format file..what the
    hell?

    realdan wrote:
    > Windows xp sp2...fireworks mx 2004 ver 7 build 288
    >
    > I can save in png format but whenever i tried to open
    the saved png file..i
    > get this error message "Could not open file. An internal
    error occurred"...i
    > open a small jpg file and then saved in png format
    without doing anything...it
    > still wont open...
    >
    > First tell me what is wrong with fireworks?
    >
    > have tried deleting the preference files
    > reinstallation
    >
    > still cant make it open its own format file..what the
    hell?
    >
    Can you post a link to the file?
    Jim Babbage - .:Community MX:. & .:Adobe Community
    Expert:.
    Extending Knowledge, Daily
    http://www.communityMX.com/
    CommunityMX - Free Resources:
    http://www.communitymx.com/free.cfm
    .:Adobe Community Expert for Fireworks:.
    news://forums.macromedia.com/macromedia.fireworks
    news://forums.macromedia.com/macromedia.dreamweaver

  • File upload: Frustrating error!

    FYI: Coldfusion MX7.0.2 i believe
    ok, so i've got a number of websites for clients that have
    upload pages and for some reason today, every time a user clicks
    submit (on a multipart form with a cfinput type=file field) I get
    the following error...nothing else.
    500 The system cannot find the path specified
    The system cannot find the path specified
    I've tried the following fixes;
    Solution: Rebooting the Server
    Outcome: I can upload about 5-10 files, then the server
    starts returning the error again, server wide, just not on one
    site.
    Solution: Setting permissions for the cfusionMX directory to
    be as loose as possible
    Outcome: No change
    Solution: reInstalling the latest JRE
    Outcome: No change
    Solution: I used c:\test.txt as a test to see if it was local
    Outcome: no change
    Solution: I used a number of other dev machines to determine
    if it was server side, on different networks
    Outcome: no change
    Also:
    I checked getTempDirectory() in a number of places..it never
    goes null.
    The uploads worked before today. I've had them working for
    months. nobody has changed them.
    I've been trying to work out the solution for hours, please
    help :'(

    i created a no brainer of a page to test it and still i get
    the 500 error.
    ---- UploadForm.cfm
    <form name="form1" enctype="multipart/form-data"
    method="post">
    <input type="file" name="theFile"/>
    <input type="submit" />
    </form>
    ---- Result: Onsubmit
    <head><title>JRun Servlet
    Error</title></head><h1>500 The system cannot
    find the path specified</h1><body>
    The system cannot find the path specified</body>
    ---- Log
    "Error","jrpp-1","01/31/08","00:43:25","cruiseco","The
    destination
    ""C:\CFusionMX7\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\\""
    specified in the CFFILE tag is invalid.<br>The destination
    either does not exist or is not accessible by this tag. The
    specific sequence of files included or processed is:
    "C:\CFusionMX\wwwroot\[clientName]\uploadForm.cfm "
    however, like i said, after reboot, it works fine for a few
    files :(

  • Flat file upload with error

    Dear all,
    We are using BI7.00 and in one of our data load, which is running automatically, the flat file will be generated in the common location and then load takes place automatically based on event.
    My problem is in one of our file, the field named "customer location" has a long address seperated with commas like for example "Chakan-Talegaon,Mahaalunge,CHAKAN,P," -> this value should be accomadated in one field only but since the seperator is "," system assumes it as seperate field and pushes the other value to the next field. The next field is a qty field and hence when this character is moved to the qty field , data load fails due to mismatch.
    My requirement is since it is automatic generation of the file and load is also automatically carried out, manual change to the file cannot be carried out.Is there any way of making system understand that for this particular field if the value is with commas seperated between values, system should not consider it as seperate field value.
    Expert suggestion required.
    Regards,
    M.M

    Thank you all for the reply.
    Dear Godhuli,
    Thank you for your reply. I tried the same as per your information, i.e., the data seperator as "^" and the escape sign as " . Sorry this doesn't work for me , in the sence , the data load takes place without error but in the PSA all the fields are without values.
    I could not percieve the correction method that has to be adopted to solve my problem. Experts solution is expected.
    Kindly provide help to solve my problem.
    Regards,
    M.M
    Edited by: Magesh Magesh on Apr 27, 2009 6:35 AM

  • Zip file uploaded by CF can't be unzipped by CF or Java

    I'm having a WTF moment right now trying to track down this
    problem. I am creating a monitoring tool for our merge email
    system. What I would like to do is submit a job zip file through
    our upload form, in which case I just need to upload a zip file
    with cfhttp to the action page.
    What I'm running into is a problem unzipping the file when it
    is on the server. However if I go to the server the received file
    opens fine with WinRAR or Windows Explorer. If I manually go to our
    form and upload the exact same file it works fine. Really odd. I
    can only find very basic information about uploading files with
    cfhttp and tried all of the attributes that seemed logical.
    Attached is very basic example of the problem. It may end up
    being a bug in CF or something.
    The code does the following
    1. creates a text file
    2. creates a zip file with the text file
    3. tries to unzip the file to make sure it is fine
    4. uploads the file (processed by a <cfelse> block at
    the bottom)
    5. tries to unzip the file uploaded
    The error occurs in step 5. CF just can't unzip the uploaded
    file, but I can unzip it using other tools.
    ================

    danielmroberts,
    I tested it and received the same error. Using
    GetHttpRequestData() I did notice the size of the received file is
    usually 2b bigger than original. Though I do not know if that
    matters at all.
    The strange thing is if you add another parameter after the
    zip file (an empty text file or a form field), it suddenly works.
    <cfhttp url="
    http://#cgi.http_host##cgi.script_name#?upload"
    method="post" result="jobSubmitResult">
    <cfhttpparam name="zipfile" type="file"
    file="#path#temp.zip" />
    <cfhttpparam name="placeholder" type="FormField"
    value="Empty Field">
    </cfhttp>

  • Internal error in XML parser

    While parsing XML file one of the elements of which consists picture of 20K size encoded with MIME the follow error appeares:
    Cannot parse file:An Internal Error occurred. Please post a Bug report to the XML Discussion forum at http://technet.oracle.com <8192>
    Would you be so kind to help us with this error and, please, discribe us the best way to do it.
    Sinserely yours,
    Sergey Tomchuk.

    Hi,
    We couldn't reproduce this error with our test case. Can you please post a test case that gives you this problem so we can assist you further?
    Thank you,
    Oracle XML Team

  • Error in uploading content of file int internal table

    I want to upload one file.Store the content into internall table.  i ahve written the the following code under input processing.
    event handler for checking and processing user input and
    for defining navigation
    file upload and echo
        data: entity         type ref to if_http_entity,
              file           type xstring,
              content_type   type string,
              LV_DELIMITER   type string VALUE '##',
              content_length        type string,
              num_multiparts type i,
              i              type i value 1,
              doEcho         type string value 'xyz',
              value          type string,
              conv   TYPE REF TO CL_ABAP_CONV_IN_CE,
              LV_DELIMITER1   type string VALUE ',',
              content1 type string value '22##11##35',
              content TYPE STRING.
        DATA: BEGIN OF t_temp,
              str(10) TYPE c,
        END OF t_temp.
        data : ty_temp type standard table of t_temp,
               wa_temp like line of ty_temp.
      find multipart containing file
        num_multiparts = request->num_multiparts( ).
        while i <= num_multiparts.
          entity = request->get_multipart( i ).
          value = entity->get_header_field( '~content_filename' ).
          if not value is initial.
          found a file!
            navigation->set_parameter( name  = 'content_filename'
                                       value = value ).
            content_type = entity->get_header_field( 'Content-Type' ).
            navigation->set_parameter( name  = 'content_type'
                value = content_type ).
          get file content
            __file = entity->get_data( ).__
            __conv = CL_ABAP_CONV_IN_CE=>CREATE( input = file ).__
            __conv->READ( importing data = content ).__
            __replace LV_DELIMITER with LV_DELIMITER1 into content1.__
            __SPLIT content AT LV_DELIMITER1 INTO TABLE Ty_temp.__
          get file size
            content_length = xstrlen( file ).
            navigation->set_parameter( name  = 'content_length'
                value = content_length ).
          echo/download the same file again?
           doEcho = request->get_form_field( 'doEcho' ).
            if doEcho is not initial.
            set response data to be the file content
              runtime->server->response->set_data( file ).
            set the mime-type and file size in the response
              runtime->server->response->set_header_field(
                name  = 'Content-Type'
                value = content_type ).
              runtime->server->response->set_header_field(
                name  = 'Content-Length'
                value = content_length ).
              runtime->server->response->delete_header_field(
                name = 'Cache-Control' ).
              runtime->server->response->delete_header_field(
                name = 'Expires' ).
            endif.
            exit.
          endif.
          i = i + 1.
        endwhile.
        if doEcho is not initial.
          signal to the BSP runtime that the response data is
          complete and no onLayout method should be called to
          create the response
          navigation->response_complete( ).
        else.
          navigation->goto_page( 'transition_parameter_upload.htm' ).
        endif.
    I AM FACING SOME ISSUES IN THE in the highlited portion. whan i am spliting the sting into sub string...it is not giving desired result. In Debuging mode it is showing ## at the delimeter but it is not spliting.

    No boss its not working....
    Its not spliting... its showing in debugging mode as ##...
    Example
    if my text fie is as
    11
    22
    33
    44
    Its uploaded convertedinto string as 11##22##33##44####
    this is waht i am able to see in debugging mode/

  • Image / file upload error         cannot upload image even after setting write permissions

    Hi there everyone
    I am having this problem when I try to upload a file (image file) to my server
    I have a dynamic for working fine , all the other fields insert the information ok then I try to add an image upload behaviour to a file field
    When I try to upload the file I get this error
    Error:
    An error occurred while inserting the records.
    File upload error: File upload error. Error creating folder..
    File upload error. Internal error.
    Developer Details:
    tNG_multipleInsert error.
    An error occurred while inserting the records. (MINS_ERROR)
    File upload error: PHP_UPLOAD_FOLDER_ERROR
    File Upload Error. No write permissions in "../../productimages/" folder.
    (FILE_UPLOAD_ERROR)
    So I login to my server and change the write permissions to 777 and then try again and get the same message
    I have closed DW and tried again and still get the same message......
    I think I have followed all the steps correctly..... I have done the same type of forms many time and tested them locally on WAMP testing server and all work ok......
    So..... Anyone got any ideas
    Any help would be great
    Have a nice day

    On 5/17/07 4:26 PM, in article [email protected],
    "Gü[email protected]" <> wrote:
    >
    > To my experience servers behave differently -- on some I really had to use
    > 777, others are happy with 755.
    >
    > in regards to "any user" :: On most ADDT respectively MX Kollection - based
    > backends I made the image & file upload feature available to user having e.g.
    > the "levels" 1 & 2, but not 3 -- I wouldn´t expose something like this to all
    > users
    >
    > Günter Schenk
    > Adobe Community Expert, Dreamweaver
    My backend is only for admin, so they are the only ones who can access the
    upload pages. My concern is an images folder on the site being 777. Can't
    anyone from the outside plant a file in that folder if they just know where
    to find it using an ftp program? ?

  • File upload to internal taqble

    Hi,
    I am trying to use the function module GUI_UPLOAD to upload the excel file to internal table using web dynpro in ABAP. But giving an error while executing this FM. Let me know if any suggestions.
    Thanks.

    Hi, Check this Report.
    data: itab like alsmex_tabline occurs 0 with header line.
    Has the following format:
                Row number   | Colum Number   |   Value
         i.e.     1                 1             Name1
                  2                 1             Joe
    TYPES: Begin of t_record,
        name1 like itab-value,
        name2 like itab-value,
        age   like itab-value,
        age1  like itab-value,
        End of t_record.
    DATA: it_record type standard table of t_record initial size 0,
          wa_record type t_record.
    DATA: gd_currentrow type i.
    *Selection Screen Declaration
    PARAMETER p_infile like rlgrap-filename default 'D:\pulkit\VBAP1.xls'.
    *START OF SELECTION
    call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
           exporting
                filename                = p_infile
                i_begin_col             = '1'
                i_begin_row             = '1'  "Do not require headings
                i_end_col               = '4'
                i_end_row               = '3'
           tables
                intern                  = itab
           exceptions
                inconsistent_parameters = 1
                upload_ole              = 2
                others                  = 3.
      if sy-subrc <> 0.
        message e010(zz) with text-001. "Problem uploading Excel Spreadsheet
      endif.
    Sort table by rows and colums
      sort itab by row col.
    Get first row retrieved
      read table itab index 1.
    Set first row retrieved to current row
      gd_currentrow = itab-row.
      loop at itab.
      Reset values for next row
        if itab-row ne gd_currentrow.
          append wa_record to it_record.
          clear wa_record.
          gd_currentrow = itab-row.
        endif.
        case itab-col.
          when '0001'.                              "First name
            wa_record-name1 = itab-value.
          when '0002'.                              "Surname
            wa_record-name2 = itab-value.
          when '0003'.                              "Age
            wa_record-age   = itab-value.
          when '0004'.                              "Age1
            wa_record-age1   = itab-value.
        endcase.
      endloop.
      append wa_record to it_record.
    *!! Excel data is now contained within the internal table IT_RECORD
    Display report data for illustration purposes
      loop at it_record into wa_record.
        write:/     sy-vline,
               (10) wa_record-name1, sy-vline,
               (10) wa_record-name2, sy-vline,
               (10) wa_record-age, sy-vline,
               (10) wa_record-age1, sy-vline.
      endloop.
    regards
    Gaurav

  • GUI_UPLOAD to upload flat file to internal table

    Hi Experts,
    I have to upload a flat file which has multiple records ,from a local server.The fields in records are ~ saperated.
    Presently i am only looking into uploading the flat file into internal table.
    I have done the following coding;
    TYPES: BEGIN OF gt_frmgt ,
           tablety  type c length 10 ,
           tablenm  type c length 30,
           numin  type  c length 2,
           END OF gt_frmgt.
    TYPES: begin of gt_frmgto,
             rec(1000) type c,
            end of gt_frmgto.
    DATA: Itgt_frmgt type table of gt_frmgt with header line.
    DATA: itgt_frmgto type table of gt_frmgto with header line.
    DATA: lfile_path type string.
    PARAMETERS: f_path type localfile.
    at selection-screen on value-request for f_path.
      call function 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          static    = 'X'
        CHANGING
          file_name = f_path.
    start-of-selection.
      lfile_path = f_path.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME                      = lfile_path
          FILETYPE                      = 'ASC'
         HAS_FIELD_SEPARATOR           = 'X'
        HEADER_LENGTH                 = 0
        READ_BY_LINE                  = 'X'
        DAT_MODE                      = ' '
        CODEPAGE                      = ' '
        IGNORE_CERR                   = ABAP_TRUE
        REPLACEMENT                   = '#'
        CHECK_BOM                     = ' '
        VIRUS_SCAN_PROFILE            =
        NO_AUTH_CHECK                 = ' '
      IMPORTING
        FILELENGTH                    =
        HEADER                        =
        TABLES
          DATA_TAB                      =  itgt_frmgto
      EXCEPTIONS
        FILE_OPEN_ERROR               = 1
        FILE_READ_ERROR               = 2
        NO_BATCH                      = 3
        GUI_REFUSE_FILETRANSFER       = 4
        INVALID_TYPE                  = 5
        NO_AUTHORITY                  = 6
        UNKNOWN_ERROR                 = 7
        BAD_DATA_FORMAT               = 8
        HEADER_NOT_ALLOWED            = 9
        SEPARATOR_NOT_ALLOWED         = 10
        HEADER_TOO_LONG               = 11
        UNKNOWN_DP_ERROR              = 12
        ACCESS_DENIED                 = 13
        DP_OUT_OF_MEMORY              = 14
        DISK_FULL                     = 15
        DP_TIMEOUT                    = 16
        OTHERS                        = 17
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      delete itgt_frmgto index 1.
      loop at itgt_frmgto.
        clear Itgt_frmgt.
        split itgt_frmgto-rec at cl_abap_char_utilities=>vertical_tab
        into Itgt_frmgt-tablety
        Itgt_frmgt-tablenm
        Itgt_frmgt-numin.
        append Itgt_frmgt.
      endloop.
      loop at Itgt_frmgt.
        write:/ Itgt_frmgt-tablety, Itgt_frmgt-tablenm, Itgt_frmgt-numin.
    The input file in Local path is ;
    XXXXXXX~~Export the invoice
    2~19980501~19980531
    // The first invoice:
    0~00130698114000010004119980512059611000276233.350.1711076.66????321000789010005???????????????????130601000000000??????????18? 3352051????532611-3357211???~~~
    0~????????176233.350.1711076.6676233.350~1510
    // The second invoice:
    0~00130698114000010007219980512059611000440482.000.175882.00????110108078901007?????????61? 68744479?????????????462088-07?????130601000000000??????????18? 3352051????532611-3357211???????????~~~
    0~????????139780.000.175780.0039780.000~1510
    0~????3.5"10702.000.17102.0070.20~1510
    and the output is :
    XXXXXXX~~
    2~~1998050
    // The fir
    0~00~1
    0~????~?
    // The sec
    0~00~1
    0~????~?
    0~????
    I am unable to understand why this split is happening .According to me the first 3 fields should be displayed without field saperater.
    It would be very much appreciated if any body has little idea about this.
    Thankx,
    Priya
    Message was edited by:
            Priya Parmeshwar Shiggaon
    Message was edited by:
            Priya Parmeshwar Shiggaon

    if it is one time upload then u can use transaction CG3Z n upload file on application server.
    u can tno use Gui_upload in background.
    Program to upload file via gui_upload in foreground  -(open fiel in Excel format and then make changes and save it as text tab file and upload tht file) -
    REPORT  Z_AMIT_BAPI
    no standard page heading line-size 255.
    parameters: p_file like rlgrap-filename default 'C:\temp\emp.txt'.
    data :begin of itab occurs 0,
             pernr(8),
             bdate(10),
             edate(10),
             mail(30) ,
            end of itab.
    Start-of-selection.
    Perform read_file.
    *&      Form  read_file
          text
    -->  p1        text
    <--  p2        text
    FORM read_file .
    DATA: full_file_name    TYPE string.
    full_file_name = p_file.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = full_file_name
        FILETYPE                      = 'ASC'
        HAS_FIELD_SEPARATOR           = ','
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
      TABLES
        DATA_TAB                      = itab
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
    IF SY-SUBRC <> 0.
      MESSAGE e000(000) WITH 'Upload-Error; RC:' sy-subrc.
    ENDIF.
    ENDFORM.                    " read_file
    reward points if helpfull
    amit

Maybe you are looking for

  • SSL configuration for ABAP engine

    Hi Experts, Can you please tell me how to configure SSL on ABAP engine? Can you please guide me in details of the first part i.e. installation of SAPCRYPTOLIB for ABAP part? I am not getting the document properly. I am telling you what I have done. 1

  • Tell me about external digital tuners

    I have a Sony Bravia digital TV. I have a Magnavox DVD/VCR combo. The DVD doesn't have a digital tuner. I only have an antenna (no cable) I've been told that I can buy an external ATSC receiver, but don't really know what to buy. Also...is this tuner

  • JMX configuration for Websphere in Process Administrator

    How to set up the security credential information for JMX configuration in Process Admistrator for Websphere clustered environment? Is there any document which give instructions on the key store/trust store set up for JMX? Thanks

  • XI MessageServlet return Error 403

    Hi all, after patching our XI installation to SP13 I can't access the MessageServlet anymore. Each call to the MessageServlet URL return HTTP error code 403. I've used the component monitoring and the adapter engine and the SOAP adapter seem to be ru

  • Sync not copying all Phonebook entries

    Hi, my current configuration is: Windows Vista PC Suite 6.84.10.3 Cable Connection Nokia 9500 I tried to sync my contacts info with Vista contacts, but it only copied 59 contacts into Vista. My phone has over 300 contacts. I restarted the communicato