SQlldr Error while uploading "excel" or "csv" file.

Hello to community,
We are using Oracle AS(application Server) 10g as a "web Server" & "database Server"
The Database Server is having an NFS Partition,which has mounted onto "Web Server"
So, if any client tried to upload any excel OR csv file , the Web Server will redirect that file data onto "database" server" through NFS partition.
By clicking "upload" button from client end, they are getting a strange error. By checking "ias_console" log file, I have found below latest logs,which belongs to the error. Kindly let me know where is the problem coming from.
The Database Server Shared NFS partition name is "web_upload" & we have same "web_upload" partition on the "web server". The command of mounting NFS partition is given below.
On AIX web Server :- mount <ip address>:/file_data/web_upload/ /web_upload/
SYNTAX :- <ip add of db server>/mount point "web server mount point"
The error is as given below.
09/06/09 15:27:47 NumIdle: 2
09 Jun 2009 15:27:47,764 [DEBUG] - [ com.vat.website.service.DatabaseService ] [ private Connection getDBConnection() ] Exited
09 Jun 2009 15:27:47,764 [DEBUG] - [ com.vat.website.service.DatabaseService ] [ private Connection getDBConnection() ] Exited
09 Jun 2009 15:27:47,766 [DEBUG] - [ com.vat.website.service.DatabaseService ] [ private void initialize() ] After getDBConnection called,
  connection object is: org.apache.commons.dbcp.PoolableConnection@1048a893
09 Jun 2009 15:27:47,767 [DEBUG] - [ com.vat.website.service.ExcelUploadService ] [ public boolean insertFileDetails(ExcelDataBean databean,String
  strFname) ] strUniqueKey:select  web_uploaded_file_history_seq.nextval from dual
09 Jun 2009 15:27:47,767 [DEBUG] - [ com.vat.website.service.DatabaseService ] [ public ResultSet executeQuery(String strQuery) ] Entered
09 Jun 2009 15:27:47,773 [DEBUG] - [ com.vat.website.service.DatabaseService ] [ public ResultSet executeQuery(String strQuery) ] Exited
09 Jun 2009 15:27:47,774 [DEBUG] - [ com.vat.website.service.ExcelUploadService ] [ public boolean insertFileDetails(ExcelDataBean databean,String
  strFname) ] insertQuery:INSERT INTO WEB_UPLOADED_FILE_HISTORY(WUF_SERIAL_NUMBER,WUF_DEALER_ID,WUF_PERIOD_FROM,WUF_PERIOD_TO,WUF_FILE_PATH,WUF_FORM_NO,WUF_SERVER_IP,WUF_UPLOAD_YN,WUF_CREATED_DATE,WUF_CREATED_BY,WUF_ORIGINAL_REVISED,WUF_SHEETS_NUMBER,wuf_reco
  d_key)VALUES('2658271','T00100001000306',to_date('01/01/2009','dd/mm/yyyy'),to_date('31/01/2009','dd/mm/yyyy'),'/web_upload/090609/VAT
  Returns/000000/0000000000/Form201/0000000000_0T201BO0109_009062009152747.csv',replace(decode('T201B','T201M', 'T201','T201B'),'T','VAT-Form'),(select
  RPAD(sys_context('USERENV','IP_ADDRESS'),15,' ') AS client_ipaddress from dual),'Y',SYSDATE,'WEB','O','0','3317063')
09 Jun 2009 15:27:47,791 [DEBUG] - [ com.vat.website.service.DatabaseService ] [ public void closeDBConnection() ] Entered
09 Jun 2009 15:27:47,791 [DEBUG] - finalDate:01-JAN-2009
09 Jun 2009 15:27:47,792 [DEBUG] - finalDate:31-JAN-2009
09 Jun 2009 15:27:47,806 [DEBUG] - [ com.vat.website.utils.PropertyCache ] [ static Object getValue(String propertyName, String propertyFileName)
  ] Entered
09 Jun 2009 15:27:47,806 [DEBUG] - [ com.vat.website.utils.PropertyCache ] [ static Object getValue(String propertyName, String propertyFileName)
  ] Entered
09 Jun 2009 15:27:47,806 [DEBUG] - [ com.vat.website.utils.PropertyCache ] [ static Object getValue(String propertyName, String propertyFileName)
  ] Entered
09 Jun 2009 15:27:47,806 [DEBUG] - [ com.vat.website.action.UploadAction ] [ public ActionForward submit(ActionMapping mapping, ActionForm
  form,HttpServletRequest request, HttpServletResponse response) ] Executing: sqlldr parfile=parafile.par silent=feedback direct=Y at location:
  /web_upload/090609/VAT Returns/000000/0000000000/Form201/SQLLdr
It seems that this problem is due to "Sqlldr" then how to troubleshoot this problem?
Waiting for your favorable response,
Advanced Thanks,
Nishith Vyas.

Flat File was in error.

Similar Messages

  • Error while uploading data through CSV File

    Dear All,
    While Performing following steps I have encounted error in BW 3.5.
    Step 1. Right-click Source System u2013 demo: flat file, and then select Create InfoPackageu2026.
    Step 2. Select the DataSource Material number (Master data), enter a description for the InfoPackage, and
    Step 3. Click the External data tab. Select options as shown in the screen. Enter a file name with a path.(CSV File)\
    While checking the preview I am able to see the values inside CSV file,
    But while Starting the scheduler to upload this data it is displaying following error=>
    Syntax error in template RSTMPLIR, row 0 (-> Long text)
    While checking performance assistant following detail is displayed.
    *Diagnosis
    Field "C_R_D" is unknown. It is neither in one of the specified tables nor defined by a "DATA"   ...
    System response
    The program generation was terminated.
    Procedure
    Correct the template*
    Can you guide how to eliminate this error?
    Points will be rewarded for your contribution
    Regards,
    Purav

    Flat File was in error.

  • Error while creating table from csv file

    I am getting an error while creating a table using 'Import Data' button for a csv file containing 22 columns and 8 rows. For primary key, I am using an existing column 'Line' and 'Not generated' options.
    ORA-20001: Excel load run ddl error: drop table "RESTORE" ORA-00942: table or view does not exist ORA-20001: Excel load run ddl error: create table "RESTORE" ( "LINE" NUMBER, "PHASE" VARCHAR2(30), "RDC_MEDIA_ID" VARCHAR2(30), "CLIENT_MEDIA_LABEL" VARCHAR2(30), "MEDIA_TYPE" VARCHAR2(30), "SIZE_GB" NUMBER, "RDC_IMG_HD_A" NUMBER, "START_TECH" VARCHAR2(30), "CREATE_DATE" VARCHAR2(30), "RDC_MEDIA_DEST" VARCHAR2(30), "POD" NUMBER, "TAPE" NUMBER, "ERRORS_YN" VA
    Any idea?

    I am getting an error while creating a table using 'Import Data' button for a csv file containing 22 columns and 8 rows. For primary key, I am using an existing column 'Line' and 'Not generated' options.
    ORA-20001: Excel load run ddl error: drop table "RESTORE" ORA-00942: table or view does not exist ORA-20001: Excel load run ddl error: create table "RESTORE" ( "LINE" NUMBER, "PHASE" VARCHAR2(30), "RDC_MEDIA_ID" VARCHAR2(30), "CLIENT_MEDIA_LABEL" VARCHAR2(30), "MEDIA_TYPE" VARCHAR2(30), "SIZE_GB" NUMBER, "RDC_IMG_HD_A" NUMBER, "START_TECH" VARCHAR2(30), "CREATE_DATE" VARCHAR2(30), "RDC_MEDIA_DEST" VARCHAR2(30), "POD" NUMBER, "TAPE" NUMBER, "ERRORS_YN" VA
    Any idea?

  • Error while Loading data through .csv file

    Hi,
    I am getting below date error when loading data through into Olap tables through .csv file.
    Data stored in .csv is 20071113121100.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
    TRANSF_1_1_1> TE_7007 Transformation Evaluation Error [<<Expression Error>> [TO_DATE]: invalid string for converting to Date
    ... t:TO_DATE(u:'2.00711E+13',u:'YYYYMMDDHH24MISS')]
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
    TRANSF_1_1_1> TT_11132 Transformation [Exp_FILE_CHNL_TYPE] had an error evaluating output column [CREATED_ON_DT_OUT]. Error message is [<<Expression Error>> [TO_DATE]: invalid string for converting to Date
    ... t:TO_DATE(u:'2.00711E+13',u:'YYYYMMDDHH24MISS')].
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
    TRANSF_1_1_1> TT_11019 There is an error in the port [CREATED_ON_DT_OUT]: The default value for the port is set to: ERROR(<<Expression Error>> [ERROR]: transformation error
    ... nl:ERROR(u:'transformation error')).
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
    TRANSF_1_1_1> TT_11021 An error occurred moving data from the transformation Exp_FILE_CHNL_TYPE: to the transformation W_CHNL_TYPE_DS.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
    TRANSF_1_1_1> CMN_1086 Exp_FILE_CHNL_TYPE: Number of errors exceeded threshold [1].
    Any help is greatly appreciated.
    Thanks,
    Poojak

    1) Wrong format, you wont get much support loading OLAP cubes in here I think.
    2) Has your CSV file been anywhere near excel by chance the conversion of 20071113121100 to 2.00711E+13 looks very much like what I see when Excel has an invalid number mask / precision specified for a cell.
    *** We are using EBS. File was already generated by consultants through SQL query. Getting error while loading though Informatica. Target table is setup as date datatype and source is String(19).
    Expression in Informatica is setup as below.
    IIF(ISNULL(CREATED_ON_DT), NULL, TO_DATE(CREATED_ON_DT, 'YYYYMMDDHH24MISS'))
    Thanks,
    Poojak

  • Error while writing to a .CSV file

    hi,
    I am writing output from PL/SQL block to a .CSV file.
    CREATE OR REPLACE PROCEDURE wr_csv
    AS
    BEGIN
    DECLARE
    abc VARCHAR2(10);
    file_name VARCHAR2(30);
    output_file utl_file.file_type;
    BEGIN
    SELECT ename INTO abc FROM EMP;
    file_name :=('Testwriting.CSV');
    output_file :=utl_file.fopen('d:\test',Testwriting.CSV,'W');
    utl_file.put_line(output_file,'NAME: '||abc );
    utl_file.fclose(output_file);
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line(SQLCODE||SQLERRM);
    END;
    END wr_csv;
    i am getting a error message:
    LINE/COL ERROR
    11/1 PL/SQL: Statement ignored
    11/40 PLS-00201: identifier 'TESTWRITING.CSV' must be declared
    Is it related to changes in the init.ora file ?
    Please Suggest..

    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line(SQLCODE||SQLERRM);
    ENDDont use like this..
    U never know if any error happens..
    ERROR at line 1:
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "SCOTT.WR_CSV", line 7
    ORA-06512: at line 2
    Message was edited by:
    jeneesh

  • Error while uploading excel file

    Hi All,
    I am using class cl_gui_frontend_services=>gui_upload, to upload an excel file for ASCII as well as for DAT format.
    I am passing the following parameters to the method :
    IF ascii EQ 'X'.
    CALL METHOD cl_gui_frontend_services=>gui_upload
            EXPORTING
              filename                = gv_filename
              filetype                = 'ASC'
              has_field_separator     = space
            CHANGING
              data_tab                = inputdata_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
              not_supported_by_gui    = 17
              error_no_gui            = 18
              others                  = 19
    ELSEIF dat EQ 'X'.
    CALL METHOD cl_gui_frontend_services=>gui_upload
            EXPORTING
              filename                = gv_filename
              filetype                = 'DAT'
              has_field_separator     = 'X'
            CHANGING
              data_tab                = inputdata_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
              not_supported_by_gui    = 17
              error_no_gui            = 18
              others                  = 19.
    endif.
    In both the cases it is giving junk characters in the inetrnal table 'inputdata_tab'.
    I tried without using the separator also but still sam eerror.
    Can anyone please help me out of this.
    Thanks in Advance.
    Sunanda.

    Hi Sunanda,
    Kindly go through this link below link, have posted one wiki on this topic:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/upload%252bexcel%252bdocument%252binto%252binternal%252btable
    Hope it helps
    Regrds
    Mansi

  • Error while uploading Excel sheet

    Hello Everybody,
    I haave developed one application in which I am uploading one excel sheet. This code is working fine on my local WAS. But, it is giving me following error on Development server.
    Application error occurred during request processing.
      Details:   java.lang.NoSuchMethodError: com.sap.engine.services.servlets_jsp.lib.multipart.MultipartMessage.setCharset(Ljava/lang/String;)V
    Exception id: [0012799E23D0004E0000021C000022E900043C0595771BD9]
    From the error it seems that it is not from my application but this error is coming from the server side. What could be the issues/problem from the server?
    Did anybody encounter the same error?
    Please help me in this regard.
    Thanks,
    Bhavik Devisha

    Hello Bhavik,
    are you using any external library in your project?
    Can you please share the code which is posing problem?
    Ashu

  • Error while uploading script form text file to SAP system

    hi
      i down loaded a SAP Script from production server to local test file using RSTXSCRP
    it get downloaded successfully but when i am uploading it to development server it is giving ERROR as :
    Transport object FORM ZIV_MEDRUCK_PO is being processed        
    Language vector used: DE                                       
    Original language was set to E                                 
    ERROR: Save with SAVE_TEXT(FORM ZIV_MEDRUCK_PO SAP DEF ) failed
    Text ID DEF 1 for text object FORM 2 does not exist            
    001 fatal error(s) occurred during import                      
    ERROR: Invalid start marker: instead of H                      
    ERROR: Invalid start marker: instead of H                     
    please help .

    Hi ,
    The text used in the previosu script is not in language en or proabably the standard text is not existent at the application server .
    Create the same text first then try uploading it it shold work.
    Regards,
    Nisrin.

  • Error while uploading an ipa(zip) file using Application Loader

    I have created an iOS application with Packager for iPhone
    on a windows machine and tested it well on my iphone. But I am unable to upload the app with Application Loader in MAC Book.I have tried a lot to solve this problem.
    This is the error message displayed on the Application Loader, after it finishes verification (zipp/unzip and code sign verificaion was succesful) and nearly finishes uploading:
    Errors
    /var/folders/KK/KK3BViY3FuOpA90EVey0VU+++TI/-Tmp-/412788415.itmsp
    Please help

    It was a network problem!!!  the solution is to make sure that you have access to the following IPs and ports or simple not becoming behind any firewall
    I was behind a firewall and Application Loader wants to have access to the following sockets:
                    Server                              IP Address                                   TCP Port  UDP Port
                   itmsdav.apple.com            17.250.236.80                                  443          n/a
                                                          17.152.19.125
                   itunesconnect.apple.com    (Dynamic)                                       443           n/a
                   vgr101.apple.com               17.152.249.51                                 33001         33001-33100
                   vgr102.apple.com               17.152.249.52                                 33001         33001-33100
                   vgr103.apple.com               17.152.249.53                                 33001         33001-33100
                   vgr104.apple.com               17.152.249.54                                 33001         33001-33100
                   vgr105.apple.com               17.152.249.55                                 33001         33001-33100
                   vgr106.apple.com               17.152.249.56                                 33001         33001-33100
                   vgr107.apple.com               17.152.249.57                                 33001         33001-33100
                   vgr108.apple.com               17.152.249.58                                 33001         33001-33100
                   sgr201.apple.com               17.152.249.101                               44001         44001-44100
                   sgr202.apple.com               17.152.249.102                               44001         44001-44100
                   sgr203.apple.com               17.152.249.103                               44001         44001-44100
                   sgr204.apple.com               17.152.249.104                               44001         44001-44100
                   sgr205.apple.com               17.152.249.105                               44001         44001-44100
                   sgr206.apple.com               17.152.249.106                               44001         44001-44100
                   sgr207.apple.com               17.152.249.107                               44001         44001-44100
                   sgr208.apple.com               17.152.249.108                               44001         44001-44100

  • Error Raised while uploading Excel file to SAP

    Hi All,
    I am getting error while uploading excel file into SAP using the function module 'TEXT_CONVERT_XLS_TO_SAP'.
    Error Message is UX(893) -  'Excel file & cannot be processed' .
    Please let me know what went wrong.
    Regards,
    Deepthi

    Hi,
    1 .TEXT_CONVERT_XLS_TO_SAP  Funtion module will work if you have installed Microsoft Excel at front end.
    2. Whenyou declare internal table for upload, specify the char only in the strcture ,don't specify any data element or dictionary reference.    If the data element and dictionaly reference is character field then its ok.
    eg.
    types:begin of st_data,
               field1 type char15,
               field2 type char23,
              endif.
    3. Close the excel before you upload
    Hope this might solve your issue.
    Regards
    Aromal R

  • Error while uploading Bank Statement in FF.5

    Hello all
    I am getting the following error while uploading the Bank Statement file in FF.5-
    Termination in statement no. 00000 of acct  ; closing record 62F missing
    The file format is MT940.
    Can somebody throw some light on this message if any1 has encountered this.
    Thanks in advance
    Hrishikesh

    Hi,
    The error itself is telling u that the closing balance in the bank statement is missing. Check the MT940 format statement in that check whether field 62F is present or not. If that line is missing then system cant understand the format.
    regards
    srikanth.

  • Error while uploading an edited excel file into an internal table

    Hi Experts,
    I am getting error while uploading an excel file that has been edited.
    I am using GUI_UPLOAD for uploading the file into internal table.
    In my program I first have to download a file, if I use the same file without editing I am able to read the file.
    When I try to edit it and then use it to upload it fails, but this is part of the my requirement.
    PLease suggest.
    Regards
    Kishore

    TYPE-POOLS: truxs.
    parameter :    lv_full_path     TYPE rlgrap-filename,
    data : lt_conv_data   TYPE truxs_t_text_data,
              lt_roles_excel   type table of ( your structure).
    start-of-selection.
            CALL FUNCTION 'SAP_CONVERT_TO_XLS_FORMAT'
              EXPORTING
                i_line_header        = 'X'
                i_filename           = lv_full_path
              TABLES
                i_tab_sap_data       = lt_roles_excel
              CHANGING
                i_tab_converted_data = lt_conv_data
              EXCEPTIONS
                conversion_failed    = 1
                OTHERS               = 2.
    In the FM Line_header = 'X' means it will negelect the first line. So u can give the heading in the excel file.
    Hope this might help u .
    With Regards,
    Sumodh.P

  • Error message while upload excel file (with macro) to sap (iw28)

    While upload excel file to sap through iw28, i get error message (vb)
    u2022     i have to say that the excel file contain macro , with out the macro , work fine .
    u2022     The error display just in refresh command.
    the error message :
    Public Sub ALV_CUS_Exit()
    Dim objs As ChartObjects
    Dim obj As ChartObject
    Dim sheet As Worksheet
    Dim r As Range
    For Each sheet In Sheets
    Set objs = sheet.ChartObjects
    For Each obj In objs
    Set r = Sheets("RawData").UsedRange
    obj.Chart.SetSourceData Source:=r
    Next obj
    Next sheet
    End Sub

    hi,
    This is releated to the ABAP coding...There might be some ouput problem in the Abap list viewer...Pls check it with the ABAP consultant...
    Regards
    Priyanka.P

  • Single Sign-On Error while uploading file via WEBADI

    Hello,
    I am getting error while uploading the file via WEBADI. Below is the error message.
    Error Message:
    The Single Sign-On server registration is invalid. Please contact the System Administrator.
    I noticed that this template is uploading data when I connect to Oracle applications and go to WEB ADI responsibility and create a new template.
    In order to make this WEBADI work do I have to create a new template each time I upload the file?
    Our goal is to use the same template, change the numbers and re load it.
    Also, Is there any way I can go to login screen when I click on UPLOAD under ORACLE in excel. That way connection is established.
    Thanks for the help.

    Hi, Actually NW Portal and SQL server has been installed on the same machine.
    Now I am trying to add my SQL server as a JDBC system and checking the connections and I do not see a property under User Management.
    When I try to connect to R/3 backend system "...Dedicated Application server" then I can see the property but not for the JDBC syste.
    any clue how to get rid of the error and to check the connection.
    Thanks in advance.
    Gopi m.

  • 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

Maybe you are looking for

  • Java apps have started running very slowly since last update.  Anyone else experiencing any problems.

    There is an java app that I have run for years without any problem  Within the last few days it started running very slowly.  I went to the Apple store and ran the same app and experienced exactly the same problem  Yesterday I tried running this app

  • How to Change a Sales Order using BAPI

    Hi All How can we change the sales document using BAPI as the requirement is --> First we create a Sales order using a BAPI. --> If the sales order is changed then we get the changed order information alonge with the old order data in a CSV file. her

  • Copy cells with borders, colours etc

    I am doing a financial reconciliation for several months of data.  I have formatted the first month - it takes 12 columns x 24 rows.  Various cells within this area have borders or colours assigned to them.  Now that I have the first month, I want to

  • Adobe Ideas file sync problems

    I'm using Adobe Ideas on a third Gen iPad with iOS 7 None of my files will sync to creative cloud. The sync process message simply alternates between 'awating connection', 'analysing' and complete but nothing happens to the files. The progress bar on

  • No mail logging after upgrade to 10.5.7

    Everything seems to be working normally, but no logging is taking place to /var/log/mail.log. If I edit amavisd.conf to turn off syslog logging and log to /var/log/amavis.log, it does go there. Nothing looks wrong in syslog.conf, etc. Any ideas?