Skip to Content
author's profile photo Former Member
Former Member

CRM IC Inbox Items display, duedate show in red

Hi Everyone,

I'm working on the design and data selection enhancements in the Inbox module of CRM_IC.

Can any one help me to change the color of the column data(text) in the AuiItems.htm screen or any hints regarding this issue will be highly appreciated and rewarded.

Thanks

Ajay

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 12:31 PM

    Hi

    The only way I know how to do this is to replace the view and controller. See the tutorial, working with viees and viewsets in the ic_webclient_cookbook.

    Steps

    1. Copy View.

    2. Copy Controller.

    3. Create an Iterator e.g. zcl_iterator. This is a class with the interface, IF_HTMLB_TABLEVIEW_ITERATOR.

    4. Create an attibute in the controller class eg iterator type ref to zcl_iterator.

    5. In the auiItems.htm view change the iterator of MyAuiItemTree from iterator="<%= AuiItemTree->iterator %>"> to iterator="<%= controller->iterator %>">.

    In your iterator class there is a method called IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START.

    in this method you can process each cell.

    data: col_text type ref to cl_crm_ic_label.

    case p_column_key.

    when 'ITEMTYPE'.

    when 'TEXT'.

    Your code here.

    create object col_text.

    col_text->id = p_cell_id.

    col_text->for = '//'.

    col_text->design = 'LABELSMALL'.

    col_text->text = ?

    p_replacement_bee = col_text.

    endcase.

    This is the way I have replaced cells in the auiitems.

    There is probably an easier way to do this. If you find out let me know.

    I hope this was some help.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.