Application Development 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: 

Display image stored in ztable

Former Member
0 Kudos

Hello Experts,

I have stored an image in a ztable in xstring format using method GUI_UPLOAD and function module  SCMS_BINARY_TO_XSTRING.

My question is how do I print it out on a classical report screen?

I have gone through numerous posts here, almost all of which tell me to use MIME or else go for REUSE_ALV_COMMENTARY_WRITE.

Is there a simpler way to do it, now that I have the image in my custom ztable?

Can someone give me a sample code to do it?

My ztable has fields SrNo type INT1 and PHOTO type HRTMC_XSTRING.

Thank You in advance,

-Nimish Kate

2 REPLIES 2

thanga_prakash
Active Contributor
0 Kudos

Hello Nimish,

As I was aware there is no other way to print logo in the Classical report other than MIME and REUSE ALV COMMENTARY WRITE.

Refer to below demo programs for the same.

DEMO_PICTURE_CONTROL

RSDEMO_PICTURE_CONTROL

Regards,

TP

0 Kudos

Hi Thanga,

I have referred to these programs as well. Seems like there is no other way.

Thanks for replying though, I'm marking this question assumed answered.

Cheers,

-NK