<?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: A problem reading t006b in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-reading-t006b/m-p/6791354#M1466011</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT SINGLE msehi FROM t006b INTO f_msehi
WHERE spras = 'DE' AND mseh3 = t_stb-mmein.
IF sy-subrc 0.
f_msehi = t_stb-mmein.
ENDIF.

If I set the breakpoint on the u201CIFu201D instruction (or over there, however by select excuted) I can see the following values:

Sy-subrc = 0
t_stb-mmein = u2018STu2019
f_msehi = u2018STu2019&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;f_msehi = t_stb-mmein&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_stb-mmein = ST. As per in table.&lt;/P&gt;&lt;P&gt;So f_msehi = ST . As per code f_msehi = t_stb-mmein. (A = 5. B = A i.e, B = 5)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Apr 2010 09:45:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-19T09:45:38Z</dc:date>
    <item>
      <title>A problem reading t006b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-reading-t006b/m-p/6791353#M1466010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suppose itu2019s a stupid problem, but I canu2019t guess the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iu2019m debugging this four instructions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        SELECT SINGLE msehi FROM t006b INTO f_msehi&lt;/P&gt;&lt;P&gt;          WHERE spras = 'DE' AND mseh3 = t_stb-mmein.&lt;/P&gt;&lt;P&gt;        IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;          f_msehi = t_stb-mmein.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I set the breakpoint on the u201CIFu201D instruction (or over there, however by select excuted) I can see the following values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sy-subrc = 0&lt;/P&gt;&lt;P&gt;t_stb-mmein = u2018STu2019&lt;/P&gt;&lt;P&gt;f_msehi = u2018STu2019&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I look at the table t006b I can find the following record:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MANDT    900 &lt;/P&gt;&lt;P&gt;SPRAS    DE  &lt;/P&gt;&lt;P&gt;MSEH3    ST  &lt;/P&gt;&lt;P&gt;MSEHI    PZ  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do I find  f_msehi set to u2018STu2019 instead of u2018PZu2019?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to declare f_msehi both u201Cf_msehi  LIKE t006b-msehiu201D and u201Cf_msehi(3)u201D, they give the same effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Apr 2010 09:39:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-reading-t006b/m-p/6791353#M1466010</guid>
      <dc:creator>former_member1161170</dc:creator>
      <dc:date>2010-04-19T09:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: A problem reading t006b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-reading-t006b/m-p/6791354#M1466011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT SINGLE msehi FROM t006b INTO f_msehi
WHERE spras = 'DE' AND mseh3 = t_stb-mmein.
IF sy-subrc 0.
f_msehi = t_stb-mmein.
ENDIF.

If I set the breakpoint on the u201CIFu201D instruction (or over there, however by select excuted) I can see the following values:

Sy-subrc = 0
t_stb-mmein = u2018STu2019
f_msehi = u2018STu2019&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;f_msehi = t_stb-mmein&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_stb-mmein = ST. As per in table.&lt;/P&gt;&lt;P&gt;So f_msehi = ST . As per code f_msehi = t_stb-mmein. (A = 5. B = A i.e, B = 5)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Apr 2010 09:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-reading-t006b/m-p/6791354#M1466011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-19T09:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: A problem reading t006b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-reading-t006b/m-p/6791355#M1466012</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;       This field has conversion exit ... (MSEHI) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Apr 2010 09:45:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-reading-t006b/m-p/6791355#M1466012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-19T09:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: A problem reading t006b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-reading-t006b/m-p/6791356#M1466013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; f_msehi = t_stb-mmein.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; t_stb-mmein = ST. As per in table.&lt;/P&gt;&lt;P&gt;&amp;gt; So f_msehi = ST . As per code f_msehi = t_stb-mmein. (A = 5. B = A i.e, B = 5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps it's a misunderstanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I test f_msehi before the code "f_msehi = t_stb-mmein" and after the select.&lt;/P&gt;&lt;P&gt;My question lost the different symbol: "IF sy-subrc not is zero, then f_msehi = t_stb-mmein".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the misunderstanding&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Apr 2010 10:13:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-reading-t006b/m-p/6791356#M1466013</guid>
      <dc:creator>former_member1161170</dc:creator>
      <dc:date>2010-04-19T10:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: A problem reading t006b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-reading-t006b/m-p/6791357#M1466014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I too find that strange!!! Check &lt;STRONG&gt;f_msehi&lt;/STRONG&gt;  is cleared before used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Apr 2010 10:19:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-reading-t006b/m-p/6791357#M1466014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-19T10:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: A problem reading t006b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-reading-t006b/m-p/6791358#M1466015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; This field has conversion exit ... (MSEHI) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you're right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By chance, could you know how can I get the correct value (i.e."PZ") passing through t006b?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Apr 2010 10:28:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-reading-t006b/m-p/6791358#M1466015</guid>
      <dc:creator>former_member1161170</dc:creator>
      <dc:date>2010-04-19T10:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: A problem reading t006b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-reading-t006b/m-p/6791359#M1466016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it's problem with conversion exit as told by srini.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use FM CONVERSION_EXIT_CUNIT_OUTPUT, pass input as ST and language as DE. Check if it returns PZ.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Apr 2010 10:29:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-reading-t006b/m-p/6791359#M1466016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-19T10:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: A problem reading t006b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-reading-t006b/m-p/6791360#M1466017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Use FM CONVERSION_EXIT_CUNIT_OUTPUT, pass input as ST and language as DE. Check if it returns PZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes it does.&lt;/P&gt;&lt;P&gt;But if use it passing input my language, it returns the correct value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;I've solved my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Apr 2010 12:13:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-problem-reading-t006b/m-p/6791360#M1466017</guid>
      <dc:creator>former_member1161170</dc:creator>
      <dc:date>2010-04-19T12:13:01Z</dc:date>
    </item>
  </channel>
</rss>

