<?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: Web Services  from ABAP function modules return values- leading zeros in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-services-from-abap-function-modules-return-values-leading-zeros/m-p/3250922#M776224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jawahar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you run your (RFC-enabled) function modules using the &lt;STRONG&gt;SAP-GUI&lt;/STRONG&gt; (i.e. in dialog) then the GUI automatically replaces leading zero when the function module returns any data. However, calling the same function module remotely you will always see these leading zeros.&lt;/P&gt;&lt;P&gt;These so-called &lt;STRONG&gt;conversion exits&lt;/STRONG&gt; are defined as attribute of domains in the ABAP dictionary. If the function module used for the WebService is a standard fm then you have little chances to get rid of the leading zero. Perhaps the WebService has some attribute to suppress conversion exits or activate them when retrieving the data.&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;   Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2008 04:42:17 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2008-01-16T04:42:17Z</dc:date>
    <item>
      <title>Web Services  from ABAP function modules return values- leading zeros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-services-from-abap-function-modules-return-values-leading-zeros/m-p/3250921#M776223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using several web services from SAP CRM (5.0) that were created from Function modules ( I am assuming that that they are in ABAP).&lt;/P&gt;&lt;P&gt;I can call the web services fine and they work as expected, but I am seeing a lot of leading zeros in the return values of fields in tables from the Web service. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ABAP er&amp;#146;s are telling me that they cannot see the leading zero&amp;#146;s.&lt;/P&gt;&lt;P&gt;So my question is where these are appended to the values in the whole process. When I execute the Function Module in SAP CRM from transaction SE37 I can see the leading zeros. So I think that this is something that has to be handled by the ABAP er&amp;#146;s and not in the client consuming the web service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are the functions in SAP CRM that can remove leading zeros for fields in a table (that is an export parameter?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jawahar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 21:11:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-services-from-abap-function-modules-return-values-leading-zeros/m-p/3250921#M776223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T21:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Web Services  from ABAP function modules return values- leading zeros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-services-from-abap-function-modules-return-values-leading-zeros/m-p/3250922#M776224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jawahar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you run your (RFC-enabled) function modules using the &lt;STRONG&gt;SAP-GUI&lt;/STRONG&gt; (i.e. in dialog) then the GUI automatically replaces leading zero when the function module returns any data. However, calling the same function module remotely you will always see these leading zeros.&lt;/P&gt;&lt;P&gt;These so-called &lt;STRONG&gt;conversion exits&lt;/STRONG&gt; are defined as attribute of domains in the ABAP dictionary. If the function module used for the WebService is a standard fm then you have little chances to get rid of the leading zero. Perhaps the WebService has some attribute to suppress conversion exits or activate them when retrieving the data.&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;   Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 04:42:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-services-from-abap-function-modules-return-values-leading-zeros/m-p/3250922#M776224</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-01-16T04:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Web Services  from ABAP function modules return values- leading zeros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-services-from-abap-function-modules-return-values-leading-zeros/m-p/3250923#M776225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jawahar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 13:19:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-services-from-abap-function-modules-return-values-leading-zeros/m-p/3250923#M776225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T13:19:57Z</dc:date>
    </item>
  </channel>
</rss>

