<?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: issues about using T100_MSG in Exception Class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-about-using-t100-msg-in-exception-class/m-p/9482209#M1744904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, Campbell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yeah, i misunderstood the method 'exceptionClass-&amp;gt;get_text', i thought it also can return the message in T100_MSG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the T100_MSG by using the attribute T100_MS of exceptionClass like you said.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;qingda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Jun 2013 02:49:33 GMT</pubDate>
    <dc:creator>qingda_niu</dc:creator>
    <dc:date>2013-06-01T02:49:33Z</dc:date>
    <item>
      <title>issues about using T100_MSG in Exception Class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-about-using-t100-msg-in-exception-class/m-p/9482207#M1744902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;I find that if i raise an exception and the importing-parameter 'T100_MSG' is used, the messages which in 'T100_MSG' will not be got by method exceptionClass-&amp;gt;get_text( ).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;I will get the message &lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;‘Exception CX_SWF_EVT_INVALID_OBJTYPE occurred (program: ZCL_DEMO======================CP, include: ZCL_DEMO======================CM004, line: 25).’&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;after i run the report.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;But what i want to get is 'Invalid Object Type ZCL_WF'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;I debugged the SAP Original Standard Program, i found that in method &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;CL_MESSAGE-&amp;gt;CREATE_FOR_EXCEPTION (Line 43)&amp;nbsp; the exporting parameter &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;subst_table does not contain the T100_MSG informations. And i debugged into method cl_instance_descriptoin-&amp;gt;get_attribute_values, at line 16 it only returned the values of those attributes whose type_kind is one of 'NDPTXCFIsbwgy', but the type_kind of T100_MSG is U. So ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Is it a bug or there something wrong with my own code?!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My Environment is ECC6.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;The following is my code:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;REPORT&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ZDEMO_12&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;data&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;lo_demo&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;type ref to &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;zcl_demo&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lo_cx_wf&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;type ref to &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;cx_swf_evt_exception&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lv_text&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;type &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;string&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;start-of-selection&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;create &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;object lo_demo&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;try&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;call method &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;lo_demo&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;end_workflow&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;catch &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;cx_swf_evt_exception &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;into &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;lo_cx_wf&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; lv_text &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;lo_cx_wf&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;get_text&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;( ).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;write &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;lv_text&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;endtry&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;method &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;END_WORKFLOW&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;TRY&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;CALL METHOD &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;CL_SWF_EVT_EVENT&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;RAISE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;EXPORTING&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IM_OBJCATEG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;'CL'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IM_OBJTYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;'ZCL_WF'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s311"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;" This object type does not exist&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IM_EVENT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;'JUST_A_EVENT' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s311"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;" This event does not exist&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IM_OBJKEY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;'1110'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s311"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IM_EVENT_CONTAINER =&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;CATCH &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;cx_swf_evt_invalid_objtype&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s311"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;**-- using t100 msg&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ls_t100&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;msgid &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;'SWF_CST'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ls_t100&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;msgno &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;'006'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ls_t100&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;msgty &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;'E'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ls_t100&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;msgv1 &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;'Invalid Object Type'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ls_t100&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;msgv2 &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;'ZCL_WF'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s311"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_t100-msgv3 =&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s311"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_t100-msgv4 =&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;raise &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;exception &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;type &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;cx_swf_evt_invalid_objtype&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;exporting&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t100_msg &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_t100&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&amp;nbsp; ENDTRY&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;endmethod&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;qingda.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 14:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issues-about-using-t100-msg-in-exception-class/m-p/9482207#M1744902</guid>
      <dc:creator>qingda_niu</dc:creator>
      <dc:date>2013-05-31T14:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: issues about using T100_MSG in Exception Class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-about-using-t100-msg-in-exception-class/m-p/9482208#M1744903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe you misunderstand the purpose of the GET_TEXT method of an exception class. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The text returned by GET_TEXT is defined statically in the exception class itself, on the 'Texts' tab in SE24. It is not specified at runtime. These are intended to be developer-facing messages that are tecnical in nature (as they are displayed during a short-dump). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The message in attribute T100_MSG is intended to be application-specific. This method can be displayed to the user, or stored in a log, but it's up to each application to do that explicitly. If you want to use this message, you must write logic to raise it yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So instead of calling:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-size: 10pt;"&gt;lo_cx_wf&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-size: 10pt;"&gt;get_text( )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;you should be calling:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ls_t100 = &lt;SPAN lang="EN-US" style="background: white; color: black; font-size: 10pt;"&gt;lo_cx_wf&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;-&amp;gt;t100_msg.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: courier new,courier; font-size: 10pt;"&gt;MESSAGE ID ls_t100-msgid TYPE ls_t100-msgty NUMBER ls_t100-msgno&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: courier new,courier; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WITH ls_t100-msgv1 ls_t100-msgv2 ls_t100-msgv3 ls_t100-msgv4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: courier new,courier; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO lv_text.&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 17:08:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issues-about-using-t100-msg-in-exception-class/m-p/9482208#M1744903</guid>
      <dc:creator>alex_campbell</dc:creator>
      <dc:date>2013-05-31T17:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: issues about using T100_MSG in Exception Class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-about-using-t100-msg-in-exception-class/m-p/9482209#M1744904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, Campbell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yeah, i misunderstood the method 'exceptionClass-&amp;gt;get_text', i thought it also can return the message in T100_MSG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the T100_MSG by using the attribute T100_MS of exceptionClass like you said.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;qingda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jun 2013 02:49:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issues-about-using-t100-msg-in-exception-class/m-p/9482209#M1744904</guid>
      <dc:creator>qingda_niu</dc:creator>
      <dc:date>2013-06-01T02:49:33Z</dc:date>
    </item>
  </channel>
</rss>

