<?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 Method throwing catch - IF_UJA_APPSET_DATA-&amp;gt;GET_PARAM_VALUE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-throwing-catch-if-uja-appset-data-gt-get-param-value/m-p/9128668#M1708393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;I am trying to call a method with the help of interface IF_UJA_APPSET_DATA-&amp;gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;GET_PARAM_VALUE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;called this below interface in ma program but i am getting catch as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;1) An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;2) Dereferencing the NULL reference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;i have pasted my code for reference. actually my code is not executing at all.. its not going inside the class to test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Kindly advice how to proceed further.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;why this is going for exception.how to rectify that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Data:&amp;nbsp; lo_app_Set &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;type &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;ref &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;to &lt;/SPAN&gt;if_uja_appset_data&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_appl_param&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;type &lt;/SPAN&gt;string&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;CALL &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;METHOD &lt;/SPAN&gt;&lt;/SPAN&gt;lo_app_Set&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S70" style="font-style: inherit; font-family: inherit;"&gt;-&amp;gt;&lt;/SPAN&gt;GET_PARAM_VALUE&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I_TYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;'SYSTEM'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I_PARAM_NAME &lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-style: inherit; font-family: inherit;"&gt;'RTRCT_CC_COST_DEST'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; RECEIVING&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; R_VALUE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;l_appl_param&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2012 07:05:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-11-06T07:05:44Z</dc:date>
    <item>
      <title>Method throwing catch - IF_UJA_APPSET_DATA-&gt;GET_PARAM_VALUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-throwing-catch-if-uja-appset-data-gt-get-param-value/m-p/9128668#M1708393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;I am trying to call a method with the help of interface IF_UJA_APPSET_DATA-&amp;gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;GET_PARAM_VALUE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;called this below interface in ma program but i am getting catch as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;1) An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;2) Dereferencing the NULL reference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;i have pasted my code for reference. actually my code is not executing at all.. its not going inside the class to test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Kindly advice how to proceed further.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;why this is going for exception.how to rectify that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Data:&amp;nbsp; lo_app_Set &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;type &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;ref &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;to &lt;/SPAN&gt;if_uja_appset_data&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_appl_param&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;type &lt;/SPAN&gt;string&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;CALL &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;METHOD &lt;/SPAN&gt;&lt;/SPAN&gt;lo_app_Set&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S70" style="font-style: inherit; font-family: inherit;"&gt;-&amp;gt;&lt;/SPAN&gt;GET_PARAM_VALUE&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I_TYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;'SYSTEM'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I_PARAM_NAME &lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-style: inherit; font-family: inherit;"&gt;'RTRCT_CC_COST_DEST'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; RECEIVING&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; R_VALUE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;l_appl_param&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 07:05:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-throwing-catch-if-uja-appset-data-gt-get-param-value/m-p/9128668#M1708393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-06T07:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Method throwing catch - IF_UJA_APPSET_DATA-&gt;GET_PARAM_VALUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-throwing-catch-if-uja-appset-data-gt-get-param-value/m-p/9128669#M1708394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiii,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you read error it clearly indicates you &lt;STRONG&gt;NULL reference means &lt;/STRONG&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;lo_app_Set reference variable is not initialize .and if you want to handle it use exception handling with TRY CATCH block .&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_470/helpdata/en/a9/b8eef8fe9411d4b2ee0050dadfb92b/content.htm" title="http://help.sap.com/saphelp_470/helpdata/en/a9/b8eef8fe9411d4b2ee0050dadfb92b/content.htm"&gt;http://help.sap.com/saphelp_470/helpdata/en/a9/b8eef8fe9411d4b2ee0050dadfb92b/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 07:25:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-throwing-catch-if-uja-appset-data-gt-get-param-value/m-p/9128669#M1708394</guid>
      <dc:creator>Aashish28</dc:creator>
      <dc:date>2012-11-06T07:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Method throwing catch - IF_UJA_APPSET_DATA-&gt;GET_PARAM_VALUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-throwing-catch-if-uja-appset-data-gt-get-param-value/m-p/9128670#M1708395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whatever you have written is wrong.&lt;SPAN style="color: #333333; font-size: 12.222222328186035px; background-color: #ffffff;"&gt;if_uja_appset_data&lt;/SPAN&gt; is an interface, there is no object reference to the implementing class. Which class implements &lt;SPAN style="color: #333333; font-size: 12.222222328186035px; background-color: #ffffff;"&gt;if_uja_appset_data&lt;/SPAN&gt;~ &lt;SPAN style="color: #333333; font-size: 12.222222328186035px; background-color: #ffffff;"&gt;GET_PARAM_VALUE&lt;/SPAN&gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider the below sample for example and correct it yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;data&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;:&amp;nbsp; &lt;/SPAN&gt;lo_app_set &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ref &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;if_ex_mb_document_badi&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_appl_param&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;string&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;data &lt;/SPAN&gt;mk &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;ty_t_mkpf&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;data &lt;/SPAN&gt;ms &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;ty_t_mseg&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;data &lt;/SPAN&gt;et &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;ty_t_vm07m&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;create &lt;/SPAN&gt;object lo_app_set &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;cl_exm_im_mb_document_badi&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;call &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;method &lt;/SPAN&gt;lo_app_set&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;mb_document_update&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;exporting&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmkpf&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;mk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmseg&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;ms&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xvm07m &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;et&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 08:10:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-throwing-catch-if-uja-appset-data-gt-get-param-value/m-p/9128670#M1708395</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-11-06T08:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Method throwing catch - IF_UJA_APPSET_DATA-&gt;GET_PARAM_VALUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-throwing-catch-if-uja-appset-data-gt-get-param-value/m-p/9128671#M1708396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before you can use an instance, you must instantiate it - either through a factory method or via CREATE OBJECT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 09:40:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-throwing-catch-if-uja-appset-data-gt-get-param-value/m-p/9128671#M1708396</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2012-11-06T09:40:43Z</dc:date>
    </item>
  </channel>
</rss>

