<?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: GUI_UPLOAD error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-error/m-p/4064091#M971489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In FM GUI_UPLOAD parameter FILENAME is of TYPE  STRING but u r passing p_pcfile which is of type rlgrap-filename thats why u r getting dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take a variable like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: l_file type string.&lt;/P&gt;&lt;P&gt;Move p_pcfile to this variable&lt;/P&gt;&lt;P&gt;l_file =  p_pcfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now pass l_file to the FM GUI_UPLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jul 2008 16:09:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-01T16:09:28Z</dc:date>
    <item>
      <title>GUI_UPLOAD error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-error/m-p/4064090#M971488</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 am getting a dump error while using the FM &lt;STRONG&gt;GUI_UPLOAD&lt;/STRONG&gt;, i am using the FM &lt;STRONG&gt;KD_GET_FILENAME_ON_F4&lt;/STRONG&gt; to get the file name and the Parameter is defined as &lt;STRONG&gt;parameters: p_pcfile type rlgrap-filename&lt;/STRONG&gt;. The error is  &lt;STRONG&gt;CALL_FUNCTION_CONFLICT_TYPE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;CX_SY_DYN_CALL_ILLEGAL_TYPE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to over come this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 16:03:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-error/m-p/4064090#M971488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T16:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_UPLOAD error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-error/m-p/4064091#M971489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In FM GUI_UPLOAD parameter FILENAME is of TYPE  STRING but u r passing p_pcfile which is of type rlgrap-filename thats why u r getting dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take a variable like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: l_file type string.&lt;/P&gt;&lt;P&gt;Move p_pcfile to this variable&lt;/P&gt;&lt;P&gt;l_file =  p_pcfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now pass l_file to the FM GUI_UPLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 16:09:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-error/m-p/4064091#M971489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T16:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_UPLOAD error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-error/m-p/4064092#M971490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the error happening in KD_GET_FILENAME_ON_F4?&lt;/P&gt;&lt;P&gt;Can yo ushow ho are you calling it?&lt;/P&gt;&lt;P&gt;Wich sentence does the dump marks as the conflict?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 16:10:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-error/m-p/4064092#M971490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T16:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_UPLOAD error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-error/m-p/4064093#M971491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to SDN...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason behind your dump is GUI_UPLOAD function module exporting FILENAME parameter is of type STRING and you are passing the result filename coming from KD_GET_FILENAME_ON_F4 function module which is of type RLGRAP-FILENAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take an intermediate variable which is of type string and move the value of KD_GET_FILENAME_ON_F4 filename to this variable before passing to GUI_UPLOAD function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA V_FILENAME TYPE STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_FILENAME = Result of KD_GET_FILENAME_ON_F4 filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;FILENAME = V_FILENAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 16:12:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-error/m-p/4064093#M971491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T16:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_UPLOAD error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-error/m-p/4064094#M971492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this simple example.....&lt;/P&gt;&lt;P&gt;send the file to a string before giving it to the gui_upload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZVENKATTEST0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;      a type c,&lt;/P&gt;&lt;P&gt;      c type c,&lt;/P&gt;&lt;P&gt;      b type i,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-a = 'a' .&lt;/P&gt;&lt;P&gt;itab-c = ':'.&lt;/P&gt;&lt;P&gt;itab-b = 1 .&lt;/P&gt;&lt;P&gt;append itab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-a = 'b' .&lt;/P&gt;&lt;P&gt;itab-c = ':'.&lt;/P&gt;&lt;P&gt;itab-b = 2 .&lt;/P&gt;&lt;P&gt;append itab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-a = 'c' .&lt;/P&gt;&lt;P&gt;itab-c = ':'.&lt;/P&gt;&lt;P&gt;itab-b = 3 .&lt;/P&gt;&lt;P&gt;append itab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: file type string .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file = 'C:\Documents and Settings\venkatapp\Desktop\testing1.txt'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    FILENAME                        = file&lt;/P&gt;&lt;P&gt;   FILETYPE                        = 'ASC'&lt;/P&gt;&lt;P&gt;   WRITE_FIELD_SEPARATOR           = ':'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                        = itab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 16:57:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-error/m-p/4064094#M971492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T16:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_UPLOAD error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-error/m-p/4064095#M971493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this coding..hope it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : FILE_STR TYPE STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : P_FLNME LIKE RLGRAP-FILENAME. "File Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FILE_STR = P_FLNME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*UPLOADING FILE INTO INTERNAL TABLE&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 = FILE_STR&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 = ITAB&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;IF SY-SUBRC 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Y.R.Prem Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 04:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-error/m-p/4064095#M971493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T04:45:29Z</dc:date>
    </item>
  </channel>
</rss>

