<?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: pls help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help/m-p/1007291#M78066</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;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) read file into wa&lt;/P&gt;&lt;P&gt;2) manipulate every field of your wa with :&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;assign component sy-index of structure wa to &amp;lt;f&amp;gt;.
   translate &amp;lt;f&amp;gt; using '" '.
   shift &amp;lt;f&amp;gt; by 1 places left.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Sep 2005 08:33:33 GMT</pubDate>
    <dc:creator>andreas_mann3</dc:creator>
    <dc:date>2005-09-08T08:33:33Z</dc:date>
    <item>
      <title>pls help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help/m-p/1007287#M78062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im loading sales transaction in text format where roughly containing 1000 lines, and its going to run in background every night using BAPI. &lt;/P&gt;&lt;P&gt;The inbound file looks like these: &lt;/P&gt;&lt;P&gt;I,"20050808","ZA","10","customer po". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing difficulty to map those each field to my internal table as the actual data looks funny with the code " ". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your information, as per requirement, we cant change the text format, thats the current format that has to be read from server and loaded to transaction code VA01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the quickes way to remove the code " "? Any idea will be really helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks. &lt;/P&gt;&lt;P&gt;Alia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 08:17:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help/m-p/1007287#M78062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T08:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: pls help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help/m-p/1007288#M78063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try this in your program that picks up the file? Before passing to the BAPI use the REPLACE command and removed the "".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE &lt;/P&gt;&lt;P&gt;  [ FIRST OCCURRENCE OF | ALL OCCURRENCES OF ] &lt;/P&gt;&lt;P&gt;  [ SUBSTRING ] old &lt;/P&gt;&lt;P&gt;  IN [ SECTION OFFSET off LENGTH len OF ] text &lt;/P&gt;&lt;P&gt;  WITH new. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 08:22:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help/m-p/1007288#M78063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T08:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: pls help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help/m-p/1007289#M78064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following may help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split &amp;lt;C&amp;gt; at &amp;lt;del&amp;gt; into C1  C2  C3...&lt;/P&gt;&lt;P&gt;The system searches the field &amp;lt;c&amp;gt; for the separator &amp;lt;del&amp;gt;. The parts before and after the separator are placed in the target fields &amp;lt;c1&amp;gt; ... &amp;lt;cn&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To place all fragments in different target fields, you must specify enough target fields. Otherwise, the last target field is filled with the rest of the field &amp;lt;c&amp;gt; and still contains delimiters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use ' " ' in place of &amp;lt;del&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 08:31:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help/m-p/1007289#M78064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T08:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: pls help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help/m-p/1007290#M78065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that your business do not use the code " " as content for the fields !! Otherwise, the REPLACE statement could be hazardous...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way to do it would be to use the SPLIT ... INTO TABLE statement to cut each line on the "," character and then remove the leading and tailing code " " for each entry in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is not ideal anyway, for the coma is much more often used in the data that the code " "&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 08:32:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help/m-p/1007290#M78065</guid>
      <dc:creator>guillaume-hrc</dc:creator>
      <dc:date>2005-09-08T08:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: pls help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help/m-p/1007291#M78066</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;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) read file into wa&lt;/P&gt;&lt;P&gt;2) manipulate every field of your wa with :&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;assign component sy-index of structure wa to &amp;lt;f&amp;gt;.
   translate &amp;lt;f&amp;gt; using '" '.
   shift &amp;lt;f&amp;gt; by 1 places left.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 08:33:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help/m-p/1007291#M78066</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-09-08T08:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: pls help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help/m-p/1007292#M78067</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;Many thanks for all. I will try to manipulate in the loop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 09:02:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help/m-p/1007292#M78067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T09:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: pls help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help/m-p/1007293#M78068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do NOT forget to reward points. It is one of the motivation factors we all have to answer queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 09:14:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help/m-p/1007293#M78068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T09:14:27Z</dc:date>
    </item>
  </channel>
</rss>

