01-01-2014 7:12 PM
Hello Members,
Happy New Year to All of you.
My requirement is to add a quality certificate's (Transaction QC53 is for specific certificate record) image into adobe form. I need to display some records into first page and then need to attach or add the certificate image into 2nd page.
Please let me if somebody had already faced this kind of issue and got solution.
Thanks in advance for your help.
Abhijit
01-02-2014 6:48 AM
01-02-2014 7:04 AM
01-02-2014 3:50 PM
Hello ,
I'm waiting for your valuable response. Please let me know if it is at all possible ? If yes then how?
Thanks & Regards,
Abhijit Mandal
01-02-2014 4:25 PM
Please let us know how your ADOBE form get called ? I am not suret but its just matter of adding Pic in adobe form then yes it is possible.
Thnx,
Prakash
01-02-2014 4:33 PM
Hello,
The form is called from a Z program. It's not a static picture. I need to check for quality certificate in QC53 and if exists then only I need to add.
Thanks & Regards,
Abhijit
01-06-2014 4:38 PM
Hello ,
I'm looking for help on this topic. Experts. can you please update?
Thanks & Regards,
Abhijit
01-06-2014 8:00 PM
Hi Abhijit,
I think you would need to pass a URL into the form as a parameter if you mean to include a dynamic picture based on your check. Then you should be able to point to the URL by inputting some programming logic in the form.
Regards,
Ryan Crosby
01-06-2014 9:48 PM
Hello,
I have to check the QC53 attachment list. If exists then I need to add this attachment into SAP Adobe form.
Actually, I'm displaying certificate details from QCPR table. I need to attach the certificate image to the adobe form dynamically .
Thanks & Regards,
Abhijit
01-07-2014 8:28 PM
01-07-2014 8:41 PM
01-07-2014 11:36 PM
HI Abhijit,
i don't think you can dynamically embed an image into a PDF. I think you need to provide a URL for the form of where an image is located. If it is stored into a table in some XSTRING or RAW format then you could write a simple BSP application to serve the image file and then give that URL to the form.
Regards,
Ryan Crosby
01-09-2014 2:28 PM
Hello,
Could you please elaborate. I don't have any idea about BSP.
Thanks & Regards,
Abhijit
01-09-2014 4:25 PM
I checked the QC53 attachment logic and it appears that it is stored somewhere at the OS level. If you have a way to determine the file location then I could help with some form of BSP logic to read the file data into your form.
01-09-2014 10:31 PM
Hi Abhijit,
I spent some time researching this gathering of data just to gain experience in the area and I may have a sample that would work for you. Here is a very basic BSP application that will gather the first attachment for a quality certificate and output it at an image using a URL (Note that I only selected the first but maybe this would differ from your requirement). Here is the basic setup of the BSP application:
Next is the BSP code that will read the attachment and output it as binary data as well as set the appropriate mime type for the response depending on the type of image. The assumption here is that you are only looking at images:
The last step is to setup a parameter for the URL so you can tell the system which quality certificate you are interested in getting an attachment for:
I apologize for the two code images but the screen was too small. Now the last thing is merely to construct the URL so that you tell the BSP application what to go get. The URL would be in the format of - host/sap/bc/bsp/sap/ztest353535/certificate.htm?ID=insert your cert no here
Hope this helps you out.
Regards,
Ryan Crosby
01-15-2014 12:04 AM
Hi Ryan,
Thanks for your mail. Could you please let me know how can i add the BSP application into my existing report?
I can't create it separately. Because I already have different 4 pages of display in my adobe form. and I have already displayed the certificate details.
Now, I need to do the hyperlink of certificate number to the pdf attachment.
Thanks & Regards,
Abhijit
01-15-2014 1:39 PM
Hi Abhijit,
Unfortunately the BSP application would have to be created separately. I did find another possibility regarding the input of a dynamic image but found that the quality was not so good when I tested it in my system. Under the context tab in SFP you can add a "graphic" node and if you set the type as either a "graphic reference" or "graphic content". The "graphic reference" means you would supply a URL for the picture in the binding and "graphic content" means you would supply the XSTRING value from lv_xstr for example from the above code in the binding (I tried this one and it didn't look very good compared to the HTTP version from the URL).
Whichever you try you will still need to either pass in the additional parameter for the URL or the XSTRING in the form interface so you can read it in the form.
Regards,
Ryan Crosby
01-07-2014 3:20 PM
Hello Experts,
Awaiting for valuable response.
Thanks & Regards,
Abhijit
04-02-2015 8:13 AM
We had the same question, .PDF files are not a supported format extension for graphic/images by Adobe Livecycle Designer 10.4.0 as per below: