<?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 Leading Zeros during Code Execution in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zeros-during-code-execution/m-p/4222673#M1008969</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having a problem in R/3 release 4.6C. I am obtaining the EAN11 number from MARA and I need to retrieve 7 digits starting from the 3rd position. I have numerous ean11 numbers that have 1 or 2 leading zeros. The leading zeros are not displaying during debugging and, as a result, I am not retrieving the correct value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EAN11: 00300405012345 (I need to retrieve: 3004050)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EAN11 in debugger: 300405012345 (during execution will retrieve: 0405012).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Scott Fischer on Jul 25, 2008 4:42 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jul 2008 14:41:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-25T14:41:45Z</dc:date>
    <item>
      <title>Leading Zeros during Code Execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zeros-during-code-execution/m-p/4222673#M1008969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having a problem in R/3 release 4.6C. I am obtaining the EAN11 number from MARA and I need to retrieve 7 digits starting from the 3rd position. I have numerous ean11 numbers that have 1 or 2 leading zeros. The leading zeros are not displaying during debugging and, as a result, I am not retrieving the correct value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EAN11: 00300405012345 (I need to retrieve: 3004050)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EAN11 in debugger: 300405012345 (during execution will retrieve: 0405012).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Scott Fischer on Jul 25, 2008 4:42 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 14:41:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zeros-during-code-execution/m-p/4222673#M1008969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-25T14:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Leading Zeros during Code Execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zeros-during-code-execution/m-p/4222674#M1008970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after getting the  value from mara of the field   use conversion exits&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 14:44:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zeros-during-code-execution/m-p/4222674#M1008970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-25T14:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Leading Zeros during Code Execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zeros-during-code-execution/m-p/4222675#M1008971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use conversition routins &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_EAN11_INPUT&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_EAN11_OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajasekhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 14:44:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zeros-during-code-execution/m-p/4222675#M1008971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-25T14:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Leading Zeros during Code Execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zeros-during-code-execution/m-p/4222676#M1008972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use one of the following FMs to convert the internal format into external format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_EAN11_INPUT&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_EAN11_OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then take the offset.&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>Fri, 25 Jul 2008 14:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zeros-during-code-execution/m-p/4222676#M1008972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-25T14:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Leading Zeros during Code Execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zeros-during-code-execution/m-p/4222677#M1008973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;data: ws_ean11 type mara-ean11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;  exporting&lt;/P&gt;&lt;P&gt;   input = ws_ean11&lt;/P&gt;&lt;P&gt;  importing&lt;/P&gt;&lt;P&gt;   output = ws_ean11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ws_ean11 = ws_ean11+2(7).&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;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 14:47:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zeros-during-code-execution/m-p/4222677#M1008973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-25T14:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Leading Zeros during Code Execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zeros-during-code-execution/m-p/4222678#M1008974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this function appears to be my best option. The EAN11 conversion functions did nothing but return to the same result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 15:44:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zeros-during-code-execution/m-p/4222678#M1008974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-25T15:44:56Z</dc:date>
    </item>
  </channel>
</rss>

