(please see at the end my previous search on SDN on this matter)
I have a problem to convert from table of type TLINE to table of type SOLIX.
I convert a spool to PDF. This PDF I later want to assign to a business object.
The conversion to PDF create a table of type TLINE and the assignment to the business object need a table of type SOLIX.
I am able to do this via downloading the pdf to the frontend - then upload it agan as follows ...(after the upload the table is ready to use for assigning the PDF to my business object)
call function 'CONVERT_ABAPSPOOLJOB_2_PDF' EXPORTING SRC_SPOOLID = l_spool NO_DIALOG = 'X' TABLES PDF = witab "TYPE TLINE EXCEPTIONS >>>>>>>>>>>>>>>> CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD EXPORTING BIN_FILESIZE = LV_SIZE "0 FILENAME = LV_FULLPATH FILETYPE = 'BIN' CHANGING DATA_TAB = witab "TYPE TLINE EXCEPTIONS >>>>>>>>>>>>>>>> CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = lv_fullpath "path to PDF-file filetype = 'BIN' IMPORTING filelength = xlength TABLES data_tab = lt_doc. "TYPE STANDARD TABLE OF solix with header line
Finally here the table LT_DOC (pdf-document) is directly able to be used to be linked to the business object
I Would really like to do this without do any download/upload just for the conversion..... that is no performance in that..
Search on SDN
...exactly my problem...but with no luck
...yihaa...an entire program just for this... but here my combination from TLINE as a table to SOLIX as a table did not work...
....this one seemed to work my problem...but either I did not understand it fully, or It simply did not apply for my problem.
I did test some other links too, but they all seemed to talk about the same thing but in other ways... So I am still confused. There must be a simple way to to this conversion.
Please help me....