SAP Knowledge Base Article - Preview

2658885 - OSCI (external service) results in error message "Error while fetching the source metadata" (/IWFND/OCI_MSG018)


When trying to generate an OData service in transaction SEGW or /n/IWBEP/OCI_SRV_GEN it results in an error message:
Error while fetching the source metadata (/IWFND/OCI_MSG018).

This means that the $metadata document of the service cannot be fetched.



  • SAP Gateway
    • OData Services Consumption and Integration (OSCI)


SAP Gateway all versions


Could not retrieve the Model Name 'ZEXAMPLE_MDL_01' and Version '0001', /IWFND/OCI_MSG/020, /IWFND/CL_OCI_REQ_PROCESSOR, GET_SRC_METADATA, /IWFND/IF_OCI_HTTP_WRAPPER~GET, returned parameters: lv_response_xtr, cv_metadata_str, lv_status_code, CALL METHOD lr_oci_http->get, /IWFND/CL_OCI_HTTP_PROCESSOR , KBA , /iwfnd/oci_msg020 , /iwfnd/oci_msg018 , OPU-GW-COR , Framework , OPU-BSE-SB , Service Builder , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.