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

ERROR_HTTP trying to copy a document SCMS_HTTP_COPY_FILES

Former Member
0 Likes
1,878

Hi all,

I am trying to copy a document using the function module ARCHIVOBJECT_COPY . An error ERROR_HTTP occurs when calling the function module

SCMS_HTTP_COPY_FILES.  I have checked the connection of the content repository in the transaction oac0 and it was ok. The document to copy already exists in the content repository. Where should I check next? On the development it works but on the test system not.

Thanks

Hi all,

I am trying to copy a document using the function module ARCHIVOBJECT_COPY . An error ERROR_HTTP occurs when calling the function module

SCMS_HTTP_COPY_FILES.  I have checked the connection of the content repository in the transaction oac0 and it was ok. The document to copy already exists in the content repository. Where should I check next? On the development it works but on the test system not.

Thanks

3 REPLIES 3
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,413

Go a little bit further to see whether the exception comes from the "GET" (read the document to be copied) or from the "WRITE" (to create the new document).

Moreover, it seems that you passed the "PATH" parameter (because SCMS_HTTP_COPY_FILES is called), why? And could you tell us the exact parameters/values/types you passed to ARCHIVOBJECT_COPY?

Read only

0 Likes
1,413

The error occurs when the function module SCMS_HTTP_DOC_GET_FILES is called

sy-subrc = 6 (HTTP_ERROR)

I would like to say that it actually works on the development system but not on the test system.

Read only

0 Likes
1,413

If it works on one system but not on another one, then it may be an issue with the content server configuration. Did you make sure it's correctly configured in the "test system"? (transaction OAC0 - test connection) If you are allowed to upload files, you may also use a test program like RSCMSTA0 to check that everything is fine with write/get.