Skip to Content

Product Hierarchy description to be displayed via the iflow in marketing cloud

Hello Experts,

While we are trying to replicate the product Hierarchy from ECC to Marketing cloud. We are getting the following error.

Our Requirement: We just need to display the description of the Product Hierarchy as we are already getting the product hierarchy code ( PRDHA ) from the backend ECC system. In the marketing cloud system, the entire product Hierarchy structure is already imported.

Question 1.

We are able to get "ProductCategoryAssignments" using the Product Replication Extensibility Iflow in the Product Replication. But while posting the data using API- API_MKT_PRODUCT_SRV we are getting the below error

Error Text: EdmException:The found typed value for 'ProductCategoryAssignments' must be a property but is not."

Or Is there any other way to handle our requirement.

Thanks,

pr1.png (46.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Jul 15, 2020 at 08:33 PM

    Hi Yvan Grunitzky. If you look at the API documentation, you'll see that you need to specify multiple fields in that structure:

    "ProductCategoryAssignments": [
        {
          "ProductOrigin": "string",
          "ProductID": "string",
          "ProductCategoryHierarchyID": "string",
          "ProductCategoryID": "string"
        }
    ]

    You must specify those fields to assign the Category to the Product properly.

    Let me know if you need more help. Regards,

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Bruno,

      To populate the product hierarchy in marketing by passing the Product category code. We are getting the following error. Are you aware of this.

      Error Details Inbound processing in endpoint at /ERP/yMKT/yMKT_MATMAS failed with message "Fault:Parallel processing failed for number 2. Exchange[ID-vsa7272103-33725-1595051059846-396-20]. Caused by: [com.thoughtworks.xstream.converters.ConversionException - ---- Debugging information ---- cause-exception : com.sap.gateway.core.ip.processor.exception.ODataProcessingException cause-message : OSCI issue class : java.util.ArrayList required-type : java.util.ArrayList converter-type : com.sap.gateway.core.ip.processor.converter.ConverterXMLToList path : /batchParts/batchChangeSet/batchChangeSetPart[5]/ProductOriginDataSet line number : 197 version : not available -------------------------------]", caused by "EdmException:The found typed value for 'ProductCategoryAssignments' must be a property but is not."

  • Posted on Jul 16, 2020 at 05:48 PM

    Hello Bruno,

    Please find our code snipet below.

    We are still getting the same error.

    Note: We dont want to CREATE the product Hierarchy in marketing cloud. The product Hierarchy is already created by CSV import.All we want to do is to display the Description of "Product Hierarchy" against the "Product Hierarchy code" received from ECC system in the UI.

    Thanks


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 20, 2020 at 07:49 PM

    Hi Yvan Grunitzky. Understood that you already have the product category hierarchy in SAP Marketing.

    From the error you sent in the comment I think it's a mapping error. Can you check the mapping? I don't know exactly what can that be because I don't know all the other parts of the flow, but double check the EDMX coming from the service, check if the mapping is okay and you're assigning the values correctly.

    The other question from my side could be: where are you getting the error you showed us? Can you tell us exactly in which part of the flow? Do you have logs? Please use the trace mode so you can get full information of the error in the SCPI monitor.

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.