cancel
Showing results for 
Search instead for 
Did you mean: 

MIME Repository - Image not found / Broken Link

Former Member
0 Kudos

Hi experts,

I refer to a couple of mime objects (just *.jpg) over material numbers. They are all in the mime repository like "images/thu_products/123456.jpg"

But not every material has an image.

How can I display my own standard "missing-image"-image instead of the normal one for a missing image?

Is there kind of a test like mime repository object available?

Any ideas?

Best regards!

Volker


data: gt_items type table of bapilayit,
wa_items like line of gt_items.

loop at gt_items into wa_items.

<htmlb:image src="images/thu_products/<%= wa_items-material %>.jpg" />

endloop.

Accepted Solutions (1)

Accepted Solutions (1)

athavanraja
Active Contributor
0 Kudos

check this thread for code sample on how to read the mime repository using cl_mime_repository_api class

https://forums.sdn.sap.com/click.jspa?searchID=3540885&messageID=3157824

Former Member
0 Kudos

Thank you for sharing!

Answers (0)