XSTRING to PDF: convert and store into AL11 directory
I have a requirement to fetch an excel file from AL11 directory and post it to opentext. I also have to convert this file to pdf and post to OT. I have for this purpose, converted the file into xstring after fetching it from the directory and posted it into OT using a custom FM.
Now my requirement is to convert this xstring into pdf and then post this to OT with the help of this custom FM. I have searched in various threads but there are solutions which after converting it to binary table format just download into local machine, but what I need is a copy of this file to be stored in the AL11 directory(same as excel file) and also post it to OT using the custom FM.
For getting path of the AL11 directory im using FILE_GET_NAME_USING_PATH and read into xstring using open dataset.
Kindly provide your valuable suggestions.