Skip to Content
0
Aug 08, 2018 at 01:32 AM

Convert GOS Attachment (PDF) / BIN Data / HEX Data into OTF Data having SRGBTBREL table as reference

1957 Views

Hello..!

My requirement is to merge two PDF files into one file.

File#1: Invoice Output.

File#2: GOS (PDF) File.

My Approach: Get the OTF data for both, append them into one table (ITCOO) and use the function module CONVERT_OTF_2_PDF.

I got the OTF data for invoice output using SSF_FUNCTION_MODULE_NAME. But I am struggling to get the OTF data for GOS (PDF) file. At least by converting GOS (PDF) file to spool, I can convert the spool to OTF. Here again, I don't know the way to convert the GOS (PDF) file into spool. I even tried the function module SO_DOCUMENT_READ_API1 and got the GOS (PDF) content in BIN and HEX form. Here again, I don't know the way to convert BIN content or HEX content into OTF data.

All I need is the OTF content for the GOS (PDF) file and all I have in hand is the GUID, Instance ID A and Instance ID B from the SRGBTBREL table.

Highly urgent. Humble request for support.