cancel
Showing results for 
Search instead for 
Did you mean: 

ICCMP_INBOX/InboxResultView - Link to open document

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

arunprakash_karuppanan
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Arun\Manfred,

I have the same issue. I need to  apply the Hyperlink on Object_Id field.

I wrote the same code in Get_P method of object _ID but it is not working.

Please let me know what else I should do.

Regards,

Amrit

Answers (0)