Skip to Content
Nov 01, 2022 at 05:46 PM

API_PRODUCT with Internal Number Assignment

68 Views Last edit Nov 01, 2022 at 06:31 PM 2 rev


We need to be able to create Materials in SAP Public Cloud from the API_Product service using Internal Numbering on our Material Master. From what I've read (Note 2565362, etc) this can not be done using the Migration Cockpit. When I look at the specifications on API_Product (Product API Page) it shows Product as a Mandatory field, and the example call has an externally assigned product number.

I can imagine some ways that this could still potentially work: a temporary $00001 type value for material number, exposing the NUMBER_GET_NEXT as an API and then filling in the next number in the Create Call, Custom Logic at the start of the Material Creation to look up the real number, etc. But I don't see any documentation on any of those options actually being done for this process, and I don't see access to Custom Logic in that area in Public Cloud.

Sorry, I have not exhaustively tested this yet, and am only looking for a general guideline and can't find anything definitive in the documentation or online. I'm wondering if someone has done this already before I waste a lot of time going down a road that will lead to failure...