<?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 Business Object Builder in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/business-object-builder/m-p/2289783#M499373</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 am programming a Zbusiness Object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I am facing is that, no matter what garbage value I give to my Object Key field to instantiate it, it get instantiated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead I want it to thorw me a message showing "Object Not Found".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How shall I go for it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 May 2007 12:45:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-18T12:45:01Z</dc:date>
    <item>
      <title>Business Object Builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/business-object-builder/m-p/2289783#M499373</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 am programming a Zbusiness Object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I am facing is that, no matter what garbage value I give to my Object Key field to instantiate it, it get instantiated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead I want it to thorw me a message showing "Object Not Found".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How shall I go for it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 12:45:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/business-object-builder/m-p/2289783#M499373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T12:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Business Object Builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/business-object-builder/m-p/2289784#M499374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the method/constructor needs to have a parameter for the output of message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 12:54:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/business-object-builder/m-p/2289784#M499374</guid>
      <dc:creator>Sougata</dc:creator>
      <dc:date>2007-05-18T12:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Business Object Builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/business-object-builder/m-p/2289785#M499375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which method or constructor you are talking about ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 14:07:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/business-object-builder/m-p/2289785#M499375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T14:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Business Object Builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/business-object-builder/m-p/2289786#M499376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you instantiate an object its Constructor (main method) is called first unless the class its pointing to also has a Class Constructor; in that case the Class Constructor is called before the Constructor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Constructor of the class your object is pointing to (TYPE REF TO) requires to have the necessary coding to catch, handle &amp;amp; raise the exception when you try to instantiate the object with "junk" data. it is recommended to code this in a "TRY...CATCH...ENDTRY" block. if your requirment is to output an error message then this has to be done either via an appropriate parameter of the Constructor of the object or coding your own error message when you handle/raise the exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2007 00:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/business-object-builder/m-p/2289786#M499376</guid>
      <dc:creator>Sougata</dc:creator>
      <dc:date>2007-05-19T00:41:24Z</dc:date>
    </item>
  </channel>
</rss>

