<?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 Mapping a string in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-a-string/m-p/3742472#M900499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have to mapp a variable matnr = 123-456-789 to matnr = 123456789&lt;/P&gt;&lt;P&gt;what I am suppose to do?&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Apr 2008 06:35:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-30T06:35:38Z</dc:date>
    <item>
      <title>Mapping a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-a-string/m-p/3742472#M900499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have to mapp a variable matnr = 123-456-789 to matnr = 123456789&lt;/P&gt;&lt;P&gt;what I am suppose to do?&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 06:35:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-a-string/m-p/3742472#M900499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T06:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-a-string/m-p/3742473#M900500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : matnr type matnr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : a(3) , b(3), c(3).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matnr = '123-456-789' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split matnr at '-' into a b c .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear matnr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate a b c into matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write : matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;reward if helpful&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 06:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-a-string/m-p/3742473#M900500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T06:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-a-string/m-p/3742474#M900501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write as ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace all occurrences of '-' in matnr with ''.&lt;/P&gt;&lt;P&gt;condense matnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 06:41:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-a-string/m-p/3742474#M900501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T06:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-a-string/m-p/3742475#M900502</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;Split the string at any special characters found and concatenate the rest of characters into another string. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the final string is prepared, move it into a numeric field .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 06:42:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-a-string/m-p/3742475#M900502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T06:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-a-string/m-p/3742476#M900503</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;If '-' occurs inside the variable, then you can use&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURANCES OF '-' WITH SPACE INTO &amp;lt;VARIABLE&amp;gt;.&lt;/P&gt;&lt;P&gt;This will remove '-'. Then you can use CONDENSE &amp;lt;VARIABLE&amp;gt; to remove the spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use convert_exit function module to pad 0 to the variable.&lt;/P&gt;&lt;P&gt;After this you may check the variable againt material master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;S. Chandramouli.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 06:42:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-a-string/m-p/3742476#M900503</guid>
      <dc:creator>former_member784222</dc:creator>
      <dc:date>2008-04-30T06:42:35Z</dc:date>
    </item>
  </channel>
</rss>

