<?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: SE37 error ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555908#M1658633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case as soon as u get the materials with the leading 0's u can pass your material variable to the conversion exit for output as seen below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Call function 'CONVERSION_EXIT_ALPHA_OUTPUT'
Exporting
input = material
Importing
output = material.


 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should resolve your issue with the leading zeros. But mind you this is purely for processing purposes,  the leading 0's will still exist at the database level in your tables. There is a customizing procedure to get rid of this as well but i m not sure if that is what your requirement calls for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: AJ Nayak on Feb 20, 2012 1:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Feb 2012 07:49:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-02-20T07:49:43Z</dc:date>
    <item>
      <title>SE37 error ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555900#M1658625</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;I have a function module with import field named MATERIAL of type EKPO-MATNR which I want to test in SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value I want to pass for this field is 0555768710.&lt;/P&gt;&lt;P&gt;While debugging I can see the value 000000000555768710.&lt;/P&gt;&lt;P&gt;The same function module executed from the program shows the proper value 0555768710.&lt;/P&gt;&lt;P&gt;I think there is something wrong with passing screen fields values in SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I solve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Grzegorz Skorus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 07:07:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555900#M1658625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-20T07:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: SE37 error ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555901#M1658626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;everything is all right, value is automatically converted by the system conversion exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, check this:&lt;/P&gt;&lt;P&gt;[http://help.sap.com/saphelp_40b/helpdata/en/cf/21ee19446011d189700000e8322d00/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;George Shlyahov.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 07:10:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555901#M1658626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-20T07:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: SE37 error ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555902#M1658627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup, the leading 0's are just how SAP stores your material number internally.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 07:14:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555902#M1658627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-20T07:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: SE37 error ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555903#M1658628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Correctly said Nayak&lt;/P&gt;&lt;P&gt;Karthik.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 07:18:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555903#M1658628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-20T07:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: SE37 error ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555904#M1658629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for suggestions but i have one more doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are two different material numbers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;020&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0020&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The internal representation is the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;000000000000000220&lt;/P&gt;&lt;P&gt;000000000000000220&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, I guess the conversion exit will be able to exctract for me proper values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;020&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0020&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 07:27:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555904#M1658629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-20T07:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: SE37 error ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555905#M1658630</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;You will never get the same material no. so, no problems..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will work..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 07:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555905#M1658630</guid>
      <dc:creator>praveen_reddy2</dc:creator>
      <dc:date>2012-02-20T07:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: SE37 error ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555906#M1658631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am afraid not, they would both represent the same material. SAP would not allow you to create that material i.e.  after creating material '020' . If you try creating a material '0020' all you would get is a message (type E) stating material '20' already exists&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand, if you were to create material '020' and '0200', you wouldn't have a problem. &lt;/P&gt;&lt;P&gt; the difference is in the leading and trailing (which the system would disregard) 0's&lt;/P&gt;&lt;P&gt;Hope that explains it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: AJ Nayak on Feb 20, 2012 1:10 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 07:33:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555906#M1658631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-20T07:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: SE37 error ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555907#M1658632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the internal representation with leading zeroes is valid only for materials with internal numberring.&lt;/P&gt;&lt;P&gt;I have just opened my MARA and I can see that materials with external numberring do not have leading zeroes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MARA-MATNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;000000000000700001&lt;/P&gt;&lt;P&gt;A85535426100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is I pass to the function module material with external numberring and get it with leading zeroes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 07:44:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555907#M1658632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-20T07:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: SE37 error ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555908#M1658633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case as soon as u get the materials with the leading 0's u can pass your material variable to the conversion exit for output as seen below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Call function 'CONVERSION_EXIT_ALPHA_OUTPUT'
Exporting
input = material
Importing
output = material.


 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should resolve your issue with the leading zeros. But mind you this is purely for processing purposes,  the leading 0's will still exist at the database level in your tables. There is a customizing procedure to get rid of this as well but i m not sure if that is what your requirement calls for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: AJ Nayak on Feb 20, 2012 1:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 07:49:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555908#M1658633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-20T07:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: SE37 error ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555909#M1658634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I have just opened my MARA and I can see that materials with external numberring do not have leading zeroes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In SE11 transaction you see already converted values. That's why there are no zero.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 07:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555909#M1658634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-20T07:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: SE37 error ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555910#M1658635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but it it doesn't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0123A works because it contains A which is a letter and I get 0123A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;01234 doesn't work as the system thinks it is a number, and not a string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not have time to think about it as the FM itself works just fine executed from the other program and moreover I cannot change it contents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The conclusion is for now - I am not able to test it with SE37.&lt;/P&gt;&lt;P&gt;Anyway, thanks for suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Grzegorz Skorus on Feb 20, 2012 9:02 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 08:00:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555910#M1658635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-20T08:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: SE37 error ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555911#M1658636</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 check in the se37 menu utilities&lt;DEL&gt;&amp;gt;Function builder&lt;/DEL&gt;&amp;gt; Switch off conversion exit while testing&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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhukar Shetty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 08:05:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555911#M1658636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-20T08:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: SE37 error ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555912#M1658637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Madhukar, this is what I needed.&lt;/P&gt;&lt;P&gt;Now it works.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 08:30:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555912#M1658637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-20T08:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: SE37 error ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555913#M1658638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Please check in the se37 menu utilities&lt;DEL&gt;&amp;gt;Function builder&lt;/DEL&gt;&amp;gt; Switch off conversion exit while testing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;SE37 --&amp;gt; menu --&amp;gt; utilities --&amp;gt; &lt;STRONG&gt;&lt;U&gt;SETTINGS&lt;/U&gt;&lt;/STRONG&gt; --&amp;gt; Function builder --&amp;gt; Switch off conversion exit while testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;George Shlyahov.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 08:35:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/se37-error/m-p/8555913#M1658638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-20T08:35:46Z</dc:date>
    </item>
  </channel>
</rss>

