Skip to Content
0
Aug 02, 2012 at 02:34 AM

Value is not getting populated for a custom attribute's dropdown

60 Views

Hi,

I created one zattribute to the 'Status' Context Node in BP_HEAD. This attribute is made as dropdown and values are being populated from 'V' Method. Every thing is fine. whenever user select any value from this dropdown and saves it, then I am getting null value only after saving. I checked SET Method, where the value is being set properly but in GET Method at the very beginning only , there is no being selected for current. Current is initial value only because of that I am not getting the value.

I dont have the value in Current itself so I am not able to get value in dref as current is initial. Could anyone answer to this?

if iterator is bound.

current = iterator->get_current( ).

else.

current = collection_wrapper->get_current( ).

endif.





TRY.

dref = current->get_property( 'ZSTATUS' )."#EC NOTEXT

CATCH cx_sy_ref_is_initial.

* RETURN.

ENDTRY.

Thanks,

Baasanthi