cancel
Showing results for 
Search instead for 
Did you mean: 

To print image in Non interactive form

Former Member
0 Kudos

I have a requirement where image file is attached to QM02 transaction, now i want to print the attached image on QM02 print output. I am planning to use Non interactive form method to print the form output.

Can anyone pls guide me how to insert/print image file which is attached at the transaction level.

Accepted Solutions (0)

Answers (6)

Answers (6)

OttoGold
Active Contributor
0 Kudos

Hello, did you get your answer and solve the problem? If so, please close the thread and share your solution and experience with us so the other members of the community benefits from that too. Otto

OttoGold
Active Contributor
0 Kudos

Use this thread solution... and enjoy it:))

Otto

OttoGold
Active Contributor
0 Kudos

By the way, what does it mean "the picture attached to QM02 transaction"? The list of actions provided above is only valid for the "typical" scenario - displaying the picture which is stored in SE78 (Form Graphics). If your picture source is different you need to debug out how to adapt your picture input from the mentioned source.

Check this tutorial: /people/bhawanidutt.dabral/blog/2007/11/15/how-to133-integrate-adobe-form-on-webdynpro-for-abap-and-deploy-it-on-portal

Regards, Otto

jitendra_mehta
Participant
0 Kudos

Otto:

I followed the steps you have described in one of your earlier reply but I am unable to see the image on the non-interactive ADOBE form.

Here is what I did.

1) In the "Code Initialization" section of the form, I coded to get the SE78 stored image in to XSTRING field (by calling method cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp)

2) I created the image field and bound it to the XSTRING field derived in step 1. And I check marked "embed image" in layout of the image field.

I also followed some other threads on this forum and tried to create a graphic node with a global field of mime type "BMP" and bound my XSTRING data onto it but to no avail.

Any ideas?

Thanks.

Jitendra Mehta

OttoGold
Active Contributor
0 Kudos

Interactive form should not be needed. Be careful: interactive form is paid, so do not use it for a picture. The problem is not in this form attribute. Otto

OttoGold
Active Contributor
0 Kudos

Hello, have you been able to finish your picture printing app? Maybe you can share your solution with us? Otto

Former Member
0 Kudos

No not yet

problem is not fixed yet we r thinking about intractive form

i ll definetly share my solution after finishing my coding

OttoGold
Active Contributor
0 Kudos

Hello,

This is not a problem, follow me:

1) create image field in your form (not only image!! it must be the image field)

2) load your picture in the backend

3) convert the image into XSTRING

4) create the XSTRING variable in the interface/ context, fill it with the picture data

5) bind the image field to this variable

6) enjoy

Regards, Otto