Skip to Content

Texts for text node segment of custom hierarchy

Hi experts.

I have requirement where organization deparment name may change and in report user want to see that department with properly name arcording to date they chosen.

ex: Dep A have name A1 in period: 01/01/1999 ~ 30/11/2018

and name A2 in period: 01/12/2018 ~ 31/12/9999.

then if they chose date 30/11/2018, hierarchy should show A1 (for now, its always show the last name loaded to hierarchy).

I checked time-dependent for attribute and text of that infoobject (Here im using custom hierarchy load from DSO) and load data to them. Now I load data from attribute to hierarchy through expert routine, I see there is RESULT_PACKAGE4 in this routine for node text and tried to populate data to this table (debugged and see it populated) but finally text in hierarchy node still only get the last one ( A2 in above example ). idk what could be wrong here, any one could help me on this?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    Jan 10 at 04:07 AM

    Resolve by implicit enhancement in the end of method GET_TEXT of class CL_RSBOLAP_HIERARCHY_BASE.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 17, 2018 at 07:58 PM

    Hi Quynh,

    What are you using as a key date? If you accept the default, the query will always used today's date.

    If you wish to use an earlier date, you have to override the default.

    Good luck!

    John Hawk

    Add comment
    10|10000 characters needed characters exceeded

    • Hi John.

      Thanks for your answer. Im aware of key date in query but here is my problem: user prefer not to change the layout of report. for now every month they create a new hierarchy which include year month in its name, so in user perspective if they chose the hierarchy (which already know which month it is) they dont think it necessary to add another date input. do you know is there anyway i can change the query behaviour?

  • Dec 18, 2018 at 10:47 PM

    Hi Quynh

    There is no easy way to do what you want.

    John Hawk

    Add comment
    10|10000 characters needed characters exceeded