Hi Jerry,
1 )that i copied from standard getter method you can write this way also..
current = me->bo.
current->get_property_as_string( EXPORTING iv_attr_name = 'WI_ID' RECEIVING rv_result = lv_id ).
2) yes your can in your case have to write the logic under your context code go to your zfield and right click generate getter and setter methods redefine the getter method write the logic..
ex:
Regards,
Srinivas.