<?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: Initialize complex attributes in exception class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-complex-attributes-in-exception-class/m-p/2179493#M463256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I should be more specific. I want to initialize the timestamp with the current timestamp value using GET TIME STAMP FIELD and adding the difference to the local time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2007 13:34:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-10T13:34:10Z</dc:date>
    <item>
      <title>Initialize complex attributes in exception class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-complex-attributes-in-exception-class/m-p/2179492#M463255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to initialize a timestamp attribute (TIMESTAMPL)  in an exception class. However the workbench tells me I'm not allowed to modify the constructor of an exception class. But I cannot initialize an attribute of type TIMESTAMPL with the VALUE clause of a DATA statement. So what is the right way to initialize complex attributes in an exception class when the constructror cannot be modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 13:31:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-complex-attributes-in-exception-class/m-p/2179492#M463255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T13:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Initialize complex attributes in exception class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-complex-attributes-in-exception-class/m-p/2179493#M463256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I should be more specific. I want to initialize the timestamp with the current timestamp value using GET TIME STAMP FIELD and adding the difference to the local time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 13:34:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-complex-attributes-in-exception-class/m-p/2179493#M463256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T13:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Initialize complex attributes in exception class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-complex-attributes-in-exception-class/m-p/2179494#M463257</link>
      <description>&lt;P&gt;I had a similar issue, in my case I wanted to load domain texts for fixed value attributes.&lt;/P&gt;&lt;P&gt;It
 seems you cannot edit the constructor, but you can add a static factory
 method, and use "raise exception cx_example=&amp;gt;create( )" instead of 
"raise exception new" or "raise exception type" &lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 10:43:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-complex-attributes-in-exception-class/m-p/2179494#M463257</guid>
      <dc:creator>cmilkau</dc:creator>
      <dc:date>2023-03-21T10:43:10Z</dc:date>
    </item>
  </channel>
</rss>

