<?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: Changing methods or read-only attributes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348355#M518221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check in your class (by the way: could you provide its name?) where the instance attribute MD_ACTIVITY is set. I would guess this happens at the level of the CONSTRUCTOR method. This would imply that there is no method available for changing this attribute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the attribute is &amp;lt;i&amp;gt;not public&amp;lt;/i&amp;gt; or &amp;lt;i&amp;gt;public yet read-only&amp;lt;/i&amp;gt; then you probably have no programmatic means to change its value (except using the debugger).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2007 13:47:18 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2007-06-11T13:47:18Z</dc:date>
    <item>
      <title>Changing methods or read-only attributes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348353#M518219</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 have to call a Method to change the 'NR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  call METHOD go_specific-&amp;gt;SET_NR&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Method itself checks if i am in activity mode 01 .. so i'm NOT i'm in 03.. but i want to change the value. &lt;/P&gt;&lt;P&gt;Can i change the coding from the method oder can i simply change the md_activity variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 13:27:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348353#M518219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T13:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods or read-only attributes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348354#M518220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it would depend on what is allowed by the visibility of the attribute or method acting against the attribute.  If there is a SETTER method and it is pubic, I guess you can call it, or if the attribute is public, you could simply change it directly, but it really depends on the class and what it is doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 13:35:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348354#M518220</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-06-11T13:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods or read-only attributes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348355#M518221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check in your class (by the way: could you provide its name?) where the instance attribute MD_ACTIVITY is set. I would guess this happens at the level of the CONSTRUCTOR method. This would imply that there is no method available for changing this attribute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the attribute is &amp;lt;i&amp;gt;not public&amp;lt;/i&amp;gt; or &amp;lt;i&amp;gt;public yet read-only&amp;lt;/i&amp;gt; then you probably have no programmatic means to change its value (except using the debugger).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 13:47:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348355#M518221</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-06-11T13:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods or read-only attributes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348356#M518222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uwe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the attribute ist set by the method FIND from CF_REBD_RENTAL_OBJECT. This method only works in activity 02 or 03. &lt;/P&gt;&lt;P&gt;But i need to switch the md_activity to 01 to go on with my programm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried the same logic as you described:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: go_specific_activity TYPE REF TO CL_RECA_STORABLE.
go_specific_activity ?= EO_BUSOBJ.
go_specific_activity-&amp;gt;IF_RECA_STORABLE~MD_ACTIVITY = '01'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it's not allowed to change the read-only attribute out of the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your assumption this morning was right - i'm in RE-fx &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 13:56:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348356#M518222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T13:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods or read-only attributes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348357#M518223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is a sample report which provides a "solution" for your problem.&lt;/P&gt;&lt;P&gt;BUT: The logic of the factory class implies that the activity is set only once when the instance is created. The &amp;lt;b&amp;gt;INIT_BUS_OBJECT&amp;lt;/b&amp;gt; method should not be called twice but this is up to you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample report shows the transition from &amp;lt;b&amp;gt;display -&amp;gt; change &amp;lt;/b&amp;gt;activity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; *&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZUS_SDN_REBD_RENTAL_OBJECT
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*

REPORT  zus_sdn_rebd_rental_object.


TYPE-POOLS: reca1, abap.

DATA:
  gs_detail           TYPE rebd_rental_object,
  go_rental_object    TYPE REF TO if_rebd_rental_object,
  go_bus_obj          TYPE REF TO if_reca_bus_object.



START-OF-SELECTION.

" Find rental object instance
  CALL METHOD cf_rebd_rental_object=&amp;gt;find
    EXPORTING
      id_bukrs       = '1000'
      id_swenr       = '00000001'
      id_smenr       = '00000011'
*      ID_ACTIVITY    = RECA1_ACTIVITY-DISPLAY
*      IF_AUTH_CHECK  = ABAP_FALSE
*      IF_ENQUEUE     = ABAP_TRUE
*      IF_USE_ARCHIVE = ABAP_TRUE
    RECEIVING
      ro_instance    = go_rental_object
    EXCEPTIONS
      error          = 1
      OTHERS         = 2.
  IF sy-subrc &amp;lt;&amp;gt; 0.
*   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.


" Store details of rental object locally
  gs_detail = go_rental_object-&amp;gt;ms_detail.

  WRITE: / 'Before =', go_rental_object-&amp;gt;md_activity.

  go_bus_obj ?= go_rental_object.
" NOTE: &amp;lt;Only for Factory Methods&amp;gt; [Final] (Method Description)!!!
  CALL METHOD go_bus_obj-&amp;gt;init_bus_object
    EXPORTING
      is_detail     = gs_detail
      id_activity   = reca1_activity-change
      if_auth_check = abap_false
      if_enqueue    = abap_false
      if_archived   = abap_false  " !!!
    EXCEPTIONS
      error         = 1
      OTHERS        = 2.
  IF sy-subrc &amp;lt;&amp;gt; 0.
*   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

  WRITE: / 'After  =', go_rental_object-&amp;gt;md_activity.

END-OF-SELECTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 14:39:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348357#M518223</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-06-11T14:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods or read-only attributes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348358#M518224</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;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you know why my Object &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;go_rental_object&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; found by &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;METHOD cf_rebd_rental_object=&amp;gt;find&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;only knows his detail data and not all the other data like measures or characters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 13:53:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348358#M518224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T13:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods or read-only attributes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348359#M518225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure I know the answer to your questions since it is my job to know things like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RE-FX is basically OO-programming at its best. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Question&amp;lt;/b&amp;gt;: Should the rental object know details about its measurements?&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Answer&amp;lt;/b&amp;gt;: No.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Question&amp;lt;/b&amp;gt;: Who Else?&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Answer&amp;lt;/b&amp;gt;: The measurement mananger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rental object simply hold a reference to its measurements manager which can be retrieved using method GET_MEAS_MNGR. Thus, have a look at the following sample report (a modified version of the previously posted one):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZUS_SDN_REBD_RENTAL_OBJECT
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*

REPORT  zus_sdn_rebd_rental_object.


TYPE-POOLS: reca1, abap.

DATA:
  gs_detail         TYPE rebd_rental_object,
  go_rental_object  TYPE REF TO if_rebd_rental_object, " rental obj
  go_meas_mngr      TYPE REF TO if_rebd_meas_mngr,     " meas manager
  go_bus_obj        TYPE REF TO if_reca_bus_object.    " RE business obj

DATA:
  gt_measurements   TYPE re_t_rebd_meas.


START-OF-SELECTION.

  " Find rental object instance
  CALL METHOD cf_rebd_rental_object=&amp;gt;find
    EXPORTING
      id_bukrs       = '1000'
      id_swenr       = '00000001'
      id_smenr       = '00000011'
*      ID_ACTIVITY    = RECA1_ACTIVITY-DISPLAY
*      IF_AUTH_CHECK  = ABAP_FALSE
*      IF_ENQUEUE     = ABAP_TRUE
*      IF_USE_ARCHIVE = ABAP_TRUE
    RECEIVING
      ro_instance    = go_rental_object
    EXCEPTIONS
      error          = 1
      OTHERS         = 2.
  IF sy-subrc &amp;lt;&amp;gt; 0.
*   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.


  " Store details of rental object locally
  gs_detail = go_rental_object-&amp;gt;ms_detail.

  WRITE: / 'Before =', go_rental_object-&amp;gt;md_activity.

  go_bus_obj ?= go_rental_object.
  " NOTE: &amp;lt;Only for Factory Methods&amp;gt; [Final] (Method Description)!!!
  CALL METHOD go_bus_obj-&amp;gt;init_bus_object
    EXPORTING
      is_detail     = gs_detail
      id_activity   = reca1_activity-change
      if_auth_check = abap_false
      if_enqueue    = abap_false
      if_archived   = abap_false  " !!!
    EXCEPTIONS
      error         = 1
      OTHERS        = 2.
  IF sy-subrc &amp;lt;&amp;gt; 0.
*   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

  WRITE: / 'After  =', go_rental_object-&amp;gt;md_activity.


* In order to get measurements you have to ask for the measure manager:
  go_meas_mngr ?= go_rental_object-&amp;gt;get_meas_mngr( ).
  CHECK ( go_meas_mngr IS BOUND ).

  CALL METHOD go_meas_mngr-&amp;gt;get_list
*    EXPORTING
*      IF_FIX_PERIODS     = ABAP_TRUE
*      IF_HIERARCHY       = ABAP_FALSE
*      IF_LAST_OK         = ABAP_FALSE
*      IF_CURRENT_BY_ARCH = ABAP_FALSE
    IMPORTING
      et_list            = gt_measurements.

  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
    EXPORTING
      i_structure_name = 'REBD_MEAS'
      i_grid_title     = 'Measurements'
    TABLES
      t_outtab         = gt_measurements
    EXCEPTIONS
      program_error    = 1
      OTHERS           = 2.
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

END-OF-SELECTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's make a simple quiz:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Question&amp;lt;/b&amp;gt;: Who knows the conditions for a rental object?&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Answer&amp;lt;/b&amp;gt;: Yes, the &amp;lt;i&amp;gt;condition manager&amp;lt;/i&amp;gt; (method GET_CONDITION_MNGR).&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Question&amp;lt;/b&amp;gt;: Who knows the business partners of a rental object?&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Answer&amp;lt;/b&amp;gt;: Yes, the &amp;lt;i&amp;gt;partner manager&amp;lt;/i&amp;gt; (method GET_PARTNER_MNGR).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A final remark: if you have understood this principle you will easily find the right method to retrieve a "manager" instance.&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Knowing this you have understood OO-programming in RE-FX in its entirety!&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 14:45:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348359#M518225</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-06-12T14:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods or read-only attributes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348360#M518226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uwe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for Help again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your coding but i don't get any measures from the mngr...&lt;/P&gt;&lt;P&gt;it's bound but empty. my source-object has some.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But why? The result is the same with every manager i tried.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: 
        go_meas_mngr        TYPE REF TO   if_rebd_meas_mngr,
        go_RESUBM_RULE_MNGR TYPE REF TO   IF_RECA_RESUBM_RULE_MNGR,
        go_CHARACT_MNGR     type REF TO IF_REBD_CHARACT_MNGR.


go_meas_mngr ?= go_rental_object-&amp;gt;get_meas_mngr( ).
go_RESUBM_RULE_MNGR ?= go_rental_object-&amp;gt;GET_RESUBM_RULE_MNGR( ).
go_CHARACT_MNGR ?= go_rental_object-&amp;gt;GET_CHARACT_MNGR( ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 15:44:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348360#M518226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T15:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods or read-only attributes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348361#M518227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Difficult to say where the problem is localized. I developed this sample report on our ECC 5.0 IDES system where I used an existing rental unit having several measurements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could imagine that it is a &amp;lt;b&amp;gt;customizing &amp;lt;/b&amp;gt;problem. You could try and debug the instantiation of the measurement manager. Somewhere within its CONSTRUCTOR method there should be a (private or protected) method call which reads the measurements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you could try a more specific measurement manager like CL_REBD_MEAS_MNGR_RO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &amp;amp; Good Luck&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 20:24:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348361#M518227</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-06-12T20:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods or read-only attributes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348362#M518228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning Uwe,&lt;/P&gt;&lt;P&gt;thank you. I work on an ecc 5.0 ides too.&lt;/P&gt;&lt;P&gt;i found the error.&lt;/P&gt;&lt;P&gt;The managers only works with objects in change mode. In my code i changed mode to create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers &lt;/P&gt;&lt;P&gt;Stefan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 06:34:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods-or-read-only-attributes/m-p/2348362#M518228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T06:34:14Z</dc:date>
    </item>
  </channel>
</rss>

