Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Storing documents in external system using HTTP interface with ArchiveLink

Former Member
0 Likes
707

We have configured SAP archivelink for storing documents against purchse requisitons through HTTP interface in an external file system. Through General Object Services(GOS), when 'Store business document' menu option is used system asks for a fil name. When we provide the file

name and hit 'continue' system calls ARCHIV_DTFILE_SAVE function module which generates a 'HTTP_POST'.As per the SAP ArchiveLink HTTP interface we have developed Java server side program to serialise the HTTP post

into a document in the external file system. While creating the document in the external file system, we need to know the file extension with which the doument should be created.Microsoft internet browser launches

approipriate application based on the file extension when we retrieve this document through 'HTTP_GET' later from the purchase requision.At the moment, the MIME type generated in the HTTP_POST header is a fixed value based on the configuration rather the document that is selected by the user. Therefore we need to pass the file extension either through the absolute URL or the HTTP header.

I believe this is a common problem for any customers trying to use HTTP interface for archiveLink. Without passing the file extension ( or dynamic MIME type in HTTP header ) how can we determine the file extension for the document that is getting created in the external

server?

cheers

Ramesh.

1 REPLY 1
Read only

Former Member
0 Likes
506

Ramesh-I am hoping to get some clarification on imaging with SAP. Can you contact me via dawn_kuschewski@bankone.com

Thank you,

Dawn