on 04-01-2015 8:26 PM
Hi All,
any changes in inbox serch result overview page, record marked as read.
and there is no changes in overview page (just display) record marked as unread.
please tell me how achieve this requirement. .
Regards,
Ravi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sigrid,
component: ICCMP_BT_BUTTON
method: EH_ONSAVE
lr_entity ?= me->typed_context->btadminh->collection_wrapper->get_current( ).
lr_id = lr_entity->if_bol_bo_property_access~get_property_as_string( iv_attr_name = 'GUID' ).
lv_obj = lr_id.
ls_adminh-guid = lv_obj.
lr_id = lr_entity->if_bol_bo_property_access~get_property_as_string( iv_attr_name = 'OBJECT_ID' ).
lv_obj = lr_id.
ls_adminh-object_id = LV_OBJ.
CALL FUNCTION 'CRM_CDORDER_DISPLAY'
EXPORTING
iv_header_guid = ls_adminh-guid
iv_object = ls_adminh-object_id
iv_bus = 'BUS2000120'"ls_adminh-object_type
i_no_dialogue = abap_true
IMPORTING
ausg = lt_ch.
* show newest entry first
SORT lt_ch by udate DESCENDING .
READ TABLE LT_CH INTO LW_CH WITH KEY UDATE = SY-DATUM.
lv_obj1 = lr_id.
IF SY-SUBRC IS INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = lv_obj1
IMPORTING
OUTPUT = lv_obj1
.
ls_tab-complaint = lv_obj1.
ls_tab-change = 'Unread'.
MODIFY ztable FROM ls_tab.
else.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = lv_obj1
IMPORTING
OUTPUT = lv_obj1.
ls_tab-complaint = lv_obj1.
ls_tab-change = 'Read'.
MODIFY ztable FROM ls_tab.
ENDIF.
Regards,
Ravi.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.