cancel
Showing results for 
Search instead for 
Did you mean: 

ValueMappingDesigntimeArtifact available in CPI?

Emileh
Explorer
0 Kudos

Hi,

I've tried to use to upload valuemapping details in our CPI tenant using the Integration Content API.

According to https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/1425fe5aa47c4ceb81163d1f9dc... there is an upload method available however when trying this method on our tenant I get a response:

<?xml version='1.0' encoding='UTF-8'?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
 <code>Not Implemented</code>
 <message xml:lang="en">Not implemented</message>
</error>

Somebody any input?

Regards,

Emile

Accepted Solutions (1)

Accepted Solutions (1)

Emileh
Explorer
0 Kudos

Hi,

Got answer from SAP.

Uploading a completely new valuemapping artifact including valuemapping values is possible.

The content ["ArtifactContent":"<base 64 encoded content>"] in the API call should be base-64 encoded zip content in stead of base64 encoded value-map xml I used.

Unfortunately at this moment (april 2020) deleting/updating a valuemapping artifact is not possible but will come available in future releases.

Regards,

Emile

Answers (2)

Answers (2)

Emileh
Explorer
0 Kudos

Hi Raffael,

Thanks for your reply and to be honest this is the same I was thinking.

Yes I did see that. What I was aiming for is to update the complete set of value mappings of one specific valuemapping artifact on a regular basis.

I will check with a note to SAP support.

Regards,

Emile

r_herrmann
Active Contributor
0 Kudos

Hi Emile,

it seems like the documentation is ahead it's time. When having a look at the SAP API Hub (over here: https://api.sap.com/api/IntegrationContent/resource) the endpoints named in the documentation aren't listed. I guess this feature will be enabled in near future, but isn't available right now. (Only my guessing!)

Nevertheless - have you seen that this is (by what I see from the docs) only meant to upload ValueMapping artifacts and not for updating single fields of a ValueMapping artifact?