on 01-08-2010 1:21 PM
Hello SDN members,
Problem: Sending Image to Spool.
Progress so far:
We store Scanned invoice images (TIF Format) on Content Server.
We have a requirement to create a report which should show some selected Invoices in ALV based on user Input and when user selects any invoice from that list and click on Print u2013 then scanned image for that invoice should be downloaded from Content Server and Image should go to SAP Spool.
So far, I am able to download that Invoice Image from Content Server into Internal table which is RAW format, but I am not getting any solution for sending the same to SPOOL.
Is there any easy way to convert this to OTF format and send to SPOOL?
Please provide your expert advice.
Code:
*Function module used to download image from content server
CALL FUNCTION 'ARCHIVOBJECT_GET_TABLE'
EXPORTING
archiv_id = 'A6'
document_type = 'TIF'
archiv_doc_id = wa_process-arc_doc_id
TABLES
binarchivobject = t_jpeg
EXCEPTIONS
OTHERS = 1.
T_JPEG = RAW format (Associated Type - TBL1024)
We can use GUI_DOWNLOAD from this point and download image to Presentation Server but user needs the Image to be sent to SPOOL only.
If there is any standard FM/Class which can upload Image from presentation server to SAP and then send to Spool will also be helpful?
Thanks,
Vijay Raheja
use SE78 transaction to upload image into SAP. Use batch input or a SAP program to upload it (search the forum).
Then either use SAPscript or Smart Form (or Adobe form) to embed this image into a form, then print the form (search the forum).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.