Skip to Content

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

Loading external documents ( .DOC; .PDF... ) into SAP

Hi, I should load into SAP external documents

(curricula) attached to applicant data. Via web interface,

applicants can only attach files created with Word, Adobe

Acrobat, Notepad. The web server will send the applicant

data + the attachment (via an XML message) to an integration server (TIBCO), which in turn will send the data to SAP HR. I presume TIBCO can extract the attachment

from the XML envelope and send it to the SAP server. Is

there anyone that can tell me how can I load these files into SAP (without corrupting their contents)? Once loaded

the attachment, the SAP system has to be able to invoke

(via OLE automation) the exact application used to create

it (transaction: PB20). A function exists that can import

whatever type of attachment: SO_OBJECT_INSERT; this

function, however, needs to be filled with the file

contents (TABLE parameter); this implies that the ABAP

program has to read the file contents in such a way that

guarantees its integrity (binary mode, I presume). Is

there a function that loads the attachment by reading

its local path? This way the read operation would be

transparent. Or maybe there exist an RFC function module

that can be invoked directly from TIBCO.. (I don't know).

Thanks in advance.


Former Member

Helpful Answer

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