on 03-18-2011 3:35 AM
Hi All,
I would like to embed the MIME object which is imported into my component into ALV table column display.
Procedure which i followed to embed MIME object is as follows:
I imported MIME object in my component and instantiated the alv got the column reference looped the columns,
and based on condition i was embeding the icon name as eg: "HOME.BMP" the MIME object name which i embeded.
When we try to embed the normal SAP ICONS them i was using simply 'ICON_PROJECT' or so . But not in case of MIME object when i am doing the same it is not displaying the ICON in fact it is displaying some cross mark icon ....
Please tell me how to use MIME object ...
Regards,
Sana
In the set_source method you need to give the full path of the mime object.
because for ALV we are using a view from different component.
so give the full path of the mime object as it is in mime repository.
for example if the comp name is ZTEST and ther you imported HOME.BMP
then give the full path as follows.
IMG->SET_SOURCE( '/SAP/BC/WebDynpro/SAP/ZTEST/HOME.BMP').
Thanks
sarbjeet singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solved the issue the procedure which i followed is need to giv the path of MIME reporsitory and bmp or .jpeg file name ..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.