Hi,
From what I understand from your explanation, you want to fill the data through some code in the Z fields created by AET.
The simplest way of doing this is to code in DO_PREPARE_OUTPUT method of the class ZL_IUICMD_DETAILACCOUNT_IMPL.
Redefine the DO_PREPARE_METHOD.
Write below code in that to set the data.
METHOD DO_PREPARE_OUTPUT.
CALL METHOD super->do_prepare_output
EXPORTING
iv_first_time = iv_first_time.
data: lr_entity type ref to cl_crm_bol_entity.
lr_entity ?= me->Typed_Context->contactperson->collection_wrapper->get_current( ).
if lr_entity is bound and
lr_entity->is_locked( ) eq abap_True.
call method lr_entity->IF_BOL_BO_PROPERTY_ACCESS~set_property
exporting
IV_ATTR_NAME = 'ZZFLD000011'
IV_VALUE = 'TEST'. " You can set your value here
endif.
ENDMETHOD.
Hope this is useful.
Regards,
Naresh