<?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: Command for remove zeros in sapscript in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-for-remove-zeros-in-sapscript/m-p/6083953#M1357437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Where can I find all this commands? do you have any documentation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Aug 2009 18:09:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-28T18:09:19Z</dc:date>
    <item>
      <title>Command for remove zeros in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-for-remove-zeros-in-sapscript/m-p/6083948#M1357432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to remove zeros of a variable in a sapscript, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TALGN = 0000427795776&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I need to remove the zeros so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TALGN = 427795776&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But sometimes will be 3, 4 or more zeros, is there a way to do it with a sapscript command? or this should be done in the program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards and thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miriam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 22:10:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command-for-remove-zeros-in-sapscript/m-p/6083948#M1357432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-26T22:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Command for remove zeros in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-for-remove-zeros-in-sapscript/m-p/6083949#M1357433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;amp;SYMBOL(Z)&amp;amp; Suppress leading zeros  &amp;amp;MATNR(Z)&amp;amp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;leading zeros (functionality of FM CONVERSION_EXIT_ALPHA_INPUT) keep in print program and pass this variable to script after you removed leading zeros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AMS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 23:00:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command-for-remove-zeros-in-sapscript/m-p/6083949#M1357433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-26T23:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Command for remove zeros in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-for-remove-zeros-in-sapscript/m-p/6083950#M1357434</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;Check the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data a(9) value '000012345'.&lt;/P&gt;&lt;P&gt;SHIFT a LEFT DELETING LEADING '0'.&lt;/P&gt;&lt;P&gt;write:/ a.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output will be : 12345&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;Vinay Kolla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 23:32:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command-for-remove-zeros-in-sapscript/m-p/6083950#M1357434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-26T23:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Command for remove zeros in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-for-remove-zeros-in-sapscript/m-p/6083951#M1357435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi Miriam,
Certain symbol values are output with leading zeros. If you wish to suppress these, you may do so with the Z option.
Syntax
&lt;PRE&gt;&lt;CODE&gt;&amp;amp;TALGN(Z)&amp;amp;&lt;/CODE&gt;&lt;/PRE&gt;

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 01:51:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command-for-remove-zeros-in-sapscript/m-p/6083951#M1357435</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-08-27T01:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Command for remove zeros in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-for-remove-zeros-in-sapscript/m-p/6083952#M1357436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miriam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAP Scripts , you have Layout Set Symbols which you can use for doing things like :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Getting Offset&lt;/STRONG&gt; - &lt;STRONG&gt;&amp;amp;SYMBOL+4&amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Length&lt;/STRONG&gt; - &lt;STRONG&gt;&amp;amp;SYMBOL(5)&amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If symbol is initial ,output nothing&lt;/STRONG&gt; - &lt;STRONG&gt;&amp;amp;SYMBOL(I)&amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Suppress Leading zeroes&lt;/STRONG&gt; - &lt;STRONG&gt;&amp;amp;SYMBOL(Z)&amp;amp;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And many more such symbols.&lt;/P&gt;&lt;P&gt;Hence, you dunt need to write the code in your driving program  and pass to the Script.&lt;/P&gt;&lt;P&gt;You can directly use these symbols in your script and get things done in simple manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;             Samreen...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 03:06:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command-for-remove-zeros-in-sapscript/m-p/6083952#M1357436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-27T03:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Command for remove zeros in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-for-remove-zeros-in-sapscript/m-p/6083953#M1357437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Where can I find all this commands? do you have any documentation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2009 18:09:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command-for-remove-zeros-in-sapscript/m-p/6083953#M1357437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-28T18:09:19Z</dc:date>
    </item>
  </channel>
</rss>

