cancel
Showing results for 
Search instead for 
Did you mean: 

Response from external server has status code of 404

2,825

We have connected S/4Hana 1909 on premise system to SAC for Planning.

While exporting the plan data from SAC to S/4Hana on-premise system, we are getting the error

Response from external server has status code of 404.

Any clue on the root cause for this error.

We could import Actual data from S/4Hana to SAC successfully.

Thanks in advance.

View Entire Topic
ThomasK
Participant

I guess you haven´t activated the necessary OData service. Please try this and let us know.

1. Find a fitting SAP system alias:

In transaction SPRO open the SAP Reference IMG, navigate to SAP NetWeaver ->SAP Gateway ->OData Channel ->Configuration ->Connection Settings -> SAP Gateway to SAP System->Manage SAP System Aliases

Find a local SAP system alias which has the flag "Local GW" not set. System alias should look like <SID>CLNT<client>.

2. Delete ZAPI_FINANCIALPLANDATA_SRV:

In transaction /IWFND/MAINT_SERVICE filter for ZAPI_FINANCIALPLANDATA_SRV.

Remove all system alias from service.

Delete SICF node of service.

Delete service itself.

3. Add ZAPI_FINANCIALPLANDATA_SRV:

In transaction /IWFND/MAINT_SERVICE.

Press "Add Service" button.

Select system alias from step 1 (like <SID>CLNT<client>) as alias and enter API_FINANCIALPLANDATA_SRV as technical service name

Press button "Get Services"

Mark API_FINANCIALPLANDATA_SRV in list.

Press button "Add selected Service" and add ZAPI_FINANCIALPLANDATA_SRV as Local Object (with package assignment $TMP) in customer name space.

Go back (F3).

Now ZAPI_FINANCIALPLANDATA_SRV is assigned to new system alias.

4. Check

If you now call on the SAP Gateway Client (/IWFND/GW_CLIENT) or in browser with your host and port added

/sap/opu/odata/Iwfnd/catalogservice;v=2/TagCollection('SACEXPORTTOS4HANA')/Services

You should find as technical service name "API_FINANCIALPLANDATA_SRV" for ID "ZAPI_FINANCIALPLANDATA_SRV".

olizotte
Explorer
0 Kudos

I needed to Export Data from SAC to S4Hana in ACDOCP and was getting the same error message as Ramesh.

By adding the ODATA service as described in this comment was able to Export Planning data to S4.