Quantcast
Channel: SCN : All Content - Floorplan Manager for Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 839

enhancement problem for GUIBB TREE

$
0
0

hi guys

 

in SAP TM, i want to set the Rate Amount column as read only field.

1.PNG

 

 

the component configuration of the view is /SCMTMS/WDCC_TCM_CHARGES_TREE

2.PNG

 

this /SCMTMS/WDCC_TCM_CHARGES_TRESS is a child class inherited from parent class /BOFU/CL_FBI_GUIBB_TREE.

 

Since the method IF_FPM_GUIBB_TREE~GET_DATA is defined in the parent class, i made a POST-EXIT enhancement for this method in the parent class itself. The system does not allow me to make a POST-EXIT enhancement in the child class unless i redefine the method. But redefining is also not allowed because the child class is not a Z custom class.

3.PNG

 

And here are my codes in the POST-EXIT enhancement:

     DATA: ls_fieldusage TYPE fpmgb_s_fieldusage.     LOOP AT ct_field_usage INTO ls_fieldusage WHERE name = 'RATE_AMOUNT'.       ls_fieldusage-read_only = 'X'.       ls_fieldusage-fixed_values_changed = 'X'.       MODIFY ct_field_usage FROM ls_fieldusage INDEX sy-tabix TRANSPORTING read_only fixed_values_changed.       ev_field_usage_changed = 'X'.     ENDLOOP.

After all the things done above, the column is still editable. I have been trying out for 1 and a half days and still couldn't figure out what's wrong. Could you guys please advise? Thanks


Viewing all articles
Browse latest Browse all 839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>