on 08-27-2010 10:52 AM
Hi Forum,
do you know if it is possible to add an indicator(Flag) in the Inbox Result list that indicates that the E-Mail or Service Request has an attachment ?
Thanks a lot !!!!
I could add a new attribute.
Thanks a lot for your help !!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prasenjit,
Thanks a lot for the reply. I will implement it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No! Dont overwrite standard BSP application. When it prompts, add z before ICCMP_INBOX so that all enhancements would be saved in BSP application ZICCMP_INBOX. This is because when you reverse the enhancement, if you want, the Z application can be deleted. So whenever you enhance, save the component enhancemnets in Z BSP application. The best approach would be to just add Z before the standard application name prompted. In your case, it would be ZICCMP_INBOX.
Hi,
You can create an attribute of type boolean. Set the property of the attribute as ICON in the get_p method. Afterwards, in the do_prepare_output of the field set its value to 'X' when there is an attachment and SPACE when there is no attachment.
Follow the steps.
1.) Create the attributes in respective context node of the view in the component.
2.) Generate the GETTER & SETTER, GET_P methods for these attributes.
3.) In the GET_P method of the attribute, define the field type as image.
CASE iv_property.
WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
rv_value = cl_bsp_dlc_view_descriptor=>field_type_image.
ENDCASE.
4.)In the GETTER method assign the image url to the 'value' attribute based on the conditions,
IF 'X'.
value = cl_thtmlb_util=>get_icon_url( 'image1.gif').
ELSE.
value = cl_thtmlb_util=>get_icon_url( 'image2.gif').
ENDIF.
Regards
Prasenjit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
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.