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 in Function Module HTTP_GET

0 Likes
1,023

Hello together,

I am using FM ARCHIVOBJECT_GET_TABLE in my report to download an attachment for an invoice.

But I am always getting an error in this FM.

I debugged it further and the error is coming from inner FM HTTP_GET.

The error message is: NIEHOST_UNKNOWN

I don't know what is the reason for this?

Can you help?

Best regards

Udo

P.S. The Call of the FM is like this:

CALL FUNCTION 'ARCHIVOBJECT_GET_TABLE'
EXPORTING
archiv_id = lw_connections-archiv_id
document_type = lv_document_type_fb
archiv_doc_id = lw_connections-arc_doc_id
SIGNATURE = 'X'
IMPORTING
binlength = e_length
TABLES
binarchivobject = et_binarchivobject
EXCEPTIONS
error_archiv = 1
error_communicationtable = 2
error_kernel = 3
OTHERS = 4.

2 REPLIES 2
Read only

Sandra_Rossi
Active Contributor
0 Likes
863

Your Content Management software is connected via HTTP and it seems there's an issue in the HTTP config, certificate or whatever, ask your administrator to check what the problem is.

Read only

0 Likes
863

Thank you, Sandra!