Skip to Content
avatar image
Former Member

Change Icones in IbaseTree Hierarchy depending on field R3TYPE of component

Hy all ,

I have a requirement which consists to change Icones in Ibase Tree depending on the filed COM_TA_R3_ID-R3TYPE of the component .

In tried to change the method refresh in the context IBASETREE of view IBHIER/TreeEnhanced in order to call a z classe instead of the standard classe because it's the only way i think to redefine the methode get_icon :

So i made a copy of the class CL_IBHIER_TREEENHANCED_CN01 and i rdefined the methode get_icon .

In the methode refresh i just copied the standard code and i change the call of the standard class by the Z class :

As a result in the ibase screen in webui , the tree table is empty :( So i dont know if what i did is the correct way , i can use customising of icone depending on families because we have juste one familly for all types of components , and we dont use in crm product, we use just crm individual object :( this why we have to show the difference in screen between components depending on the R3TYPE which is comming from ECC .

If any one have an idea about how to resolve this bad issue , i'll be so thankful :)

Thank you by advance .

Best regards .

scn1.png (54.7 kB)
scn2.png (40.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers