Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8419

ALV grid in FM won't initialise properly in multiple calls

$
0
0

Hi SCN I have an ALV grid ( type ref to CL_GUI_ALV_GRID ) which has an optionally editable field as a popup screen which I have coded inside a function module.  On entry the field cat is built with fm LVC_FIELDCATALOG_MERGE and I adjust the EDIT field to make this editable.  This is called from an implicit enhancement from a SAP transaction.  What I find is that if I call the FM and make the field editable, a subsequent call making the field non-editable has no effect even though I recreate the grid object on entry.  The ALV objects are in the top include so are cached but they are cleared so I don't see what could be being maintained from one call to the next. I have tried ensuring the class destructor ->FREE is called on exit of the FM without success. Any suggestions? regards Ian


Viewing all articles
Browse latest Browse all 8419

Trending Articles



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