on 05-14-2010 9:28 AM
Hello,
in the view ICCMP_INBOX/InboxResultView there is a link to open the selected document on attribute STRUCT.ITEMTYPE.
We need this same Link to open the document on the STRUCT.DESCRIPTION because we will not use STRUCT.ITEMTYPE in our UI configuration.
We already copied the coding from the GET_P method as follows to STRUCT.DESCRIPTION:
if iv_property = 'fieldType'.
rv_value = cl_bsp_dlc_view_descriptor=>field_type_link.
endif.
Now the description is a link but the navigation does not work.
What else is needed to have the same navigation as realized in standard for STRUCT.ITEMTYPE?
Thanks a lot.
Best regards
Manfred
Hi,
In the Items context node class, look at the attribute Iterator. This is used to specify field properties.
In the iterator class, CL_ICCMP_IN_INBOXITEMS_IT->IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START, they have specified the event 'itemProcess' as the event to be fired when you click on an entry under ItemType.
So, check if this code addition to your get_p_description works.
if iv_property = 'fieldType'.
rv_value = cl_bsp_dlc_view_descriptor=>field_type_link.
endif.
if iv_property = IF_BSP_WD_MODEL_SETTER_GETTER=>FP_SERVER_EVENT
rv_value = 'itemProcess'.
endif.
It should work. Otherwise you have the iterator to work with.
Regards,
Arun Prakash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
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.