<?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: Upload Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-program/m-p/2688046#M621709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Irfan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     if you are validating it in a report just check for the 255 characters if it more than 255 characters display a message.&lt;/P&gt;&lt;P&gt;Logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     data : ch type char255,&lt;/P&gt;&lt;P&gt;              ch1 type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     ch = field+0(255).&lt;/P&gt;&lt;P&gt;     ch1 = field+255(1).&lt;/P&gt;&lt;P&gt;     if ch1 is not initial.&lt;/P&gt;&lt;P&gt;        display message.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to do the validation in a screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    do it on some button click event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is in the selection screen you ahve events for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Award points if this is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Aug 2007 03:21:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-27T03:21:43Z</dc:date>
    <item>
      <title>Upload Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-program/m-p/2688045#M621708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to write an upload program where I need to validate the no. of characters in a field.&lt;/P&gt;&lt;P&gt;There are 255  characters for a field, I need to ensure that user while uploading user does not upload more than 255 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Irfan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 03:15:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-program/m-p/2688045#M621708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-27T03:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Upload Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-program/m-p/2688046#M621709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Irfan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     if you are validating it in a report just check for the 255 characters if it more than 255 characters display a message.&lt;/P&gt;&lt;P&gt;Logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     data : ch type char255,&lt;/P&gt;&lt;P&gt;              ch1 type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     ch = field+0(255).&lt;/P&gt;&lt;P&gt;     ch1 = field+255(1).&lt;/P&gt;&lt;P&gt;     if ch1 is not initial.&lt;/P&gt;&lt;P&gt;        display message.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to do the validation in a screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    do it on some button click event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is in the selection screen you ahve events for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Award points if this is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 03:21:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-program/m-p/2688046#M621709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-27T03:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Upload Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-program/m-p/2688047#M621710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Irfan,&lt;/P&gt;&lt;P&gt;    When you are uploading the file, u will be using an internal table. so make sure that the internal table field contains the char (255). so when uploading the text it will upload till  the 255 characters only rest will be left.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Yogesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 04:30:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-program/m-p/2688047#M621710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-27T04:30:33Z</dc:date>
    </item>
  </channel>
</rss>

