<?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: Transfer a char type varialble value to NUMC type variable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-a-char-type-varialble-value-to-numc-type-variable/m-p/6975744#M1491963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First check the field definition in the dictionnary, BSEG-PROJK. the data element is PS_PSP_PNR, and the domain is PS_POSNR. This domain uses a conversion exit ABPSP, so from domain definition we can see that&lt;/P&gt;&lt;P&gt;- the internal value has a 8 numeric length format&lt;/P&gt;&lt;P&gt;- the external value has a 24 character length format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the FM CONVERSION_EXIT_ABPSP_INPUT and CONVERSION_EXIT_ABPSP_OUTPUT to convert between the two formats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jun 2010 07:01:08 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2010-06-15T07:01:08Z</dc:date>
    <item>
      <title>Transfer a char type varialble value to NUMC type variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-a-char-type-varialble-value-to-numc-type-variable/m-p/6975742#M1491961</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 BSEG-PROJK  type NUMC(8) variable and one xyz type CHAR(50)  variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to pass value from xyz to BSEG-PROJK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; my e.g is that while I am passing &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xyz= 'M-000064'&lt;/P&gt;&lt;P&gt;BSEG-PROJK  = xyz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then the value of BSEG-PROJK is 00000064 but i need M-000064&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 06:39:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-a-char-type-varialble-value-to-numc-type-variable/m-p/6975742#M1491961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-15T06:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer a char type varialble value to NUMC type variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-a-char-type-varialble-value-to-numc-type-variable/m-p/6975743#M1491962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Common sense tells me the 'M' in 'M-000064' is not numeric. Why do you expect this to be copied to a numeric field ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 06:53:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-a-char-type-varialble-value-to-numc-type-variable/m-p/6975743#M1491962</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-06-15T06:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer a char type varialble value to NUMC type variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-a-char-type-varialble-value-to-numc-type-variable/m-p/6975744#M1491963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First check the field definition in the dictionnary, BSEG-PROJK. the data element is PS_PSP_PNR, and the domain is PS_POSNR. This domain uses a conversion exit ABPSP, so from domain definition we can see that&lt;/P&gt;&lt;P&gt;- the internal value has a 8 numeric length format&lt;/P&gt;&lt;P&gt;- the external value has a 24 character length format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the FM CONVERSION_EXIT_ABPSP_INPUT and CONVERSION_EXIT_ABPSP_OUTPUT to convert between the two formats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 07:01:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-a-char-type-varialble-value-to-numc-type-variable/m-p/6975744#M1491963</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-06-15T07:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer a char type varialble value to NUMC type variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-a-char-type-varialble-value-to-numc-type-variable/m-p/6975745#M1491964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BUT BSEG table has PROJK field with value M-000064.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in my requirement i have to put that value to BSEG-PROJK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 07:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-a-char-type-varialble-value-to-numc-type-variable/m-p/6975745#M1491964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-15T07:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer a char type varialble value to NUMC type variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-a-char-type-varialble-value-to-numc-type-variable/m-p/6975746#M1491965</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;The value &lt;STRONG&gt;M-000064&lt;/STRONG&gt; is showing in field PROJK of BSEG, due to the conversion routine &lt;STRONG&gt;ABPSP&lt;/STRONG&gt; attached in the domain level of this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- To check the actual value stored in data base level &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- SE16 Give table name=&amp;gt;to see the table contents Press F7=&amp;gt;settings=&amp;gt;user parameters=&amp;gt; uncheck the check box &lt;STRONG&gt;check conversion exit&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- now the value in field PROJK will show in numeric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;DKS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 11:10:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-a-char-type-varialble-value-to-numc-type-variable/m-p/6975746#M1491965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-15T11:10:50Z</dc:date>
    </item>
  </channel>
</rss>

