cancel
Showing results for 
Search instead for 
Did you mean: 

Can not consume CDS froma Custom Business Object - Marketing Cloud

0 Kudos

Hi experts,

I just created an fiori app in SCP - WEB IDE that connects wtih a service (CDS) of a Custom Business Object (CBO) created in Marketing Cloud. The problem is that when I run the applciation (in SCP) the following message appeared:

FAILED TO RETRIEVE METADATA

{ "requestUri": "/S4HC_BO_FaultyAddress/sap/opu/odata/sap/YY1_FAULTYADDRESS_CDS/$metadata", "statusCode": 403, "statusText": "", "headers": [], "body": "<?xml version=\"1.0\" encoding=\"utf-8\"?><error xmlns=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"><code>/IWFND/CM_CONSUMER/101</code><message xml:lang=\"en\">No authorization to access Service 'YY1_FAULTYADDRESS_CDS_0001'</message><innererror><application><component_id/><service_namespace>/SAP/</service_namespace><service_id>YY1_FAULTYADDRESS_CDS</service_id><service_version>0001</service_version></application><transactionid>F1B631EA21110480E005F1BBF20FE430</transactionid><timestamp>20200729023757.9793930</timestamp><Error_Resolution><SAP_Transaction>For backend administrators: use ADT feed reader \"SAP Gateway Error Log\" or run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details</SAP_Transaction><SAP_Note>See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)</SAP_Note></Error_Resolution><errordetails/></innererror></error>" }

I tried to test the service throguh Postman but is not working, the same error apprears. Also I have tried creating other CBO´s but the error is appearing for any CBO.

I created the scenario, the communication user, the system and arrangement correctly.

Can anyone help me with this?

Thank you in advance.

JD

Accepted Solutions (0)

Answers (3)

Answers (3)

bruno_gonzalez
Active Participant
0 Kudos

Hi juan_cyrus. Can you please tell us which message and error code are you getting in Postman?

The 403 error that you showed is for not authorized, so you need to double check the credentials for the CBO access. Try to reset the password of the communication user, and check if all the communication system/arrangement and the custom communication scenario is properly configured and published 🙂

Regards,

SCHNEIDERT
Active Contributor
0 Kudos

Hi Juan,

that's strange. Try to delete all the cookies in Postman and check again that you have the right user/password combination (but usually in that case I would expect a 401 - unauthorized).

If it still does not work maybe you could provide some screenshot.

BR Tobias

Abd_Am_K
Advisor
Advisor
0 Kudos

Hi juan_cyrus ,

The message states that you have some kind on an access issue. Can you please check that the session is established correctly in Postman before you try to access your service.

Best Regards,

Abdullah Amer