Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Attach a Mime Object to a Program

Former Member
0 Likes
1,229

Hi,

I have a report program, whose output has an ALV and an HTML. Currently the HTML and it's dependent files are stored in SAP Web Repository. In BSP or WDA, we can attach files as MIME and the MIME will be displayed in the Repository Browser.

Is there any way, we can attach these files to the Report Program, in such a way, the attachments will be displayed as related to this program, in the Repository Browser (SE80) ?

Thanks in advance.

Regards

Gladson

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
794

Hi Gladson,

You may either use 'MIME' or 'OAER Tcode' logo.

Helpful links below:

http://scn.sap.com/thread/1550363 (using Function module 'WWW_GET_MIME_OBJECT').

http://wiki.sdn.sap.com/wiki/display/Snippets/Simple+OOPS+ALV+report+in+Full+Screen

http://scn.sap.com/thread/289330

(using Class 'cl_salv_form_layout_logo' or 'cl_salv_form_picture'

Disadvantage of ALV HTML layout - will not be able to print logo in Physical Printer)

In BSP, the same MIME object can be used for many programs.

It is just that it appears in SE80 Repository Browser for the 'current' BSP Program using that MIME object.

Regards,

Nisha Vengal.

4 REPLIES 4
Read only

FredericGirod
Active Contributor
0 Likes
794

Hi Gladson,

have a look to the example SAP_PICTURE_DEMO in trans. DWDM

regards

Fred

Read only

Former Member
0 Likes
795

Hi Gladson,

You may either use 'MIME' or 'OAER Tcode' logo.

Helpful links below:

http://scn.sap.com/thread/1550363 (using Function module 'WWW_GET_MIME_OBJECT').

http://wiki.sdn.sap.com/wiki/display/Snippets/Simple+OOPS+ALV+report+in+Full+Screen

http://scn.sap.com/thread/289330

(using Class 'cl_salv_form_layout_logo' or 'cl_salv_form_picture'

Disadvantage of ALV HTML layout - will not be able to print logo in Physical Printer)

In BSP, the same MIME object can be used for many programs.

It is just that it appears in SE80 Repository Browser for the 'current' BSP Program using that MIME object.

Regards,

Nisha Vengal.

Read only

0 Likes
794

Thank you for the helpful answers. But I am back to Square One. We have already attached our objects using SMW0. But, it doesn't show up as related to the Report Program, like in BSP or WDA.

My question was, can I store the files somewhere in such a way. that it's shown as related to these MIME objects?

Read only

0 Likes
794

Hi Gladson,

As far as I know, we cannot show image in repository browser of SE80 for report programs, as it appears for BSP.

If we need to show a correspondence, we can name the image object as:

' Z <report name/description> '.

Regards,

Nisha Vengal.