Hi,
I created Web UI Mash up to call a URL. That URL contains two custom context attributes(time stamp and key) belongs to a Business partner. I need to populate those two attributes in Display mode of a Account(Business partner) to complete the URL. If i populate those attributes then only that URL will work. How can i populate those custom context attributes in Display mode.
Below code written in IMPL(DO_PREPARE_OUTPUT) and its working fine if the Account is in change mode only:
lr_header ?= me->typed_context->header->collection_wrapper->get_current( ).
CALL METHOD lr_header->if_bol_bo_property_access~set_property
EXPORTING
iv_attr_name = 'ZZ_KEY'
iv_value = lv_key.
CALL METHOD lr_header->if_bol_bo_property_access~set_property
EXPORTING
iv_attr_name = 'ZZ_TIME'
iv_value = lv_time.
I need to set above two attributes(added to Buil Header structure-crmst_header_object_buil) during display mode also in order to complete the URL for mash up. I don't need to store these values to data base.
Is there anyway we can set the BOL entity in display mode..? Thanks for your help in advance.
Regards
AP