Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

XSTRING to PDF: convert and store into AL11 directory

Hi all,

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.

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question