<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: data not uploading.....kindly  check my coding in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834753#M663693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hymavathi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by debugging in p_file i am getting path of my flat file where it is stored in system.Any other suggestion that you can give me? what can be the other reasons that data uploading in others system, but i am still getting 0000 record uploading even after doing what you all suggested me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2007 11:27:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-24T11:27:12Z</dc:date>
    <item>
      <title>data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834730#M663670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ABAPERs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following coding is written to upload flat file data into database.But while debugging my code i found data is not coming to any of the internal table output is showing 0 record. What can be the reasons?&lt;/P&gt;&lt;P&gt;CODE :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****************&lt;/P&gt;&lt;P&gt;REPORT  Zupload.&lt;/P&gt;&lt;P&gt;INCLUDE zbdc_include.&lt;/P&gt;&lt;P&gt;TABLES: vblb,vbsn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: itab_nag_mrp LIKE itab_nag OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF t_bdcdata OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE bdcdata.&lt;/P&gt;&lt;P&gt;DATA: END OF t_bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: l_itmcd   LIKE vbap-matnr,&lt;/P&gt;&lt;P&gt;      l_pos     LIKE vbap-posnr,&lt;/P&gt;&lt;P&gt;      l_unit    LIKE mara-meins.&lt;/P&gt;&lt;P&gt;DATA: l_totrec(10)  TYPE n,&lt;/P&gt;&lt;P&gt;      l_rejrec(10)  TYPE n,&lt;/P&gt;&lt;P&gt;      l_rejrec1(10) TYPE n,&lt;/P&gt;&lt;P&gt;      l_correc(10)  TYPE n.&lt;/P&gt;&lt;P&gt;DATA: w_vbeln LIKE vbap-vbeln.&lt;/P&gt;&lt;P&gt;*INTERNAL TABLES&lt;/P&gt;&lt;P&gt;DATA: i_err_itab_nag1 LIKE i_err_itab_nag OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;*INTERNAL TABLE FOR ERROR MESSAGES&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF t_err_mes OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE bdcmsgcoll.&lt;/P&gt;&lt;P&gt;DATA: END OF t_err_mes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WORK AREA&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: wa_err_itab_nag LIKE i_err_itab_nag,&lt;/P&gt;&lt;P&gt;      wa1 TYPE vblb.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;GLOBAL VARIABLE DECLARATION.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA:g_text LIKE t100-text,&lt;/P&gt;&lt;P&gt;     g_lines TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS :p_file TYPE rlgrap-filename OBLIGATORY&lt;/P&gt;&lt;P&gt;DEFAULT 'C:\Nagare\nagaretest.txt',&lt;/P&gt;&lt;P&gt;err_file TYPE rlgrap-filename OBLIGATORY&lt;/P&gt;&lt;P&gt;      DEFAULT 'C:\Nagare\error.txt',&lt;/P&gt;&lt;P&gt;err_qty TYPE rlgrap-filename OBLIGATORY&lt;/P&gt;&lt;P&gt;      DEFAULT 'C:\Nagare\error_qty.txt'.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: END OF BLOCK blk2.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.&lt;/P&gt;&lt;P&gt;  PERFORM f_get_file_name USING p_file.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR err_file.&lt;/P&gt;&lt;P&gt;  PERFORM f_get_file_name USING err_file.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR err_qty.&lt;/P&gt;&lt;P&gt;  PERFORM f_get_file_name USING err_qty.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  PERFORM f_check_file_exist USING p_file.&lt;/P&gt;&lt;P&gt;  PERFORM f_check_file_exist USING err_file.&lt;/P&gt;&lt;P&gt;  PERFORM f_check_file_exist USING err_qty.&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  l_totrec = 0.&lt;/P&gt;&lt;P&gt;  PERFORM data_load.&lt;/P&gt;&lt;P&gt;  CLEAR itab_nag.&lt;/P&gt;&lt;P&gt;  LOOP AT itab_nag.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE matnr&lt;/P&gt;&lt;P&gt;                  posnr&lt;/P&gt;&lt;P&gt;            INTO (l_itmcd,&lt;/P&gt;&lt;P&gt;                  l_pos)&lt;/P&gt;&lt;P&gt;           FROM vbap&lt;/P&gt;&lt;P&gt;          WHERE kdmat = itab_nag-itmcd&lt;/P&gt;&lt;P&gt;            AND vbeln = itab_nag-vbeln.&lt;/P&gt;&lt;P&gt;    w_vbeln = itab_nag-vbeln.&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MOVE-CORRESPONDING itab_nag TO itab_err.&lt;/P&gt;&lt;P&gt;      APPEND itab_err.&lt;/P&gt;&lt;P&gt;      CLEAR itab_err.&lt;/P&gt;&lt;P&gt;      CLEAR w_vbeln.&lt;/P&gt;&lt;P&gt;      CONTINUE.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE meins&lt;/P&gt;&lt;P&gt;           INTO l_unit&lt;/P&gt;&lt;P&gt;           FROM mara&lt;/P&gt;&lt;P&gt;          WHERE matnr = l_itmcd.&lt;/P&gt;&lt;P&gt;    PERFORM insert_sch_lines.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  PERFORM nagare_mrp_trigger.&lt;/P&gt;&lt;P&gt;  DELETE ADJACENT DUPLICATES FROM i_err_itab_nag.&lt;/P&gt;&lt;P&gt;  DELETE ADJACENT DUPLICATES FROM i_err_itab_nag1.&lt;/P&gt;&lt;P&gt;  l_rejrec = 0.&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE i_err_itab_nag LINES g_lines.&lt;/P&gt;&lt;P&gt;  IF g_lines &amp;gt; 0.&lt;/P&gt;&lt;P&gt;    PERFORM f_display_error_headings.&lt;/P&gt;&lt;P&gt;    PERFORM f_diplay_error_report.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE itab_err LINES l_rejrec.&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE itab_err_qty LINES l_rejrec1.&lt;/P&gt;&lt;P&gt;  l_rejrec = l_rejrec + l_rejrec1.&lt;/P&gt;&lt;P&gt;  l_correc = l_totrec - l_rejrec.&lt;/P&gt;&lt;P&gt;  WRITE: / 'Nagare Upload Status'.&lt;/P&gt;&lt;P&gt;  WRITE: / ' '.&lt;/P&gt;&lt;P&gt;  WRITE: / 'Total no of Records: ', l_totrec.&lt;/P&gt;&lt;P&gt;  WRITE: / 'Total Records Uploded: ', l_correc.&lt;/P&gt;&lt;P&gt;  WRITE: / 'Total Error Records: ', l_rejrec.&lt;/P&gt;&lt;P&gt;  CLEAR itab_err.&lt;/P&gt;&lt;P&gt;  IF itab_err[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA LOCAL2 TYPE STRING.&lt;/P&gt;&lt;P&gt;local2 = err_file.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        FILENAME                        = local2&lt;/P&gt;&lt;P&gt;       FILETYPE                        = 'DAT'&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        DATA_TAB                        = itab_err[]&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;       FILE_WRITE_ERROR                = 1&lt;/P&gt;&lt;P&gt;       NO_BATCH                        = 2&lt;/P&gt;&lt;P&gt;       GUI_REFUSE_FILETRANSFER         = 3&lt;/P&gt;&lt;P&gt;       INVALID_TYPE                    = 4&lt;/P&gt;&lt;P&gt;       NO_AUTHORITY                    = 5&lt;/P&gt;&lt;P&gt;       UNKNOWN_ERROR                   = 6&lt;/P&gt;&lt;P&gt;       HEADER_NOT_ALLOWED              = 7&lt;/P&gt;&lt;P&gt;       SEPARATOR_NOT_ALLOWED           = 8&lt;/P&gt;&lt;P&gt;       FILESIZE_NOT_ALLOWED            = 9&lt;/P&gt;&lt;P&gt;       HEADER_TOO_LONG                 = 10&lt;/P&gt;&lt;P&gt;       DP_ERROR_CREATE                 = 11&lt;/P&gt;&lt;P&gt;       DP_ERROR_SEND                   = 12&lt;/P&gt;&lt;P&gt;       DP_ERROR_WRITE                  = 13&lt;/P&gt;&lt;P&gt;       UNKNOWN_DP_ERROR                = 14&lt;/P&gt;&lt;P&gt;       ACCESS_DENIED                   = 15&lt;/P&gt;&lt;P&gt;       DP_OUT_OF_MEMORY                = 16&lt;/P&gt;&lt;P&gt;       DISK_FULL                       = 17&lt;/P&gt;&lt;P&gt;       DP_TIMEOUT                      = 18&lt;/P&gt;&lt;P&gt;       FILE_NOT_FOUND                  = 19&lt;/P&gt;&lt;P&gt;       DATAPROVIDER_EXCEPTION          = 20&lt;/P&gt;&lt;P&gt;       CONTROL_FLUSH_ERROR             = 21&lt;/P&gt;&lt;P&gt;       OTHERS                          = 22&lt;/P&gt;&lt;P&gt;              .&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WRITE: / 'Duplicate Error File Saved in: ', err_file.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  CLEAR itab_err_qty.&lt;/P&gt;&lt;P&gt;  IF itab_err_qty[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA LOCAL1 TYPE STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;local1 = err_qty.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    FILENAME                        = local1&lt;/P&gt;&lt;P&gt;   FILETYPE                        = 'DAT'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                        = itab_err_qty[]&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   FILE_WRITE_ERROR                = 1&lt;/P&gt;&lt;P&gt;   NO_BATCH                        = 2&lt;/P&gt;&lt;P&gt;   GUI_REFUSE_FILETRANSFER         = 3&lt;/P&gt;&lt;P&gt;   INVALID_TYPE                    = 4&lt;/P&gt;&lt;P&gt;   NO_AUTHORITY                    = 5&lt;/P&gt;&lt;P&gt;   UNKNOWN_ERROR                   = 6&lt;/P&gt;&lt;P&gt;   HEADER_NOT_ALLOWED              = 7&lt;/P&gt;&lt;P&gt;   SEPARATOR_NOT_ALLOWED           = 8&lt;/P&gt;&lt;P&gt;   FILESIZE_NOT_ALLOWED            = 9&lt;/P&gt;&lt;P&gt;   HEADER_TOO_LONG                 = 10&lt;/P&gt;&lt;P&gt;   DP_ERROR_CREATE                 = 11&lt;/P&gt;&lt;P&gt;   DP_ERROR_SEND                   = 12&lt;/P&gt;&lt;P&gt;   DP_ERROR_WRITE                  = 13&lt;/P&gt;&lt;P&gt;   UNKNOWN_DP_ERROR                = 14&lt;/P&gt;&lt;P&gt;   ACCESS_DENIED                   = 15&lt;/P&gt;&lt;P&gt;   DP_OUT_OF_MEMORY                = 16&lt;/P&gt;&lt;P&gt;   DISK_FULL                       = 17&lt;/P&gt;&lt;P&gt;   DP_TIMEOUT                      = 18&lt;/P&gt;&lt;P&gt;   FILE_NOT_FOUND                  = 19&lt;/P&gt;&lt;P&gt;   DATAPROVIDER_EXCEPTION          = 20&lt;/P&gt;&lt;P&gt;   CONTROL_FLUSH_ERROR             = 21&lt;/P&gt;&lt;P&gt;   OTHERS                          = 22&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM data_load.&lt;/P&gt;&lt;P&gt;  DATA: l_nagno   LIKE vbep-aeskd,&lt;/P&gt;&lt;P&gt;        l_qty     LIKE vbep-wmeng.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA LOCAL TYPE STRING.&lt;/P&gt;&lt;P&gt;local = p_file.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    FILENAME                      = local&lt;/P&gt;&lt;P&gt;   FILETYPE                      = 'ASC'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                      = itab_main_nag1&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   FILE_OPEN_ERROR               = 1&lt;/P&gt;&lt;P&gt;   FILE_READ_ERROR               = 2&lt;/P&gt;&lt;P&gt;   NO_BATCH                      = 3&lt;/P&gt;&lt;P&gt;   GUI_REFUSE_FILETRANSFER       = 4&lt;/P&gt;&lt;P&gt;   INVALID_TYPE                  = 5&lt;/P&gt;&lt;P&gt;   NO_AUTHORITY                  = 6&lt;/P&gt;&lt;P&gt;   UNKNOWN_ERROR                 = 7&lt;/P&gt;&lt;P&gt;   BAD_DATA_FORMAT               = 8&lt;/P&gt;&lt;P&gt;   HEADER_NOT_ALLOWED            = 9&lt;/P&gt;&lt;P&gt;   SEPARATOR_NOT_ALLOWED         = 10&lt;/P&gt;&lt;P&gt;   HEADER_TOO_LONG               = 11&lt;/P&gt;&lt;P&gt;   UNKNOWN_DP_ERROR              = 12&lt;/P&gt;&lt;P&gt;   ACCESS_DENIED                 = 13&lt;/P&gt;&lt;P&gt;   DP_OUT_OF_MEMORY              = 14&lt;/P&gt;&lt;P&gt;   DISK_FULL                     = 15&lt;/P&gt;&lt;P&gt;   DP_TIMEOUT                    = 16&lt;/P&gt;&lt;P&gt;   OTHERS                        = 17&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;  IF NOT itab_main_nag1 IS INITIAL.&lt;/P&gt;&lt;P&gt;    LOOP AT itab_main_nag1.&lt;/P&gt;&lt;P&gt;      CONDENSE itab_main_nag1-time.&lt;/P&gt;&lt;P&gt;      CONDENSE itab_main_nag1-itmcd.&lt;/P&gt;&lt;P&gt;      CONDENSE itab_main_nag1-qty.&lt;/P&gt;&lt;P&gt;      CONDENSE itab_main_nag1-gate.&lt;/P&gt;&lt;P&gt;      CONDENSE itab_main_nag1-a11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONDENSE itab_main_nag1-nagno.&lt;/P&gt;&lt;P&gt;      itab_main_nag-nagdt = itab_main_nag1-nagdt.&lt;/P&gt;&lt;P&gt;      itab_main_nag-time = itab_main_nag1-time.&lt;/P&gt;&lt;P&gt;      itab_main_nag-itmcd = itab_main_nag1-itmcd.&lt;/P&gt;&lt;P&gt;      itab_main_nag-qty = itab_main_nag1-qty.&lt;/P&gt;&lt;P&gt;      itab_main_nag-gate = itab_main_nag1-gate.&lt;/P&gt;&lt;P&gt;      itab_main_nag-a11 = itab_main_nag1-a11.&lt;/P&gt;&lt;P&gt;      itab_main_nag-nagno = itab_main_nag1-nagno.&lt;/P&gt;&lt;P&gt;      APPEND itab_main_nag.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: l_vbeln LIKE vbap-vbeln.&lt;/P&gt;&lt;P&gt;  PERFORM change_date_time_format.&lt;/P&gt;&lt;P&gt;  SORT itab_data_nag BY itmcd.&lt;/P&gt;&lt;P&gt;  LOOP AT itab_data_nag.&lt;/P&gt;&lt;P&gt;    itab_nag-nagdt = itab_data_nag-nagdt.&lt;/P&gt;&lt;P&gt;    itab_nag-time = itab_data_nag-time.&lt;/P&gt;&lt;P&gt;    itab_nag-itmcd = itab_data_nag-itmcd.&lt;/P&gt;&lt;P&gt;    itab_nag-qty = itab_data_nag-qty.&lt;/P&gt;&lt;P&gt;    itab_nag-gate = itab_data_nag-gate.&lt;/P&gt;&lt;P&gt;    itab_nag-a11 = itab_data_nag-a11.&lt;/P&gt;&lt;P&gt;    itab_nag-nagno = itab_data_nag-nagno.&lt;/P&gt;&lt;P&gt;    APPEND itab_nag.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  LOOP AT itab_data_nag.&lt;/P&gt;&lt;P&gt;    ON CHANGE OF itab_data_nag-itmcd.&lt;/P&gt;&lt;P&gt;      SELECT SINGLE vbap~vbeln&lt;/P&gt;&lt;P&gt;               INTO l_vbeln&lt;/P&gt;&lt;P&gt;               FROM vbap JOIN vbak ON vbap&lt;SUB&gt;vbeln = vbak&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;WHERE kdmat EQ itab_data_nag-itmcd AND auart = 'YDS'.&lt;/P&gt;&lt;P&gt;      IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;        LOOP AT itab_nag WHERE itmcd EQ itab_data_nag-itmcd.&lt;/P&gt;&lt;P&gt;          itab_nag-vbeln = l_vbeln.&lt;/P&gt;&lt;P&gt;          MODIFY itab_nag.&lt;/P&gt;&lt;P&gt;        ENDLOOP.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CLEAR wa_err_itab_nag.&lt;/P&gt;&lt;P&gt;        MOVE-CORRESPONDING itab_data_nag TO wa_err_itab_nag.&lt;/P&gt;&lt;P&gt;        PERFORM f_error_message.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDON.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  CLEAR itab_nag.&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE itab_nag LINES l_totrec.&lt;/P&gt;&lt;P&gt;  LOOP AT itab_nag.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE aeskd&lt;/P&gt;&lt;P&gt;                  wmeng&lt;/P&gt;&lt;P&gt;      INTO (l_nagno,&lt;/P&gt;&lt;P&gt;            l_qty)&lt;/P&gt;&lt;P&gt;      FROM vbep&lt;/P&gt;&lt;P&gt;     WHERE aeskd = itab_nag-nagno.&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      IF l_qty = itab_nag-qty.&lt;/P&gt;&lt;P&gt;        MOVE-CORRESPONDING itab_nag TO itab_err.&lt;/P&gt;&lt;P&gt;        DELETE itab_nag.&lt;/P&gt;&lt;P&gt;        APPEND itab_err.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        MOVE-CORRESPONDING itab_nag TO itab_err_qty.&lt;/P&gt;&lt;P&gt;        DELETE itab_nag.&lt;/P&gt;&lt;P&gt;        APPEND itab_err_qty.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  CLEAR itab_err.&lt;/P&gt;&lt;P&gt;  CLEAR itab_err_qty.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "Data_Load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM insert_sch_lines.&lt;/P&gt;&lt;P&gt;  DATA: wa TYPE vbep.&lt;/P&gt;&lt;P&gt;  DATA:  l_row   LIKE vbep-etenr.&lt;/P&gt;&lt;P&gt;  DATA:  l_kwmeng  LIKE vbap-kwmeng,&lt;/P&gt;&lt;P&gt;         l_lsmeng  LIKE vbap-lsmeng,&lt;/P&gt;&lt;P&gt;         l_kbmeng  LIKE vbap-kbmeng,&lt;/P&gt;&lt;P&gt;         l_klmeng  LIKE vbap-klmeng,&lt;/P&gt;&lt;P&gt;         l_brgew   LIKE vbap-brgew,&lt;/P&gt;&lt;P&gt;         l_ntgew   LIKE vbap-ntgew.&lt;/P&gt;&lt;P&gt;  l_row = 0.&lt;/P&gt;&lt;P&gt;  SELECT MAX( etenr )&lt;/P&gt;&lt;P&gt;     INTO l_row&lt;/P&gt;&lt;P&gt;     FROM vbep&lt;/P&gt;&lt;P&gt;    WHERE vbeln = w_vbeln&lt;/P&gt;&lt;P&gt;    AND posnr = l_pos.&lt;/P&gt;&lt;P&gt;  l_row = l_row + 1.&lt;/P&gt;&lt;P&gt;  wa-vbeln = w_vbeln.&lt;/P&gt;&lt;P&gt;  wa-posnr = l_pos.&lt;/P&gt;&lt;P&gt;  wa-etenr = l_row.&lt;/P&gt;&lt;P&gt;  wa-ettyp = 'L1'.&lt;/P&gt;&lt;P&gt;  wa-lfrel =   'X'.&lt;/P&gt;&lt;P&gt;  wa-edatu = itab_nag-nagdt.&lt;/P&gt;&lt;P&gt;  wa-ezeit = itab_nag-time.&lt;/P&gt;&lt;P&gt;  wa-wmeng = itab_nag-qty.&lt;/P&gt;&lt;P&gt;  wa-bmeng = itab_nag-qty.&lt;/P&gt;&lt;P&gt;  wa-vrkme = l_unit.&lt;/P&gt;&lt;P&gt;  wa-lmeng = itab_nag-qty.&lt;/P&gt;&lt;P&gt;  wa-meins = l_unit.&lt;/P&gt;&lt;P&gt;  wa-bdart = '05'.&lt;/P&gt;&lt;P&gt;  wa-plart = '0'.&lt;/P&gt;&lt;P&gt;  wa-aeskd = itab_nag-nagno.&lt;/P&gt;&lt;P&gt;  wa-sernr = itab_nag-gate.&lt;/P&gt;&lt;P&gt;  wa-prgrs = '1'.&lt;/P&gt;&lt;P&gt;  wa-tddat = itab_nag-nagdt.&lt;/P&gt;&lt;P&gt;  wa-mbdat = itab_nag-nagdt.&lt;/P&gt;&lt;P&gt;  wa-lddat = itab_nag-nagdt.&lt;/P&gt;&lt;P&gt;  wa-wadat = itab_nag-nagdt.&lt;/P&gt;&lt;P&gt;  wa-cmeng = itab_nag-qty.&lt;/P&gt;&lt;P&gt;  wa-abart = '2'.&lt;/P&gt;&lt;P&gt;  wa-umvkz = '1'.&lt;/P&gt;&lt;P&gt;  wa-umvkn = '1'.&lt;/P&gt;&lt;P&gt;  wa-verfp = 'X'.&lt;/P&gt;&lt;P&gt;  wa-bwart = '601'.&lt;/P&gt;&lt;P&gt;  wa-mbuhr = itab_nag-time.&lt;/P&gt;&lt;P&gt;  wa-tduhr = itab_nag-time.&lt;/P&gt;&lt;P&gt;  wa-lduhr = itab_nag-time.&lt;/P&gt;&lt;P&gt;  wa-wauhr = itab_nag-time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  INSERT vbep FROM wa.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MOVE-CORRESPONDING itab_nag TO itab_err.&lt;/P&gt;&lt;P&gt;    APPEND itab_err.&lt;/P&gt;&lt;P&gt;    CLEAR itab_err.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE kwmeng&lt;/P&gt;&lt;P&gt;                  lsmeng&lt;/P&gt;&lt;P&gt;                  kbmeng&lt;/P&gt;&lt;P&gt;                  klmeng&lt;/P&gt;&lt;P&gt;           INTO (l_kwmeng,&lt;/P&gt;&lt;P&gt;                 l_lsmeng,&lt;/P&gt;&lt;P&gt;                 l_kbmeng,&lt;/P&gt;&lt;P&gt;                 l_klmeng)&lt;/P&gt;&lt;P&gt;           FROM vbap&lt;/P&gt;&lt;P&gt;          WHERE vbeln = w_vbeln&lt;/P&gt;&lt;P&gt;          AND posnr = l_pos.&lt;/P&gt;&lt;P&gt;    l_kwmeng = l_kwmeng + itab_nag-qty.&lt;/P&gt;&lt;P&gt;    l_lsmeng = l_lsmeng + itab_nag-qty.&lt;/P&gt;&lt;P&gt;    l_kbmeng = l_kbmeng + itab_nag-qty.&lt;/P&gt;&lt;P&gt;    l_klmeng = l_klmeng + itab_nag-qty.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE brgew&lt;/P&gt;&lt;P&gt;                  ntgew&lt;/P&gt;&lt;P&gt;           INTO (l_brgew,&lt;/P&gt;&lt;P&gt;                 l_ntgew)&lt;/P&gt;&lt;P&gt;           FROM mara&lt;/P&gt;&lt;P&gt;          WHERE matnr = l_itmcd.&lt;/P&gt;&lt;P&gt;    l_brgew = l_brgew * l_kwmeng.&lt;/P&gt;&lt;P&gt;    l_ntgew = l_ntgew * l_kwmeng.&lt;/P&gt;&lt;P&gt;    UPDATE vbap&lt;/P&gt;&lt;P&gt;       SET kwmeng = l_kwmeng&lt;/P&gt;&lt;P&gt;           lsmeng = l_lsmeng&lt;/P&gt;&lt;P&gt;           kbmeng = l_kbmeng&lt;/P&gt;&lt;P&gt;           klmeng = l_klmeng&lt;/P&gt;&lt;P&gt;           brgew = l_brgew&lt;/P&gt;&lt;P&gt;           ntgew = l_ntgew&lt;/P&gt;&lt;P&gt;      WHERE vbeln = w_vbeln&lt;/P&gt;&lt;P&gt;      AND posnr = l_pos.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Insert Entry in VBLB Table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    SELECT SINGLE * FROM vblb WHERE vbeln EQ w_vbeln&lt;/P&gt;&lt;P&gt;                               AND posnr EQ l_pos&lt;/P&gt;&lt;P&gt;                               AND abart EQ '2'.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      wa1-vbeln = w_vbeln.&lt;/P&gt;&lt;P&gt;      wa1-posnr = l_pos.&lt;/P&gt;&lt;P&gt;      wa1-abart = '2'.&lt;/P&gt;&lt;P&gt;      wa1-labnk = 'NAGARE JIT'.&lt;/P&gt;&lt;P&gt;      wa1-abrdt = itab_nag-nagdt.&lt;/P&gt;&lt;P&gt;      wa1-abhor = itab_nag-nagdt.&lt;/P&gt;&lt;P&gt;      wa1-erdat = sy-datum.&lt;/P&gt;&lt;P&gt;      wa1-erzei = sy-uzeit.&lt;/P&gt;&lt;P&gt;      wa1-ernam = sy-uname.&lt;/P&gt;&lt;P&gt;      INSERT vblb FROM wa1.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  FREE wa.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "Insert_Sch_Lines&lt;/P&gt;&lt;P&gt;FORM f_error_message .&lt;/P&gt;&lt;P&gt;  LOOP AT t_err_mes WHERE msgtyp = 'E' OR msgtyp = 'S'.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;       id              = t_err_mes-msgid&lt;/P&gt;&lt;P&gt;       lang            = 'E'&lt;/P&gt;&lt;P&gt;       no              = t_err_mes-msgnr&lt;/P&gt;&lt;P&gt;       v1              = t_err_mes-msgv1&lt;/P&gt;&lt;P&gt;       v2              = t_err_mes-msgv2&lt;/P&gt;&lt;P&gt;       v3              = t_err_mes-msgv3&lt;/P&gt;&lt;P&gt;       v4              = t_err_mes-msgv4&lt;/P&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;       msg             = g_text&lt;/P&gt;&lt;P&gt;  PERFORM f_error_data.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " f_error_message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM f_error_data.&lt;/P&gt;&lt;P&gt;  APPEND wa_err_itab_nag TO i_err_itab_nag1.&lt;/P&gt;&lt;P&gt;  wa_err_itab_nag-etext = g_text.&lt;/P&gt;&lt;P&gt;  APPEND wa_err_itab_nag TO i_err_itab_nag.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " f_error_data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM f_display_error_headings .&lt;/P&gt;&lt;P&gt;  DATA: n TYPE i.&lt;/P&gt;&lt;P&gt;  SKIP.&lt;/P&gt;&lt;P&gt;  WRITE:/50 ' Error Report of Nagare Upload'  COLOR COL_NEGATIVE.&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE i_err_itab_nag1 LINES n.&lt;/P&gt;&lt;P&gt;  WRITE:/50 'No. of failed records of Nagare Upload:',n.&lt;/P&gt;&lt;P&gt;  SKIP.&lt;/P&gt;&lt;P&gt;  WRITE:/40 'The following records failed during update:'.&lt;/P&gt;&lt;P&gt;  WRITE:/ sy-uline(250).&lt;/P&gt;&lt;P&gt;ENDFORM.                    " f_display_error_headings&lt;/P&gt;&lt;P&gt;FORM f_diplay_error_report .&lt;/P&gt;&lt;P&gt;  LOOP AT i_err_itab_nag.&lt;/P&gt;&lt;P&gt;    WRITE:/ i_err_itab_nag.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " f_diplay_error_report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM change_date_time_format .&lt;/P&gt;&lt;P&gt;  LOOP AT itab_main_nag.&lt;/P&gt;&lt;P&gt;    REPLACE '-' WITH ' ' INTO itab_main_nag-nagdt.&lt;/P&gt;&lt;P&gt;    REPLACE '-' WITH ' ' INTO itab_main_nag-nagdt.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'CONVERSION_EXIT_IDATE_INPUT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        input  = itab_main_nag-nagdt&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        output = itab_data_nag-nagdt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;    itab_data_nag-itmcd = itab_main_nag-itmcd.&lt;/P&gt;&lt;P&gt;    itab_data_nag-qty = itab_main_nag-qty.&lt;/P&gt;&lt;P&gt;    itab_data_nag-gate = itab_main_nag-gate.&lt;/P&gt;&lt;P&gt;    itab_data_nag-a11 = itab_main_nag-a11.&lt;/P&gt;&lt;P&gt;    itab_data_nag-nagno = itab_main_nag-nagno.&lt;/P&gt;&lt;P&gt;    APPEND itab_data_nag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " change_date_time_format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM nagare_mrp_trigger .&lt;/P&gt;&lt;P&gt;  LOOP AT itab_nag.&lt;/P&gt;&lt;P&gt;    ON CHANGE OF itab_nag-vbeln.&lt;/P&gt;&lt;P&gt;      itab_nag_mrp-vbeln = itab_nag-vbeln.&lt;/P&gt;&lt;P&gt;      itab_nag_mrp-nagdt = itab_nag-nagdt.&lt;/P&gt;&lt;P&gt;      APPEND itab_nag_mrp.&lt;/P&gt;&lt;P&gt;    ENDON.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT itab_nag_mrp.&lt;/P&gt;&lt;P&gt;    REFRESH i_bdcdata.&lt;/P&gt;&lt;P&gt;    CLEAR i_bdcdata.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPMV45A' '0125'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                  'VBAK-VBELN'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  =uer1.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'VBAK-VBELN'&lt;/P&gt;&lt;P&gt;                                  itab_nag_mrp-vbeln.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPMV45A' '4001'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '=PFEI'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                  'VBAP-POSNR(01)'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'RV45A-VBAP_SELKZ(01)'&lt;/P&gt;&lt;P&gt;                                  'X'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPMV45A' '4003'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '=SICH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                  'RV45Z-ABHOR'.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'CONVERSION_EXIT_PDATE_OUTPUT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        input  = itab_nag_mrp-nagdt&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        output = itab_nag_mrp-nagdt.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'VBLB-ABRDT'&lt;/P&gt;&lt;P&gt;                              itab_nag_mrp-nagdt.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'RV45Z-ABHOR'&lt;/P&gt;&lt;P&gt;                                   itab_nag_mrp-nagdt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL TRANSACTION 'VA32' USING i_bdcdata MODE 'A'&lt;/P&gt;&lt;P&gt;                                         UPDATE 'S'.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " nagare_mrp_trigger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 04:42:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834730#M663670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T04:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834731#M663671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, go to debug mode and try to find out what happens. look if ws_upload is called, what's with sy-subrc and what's with header line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 09:38:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834731#M663671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T09:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834732#M663672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ANNU SINGH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I THINK U MIGHT HAVE PROBLEM IN UR UPLOAD FUNCTION MODULE.&lt;/P&gt;&lt;P&gt;TRY CHANGING THE FILE TYPE IN WS_UPLOAD TO 'DAT'... SOMETHING LIKE THIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WS_UPLOAD'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CODEPAGE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;filename = p_file&lt;/P&gt;&lt;P&gt;filetype = 'DAT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;HEADLEN = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;LINE_EXIT = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TRUNCLEN = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;USER_FORM = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;USER_PROG = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DAT_D_FORMAT = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FILELENGTH =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;data_tab = itab_main_nag1&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;conversion_error = 1&lt;/P&gt;&lt;P&gt;file_open_error = 2&lt;/P&gt;&lt;P&gt;file_read_error = 3&lt;/P&gt;&lt;P&gt;invalid_type = 4&lt;/P&gt;&lt;P&gt;no_batch = 5&lt;/P&gt;&lt;P&gt;unknown_error = 6&lt;/P&gt;&lt;P&gt;invalid_table_width = 7&lt;/P&gt;&lt;P&gt;gui_refuse_filetransfer = 8&lt;/P&gt;&lt;P&gt;customer_error = 9&lt;/P&gt;&lt;P&gt;no_authority = 10&lt;/P&gt;&lt;P&gt;OTHERS = 11&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET ME KNOW IF THIS WORKS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 09:48:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834732#M663672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T09:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834733#M663673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Annu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These FMs ws_upload and ws_download are obsolete in the newer versions. Try using GUI_UPLOAD and GUI_DOWNLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 09:55:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834733#M663673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T09:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834734#M663674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think ur not giving location of the file in ur WS_UPLOAD. check that one and if ur having a path like this c:/document and settings..........&lt;/P&gt;&lt;P&gt;and try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare a string variable and not a parameter abnd do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: ws_filepath type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_filemame like rlgrap-filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ws_filename = p_filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and pass this ws_filename to WS_DOWNLOAD fm and debug n find the error where it occured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 10:01:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834734#M663674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T10:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834735#M663675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried GUI_UPLOAD but now its giving run time error&lt;/P&gt;&lt;P&gt;"An exception occurred that is explained in detail below.                                     &lt;/P&gt;&lt;P&gt;The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was                 &lt;/P&gt;&lt;P&gt;  not caught in                                                                                &lt;/P&gt;&lt;P&gt;procedure "DATA_LOAD" "(FORM)", nor was it propagated by a RAISING clause.                    &lt;/P&gt;&lt;P&gt; Since the caller of the procedure could not have anticipated that the                     &lt;/P&gt;&lt;P&gt; exception would occur, the current program is terminated.                                    &lt;/P&gt;&lt;P&gt;The reason for the exception is:                                                             &lt;/P&gt;&lt;P&gt;  The call to the function module "GUI_UPLOAD" is incorrect:                                                                                &lt;/P&gt;&lt;P&gt;The function module interface allows you to specify only                                      &lt;/P&gt;&lt;P&gt;  fields of a particular type under "FILENAME".                                                &lt;/P&gt;&lt;P&gt;  The field "P_FILE" specified here is a different                                              &lt;/P&gt;&lt;P&gt;field type       "&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 10:11:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834735#M663675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T10:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834736#M663676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ANNU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF U R GETTING RUNTIME ERROR IN GUI UPLOAD ITS BCOS U HAVE PASSED THE P_FILE DIRECTLY. U SHOULD USE ONLY DATA OBJECT OF TYPE STRING IN UR FILE NAME PART IN GUI_UPLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRY USING IT LIKE THIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA LOCAL TYPE STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  local = file.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename                = local&lt;/P&gt;&lt;P&gt;      filetype                = 'ASC'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab                = I_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THIS WILL SOLVE UR RUNTIME ERROR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 10:16:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834736#M663676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T10:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834737#M663677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ANNU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF U R GETTING RUNTIME ERROR IN GUI UPLOAD ITS BCOS U HAVE PASSED THE P_FILE DIRECTLY. U SHOULD USE ONLY DATA OBJECT OF TYPE STRING IN UR FILE NAME PART IN GUI_UPLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRY USING IT LIKE THIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA LOCAL TYPE STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;local = P_FILE.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;filename = local&lt;/P&gt;&lt;P&gt;filetype = 'ASC'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;data_tab = I_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THIS WILL SOLVE UR RUNTIME ERROR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 10:21:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834737#M663677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T10:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834738#M663678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi naveen runtime error is not coming but my output is same as it was coming before ...no difference is coming whethert i use WS_UPLOAD or GUI_UPLOAD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 10:31:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834738#M663678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T10:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834739#M663679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CAN U TELL ME WHAT IS UR REQUIREMENT AND WHAT IS ZBDC_INCLUDE....????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 10:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834739#M663679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T10:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834740#M663680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in my flat file i have last column as a number(e.g 20A005570557D14) .so basically for all materials i have to upload this numbers in database which will be used in dispatch. Flat file structure i have given at end of coding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 10:47:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834740#M663680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T10:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834741#M663681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ANNU...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UR PROGRAM IS WORKING FINE.&lt;/P&gt;&lt;P&gt;I TRIED CHKING IN MY SYSTEM....&lt;/P&gt;&lt;P&gt;MY OUTPUT FLAT FILE IS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IAM GETTIN THE OUTPUT AS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;N229 20-SEP-2007 18:00 85051M67K20-EEK 4 A1-6 A14 20J705570557A14&lt;/P&gt;&lt;P&gt;N229 20-SEP-2007 18:00 85051M67K10-EDU 4 A1-6 A14 20J705570565A14&lt;/P&gt;&lt;P&gt;N229 20-SEP-2007 07:10 85051M67K10-EDV 8 A1-6 A14 20J705570573A14&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My output is :&lt;/P&gt;&lt;P&gt;Nagare Upload Status&lt;/P&gt;&lt;P&gt;Total no of Records: 0000000003&lt;/P&gt;&lt;P&gt;Total Records Uploded: 0000000000&lt;/P&gt;&lt;P&gt;Total Error Records: 0000000003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR FLAT FILE AS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;20070920		5051M67K10-EDU	4 A1-6	A14	7055	65A14	&lt;/P&gt;&lt;P&gt;20070920		5051M67K10-EDV	8 A1-6	A14	7055	73A14	&lt;/P&gt;&lt;P&gt;20070920		5051M67K20-EEK	4 A1-6	A14	7055	57A14	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE ONLY CHANGE I HAVE MADE WAS I COMMENTED UR "ZTIME_CONVERSION" FM....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 11:23:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834741#M663681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T11:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834742#M663682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it after commenting this FM also as you did  but in my system output is still same. Had you made any changes to your flat file also?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 04:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834742#M663682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T04:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834743#M663683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i changed all ws_upload/download to GUI_Upload/Download .&lt;/P&gt;&lt;P&gt;In debugging GUI_UPLOAD itab_main_nag1 table not showing any record and SY_SUBRC is displaying 0 value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly help me what is the problem here why in my case its showing no error file and no data uploading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 07:39:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834743#M663683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T07:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834744#M663684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one point should always be remebered is:&lt;/P&gt;&lt;P&gt;the input parameter file name should of type string.&lt;/P&gt;&lt;P&gt;declare liek this.&lt;/P&gt;&lt;P&gt;IN TABLES PARAMETER GIVE THE INTERNALTABLE NAME .&lt;/P&gt;&lt;P&gt;data : lv_infile type string.&lt;/P&gt;&lt;P&gt;lv_infile = p_file.&lt;/P&gt;&lt;P&gt;while you call the funtiion moduel gui_upload&lt;/P&gt;&lt;P&gt;import parameters&lt;/P&gt;&lt;P&gt;file_name   = lv_infile&lt;/P&gt;&lt;P&gt;file_type = 'ASC'&lt;/P&gt;&lt;P&gt;HAS_FIELD_SEPARATRO = 'X'&lt;/P&gt;&lt;P&gt;TABLES = ITAB&lt;/P&gt;&lt;P&gt;Then you get the data into internal table.In case if you are still unable to down load into internal table check for sy-subrc.Most probably if there is no authorisation given to you then also you will this problem.Check for the sy-subrc value with that of the number in exception.In case of no authorisation then request basis personnel to give you access.Once you are done with it by my code give the feed back and if this works give me markks.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 07:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834744#M663684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T07:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834745#M663685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anand &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my changed code with gui_upload function module i used string type data only only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA LOCAL TYPE STRING.&lt;/P&gt;&lt;P&gt;local = p_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    FILENAME                      = local&lt;/P&gt;&lt;P&gt;   FILETYPE                      = 'ASC'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                      = itab_main_nag1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then passed local as file name parameter then also i am getting same result my sy-subrc is 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 08:23:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834745#M663685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T08:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834746#M663686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Anand &lt;/P&gt;&lt;P&gt;I tried with this also&lt;/P&gt;&lt;P&gt;I did it like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA LOCAL TYPE STRING.&lt;/P&gt;&lt;P&gt;local = p_file.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    FILENAME                      = local&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILETYPE                      = 'ASC'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But then also my output ws same.&lt;/P&gt;&lt;P&gt;I havent uncommented used HAS_FIELD_SEPARATRO = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can this be the reason. IS this necessary to use it. I tried it ..by passing value to this parameter (HAS_FIELD_SEPARATRO = 'X') my program gives run time error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 08:48:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834746#M663686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T08:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834747#M663687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Run time error solved but my output is still ooooo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 08:50:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834747#M663687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T08:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834748#M663688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi annu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls see this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename            = v_file&lt;/P&gt;&lt;P&gt;      filetype            = 'ASC'&lt;/P&gt;&lt;P&gt;      has_field_separator = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab            = i_upload_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; are using gui_upload that time &lt;/P&gt;&lt;P&gt;u write like that&lt;/P&gt;&lt;P&gt;p_file LIKE ibipparms-path &lt;/P&gt;&lt;P&gt;data :  local is string ,&lt;/P&gt;&lt;P&gt;          p_file to local.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this ur write r not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;kk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 08:57:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834748#M663688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T08:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: data not uploading.....kindly  check my coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834749#M663689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI kaumr kk &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;even this didnt work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 10:09:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-uploading-kindly-check-my-coding/m-p/2834749#M663689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T10:09:02Z</dc:date>
    </item>
  </channel>
</rss>

