<?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/6147827#M1368005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to validate the date format before uploading.&lt;/P&gt;&lt;P&gt;i want a consecutive number to be maintained in the POSNR field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Sep 2009 13:40:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-02T13:40:14Z</dc:date>
    <item>
      <title>Upload Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-program/m-p/6147825#M1368003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to upload a .txt file. This file updates the Z table. End users have the data in excel and save it to a .txt file and upload the data. The user has to enter the date only in YYYYMMDD format without any separator. How can i check this before uploading?. i want to give a message also if it was maintained in the wrong format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Z table has the following fields,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MANDT&lt;/P&gt;&lt;P&gt;POSNR&lt;/P&gt;&lt;P&gt;MATERIAL&lt;/P&gt;&lt;P&gt;DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i upload a consecutive number for POSNR. it should start from 1,2,3........... and the MANDT field should be 900.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 13:28:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-program/m-p/6147825#M1368003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-02T13:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Upload Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-program/m-p/6147826#M1368004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly is your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 13:37:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-program/m-p/6147826#M1368004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-02T13:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Upload Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-program/m-p/6147827#M1368005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to validate the date format before uploading.&lt;/P&gt;&lt;P&gt;i want a consecutive number to be maintained in the POSNR field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 13:40:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-program/m-p/6147827#M1368005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-02T13:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Upload Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-program/m-p/6147828#M1368006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search the forum for date validation examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a number range for your posnr (also search the forum).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 13:44:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-program/m-p/6147828#M1368006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-02T13:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Upload Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-program/m-p/6147829#M1368007</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;Please find answers to your queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  In your program use FM GUI_UPLOAD to upload the txt file from presentation server (your pc) to an internal table within the     &lt;/P&gt;&lt;P&gt;     program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The internal table should have the same structure as the columns of the txt file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. To find out if the date contains any separator you can use the FIND command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Identifying whether the date is strictly in YYYYMMDD format would be a lilttle difficult as there is no direct FM for it.&lt;/P&gt;&lt;P&gt;    You will have to bulid some logic for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could not understand your other queries. Please elaborate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur Parab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 13:46:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-program/m-p/6147829#M1368007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-02T13:46:46Z</dc:date>
    </item>
  </channel>
</rss>

