on 12-19-2009 7:39 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, have you been able to finish your picture printing app? Maybe you can share your solution with us? Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.