BSP view losing selected value from dropdown list box
Hi,
I am having a problem with an attribute on a bespoke view. The attribute itself was added to the model via EEWB.
It is defined as a 32 byte character field.
On the view there is a table defined as follows ;
<crmic:gridLayoutCell colSpan = "6"
columnIndex = "3"
horizontalAlignment = "LEFT"
rowIndex = "8" >
<crmic:dropdownListBox id = "TYP_COMP"
width = "100%"
table = "<%= dd_typ_cmpl %>"
nameOfKeyColumn = "DROPDWN"
nameOfValueColumn = "DROPDWN"
selection = "//BTCustomerH/ZZCUSTOMER_H0602"
disabled = "<%= disable_ddlb %>" />
</crmic:gridLayoutCell>
The values for the table are read from a Z table and populated in the method DO_PREPARE_OUTPUT ;
IF gt_typ_cmpl IS INITIAL.
SELECT * FROM zcrm_typcompl INTO TABLE gt_typ_cmpl.
ENDIF.
There are also several other attributes defined in exactly the same way , displayed on the same view , which all work as expected.
This view attribute is selectable from the dropdown list (works ok).
The issue is that everytime the view is refreshed (after saving transaction , error message display ec the selected value is lost and the whole table contents is reloaded , hence why the selected value is lost ?
I have checked all the code in the view and also the context node and it all looks the same as the other (working) fields..