Skip to Content

Scenario

     Replication of product from SAP CRM to Cloud for Customer (C4C) is not working.

Pre-requisites –

  • Integration between C4C and SAP CRM is setup correctly.
  • Required iFlow is deployed in case of HCI
  • This issue will most probably occur in the case of migration of product categories. Make sure that ID mapping for product categories in C4C side is done properly.

Issue

     There is a failed web service error item in web service monitor. The payload does not show any product category coming into C4C. Error text in Error Log is “Activation not permitted; cross-process category missing”.

     IDOC at SAP CRM side has proper data for product category and product hierarchy.

     There is no change made with standard iFlow for this scenario.

Reason

     One of the possible reason for this is the missing value mapping in HCI.

     When you open the iFlow mapping for CRM to COD Material Replication (com.sap.scenarios.crm2cod.material.replicate) and check the mapping of product category, you will find that there is a formula below to derive the product hierarchy out of value mapping. Screenshot is provided below.

P1.jpg

     Mouse hover on valueMapping box in above figure will explain the value happing used in this formula. Screenshot is attached below.

/wp-content/uploads/2015/05/p2_697709.jpg

     The reason of the error is that value mapping is not maintained properly.

  

Resolution –

     Now you need to go to the iFlow of value mapping (com.sap.scenarios.crmc4c.valuemapping) and maintain the mapping for the above combination. The combination is as below:

     On SAP CRM side -> Agency = SNDPRN, Identifier = HIERARCHYID

     On C4C side -> Agency = COD , Identifier = HIERARCHYID

     Screenshot of the iFlow is provided below.

P3.jpg

     Which value of SNDPRN should be mapped to HIERARCHYID? The value of SNDPRN is available in IDOC, you need to go to control record of IDOC and in the Partner tab you will find Sender information -> “Partner number”. The value of this field is the value in SNDPRN. Screenshot attached below.

P4.jpg

     HIERARCHYID will be the ID of the product hierarchy to which the product category of the replicated product belong to.

  

     Once this mapping is maintained, and value mapping iFlow deployed, the material replication from SAP CRM to C4C will no more give the above error.

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

  1. Tasnim Ara

    Nice Blog..

    I would like to add my experience related this error.

    We have integration Scenario like ECC->HCI->C4C As we replicate Material to C4C few material got error like this “Activation not permitted; cross-process category missing”

    after looking in to all ID mapping we had look in to ECC system we found few material not maintained ( PRDHA :Product hierarchy ) value so C4C payload is not contain this field  ProductCategoryID which cause to this error..

    Product which replicated successfully

    <ProductCategoryID>2004004</ProductCategoryID>

          <ProductCategoryIDTypeCode>923</ProductCategoryIDTypeCode>

          <BaseMeasureUnitCode>EA</BaseMeasureUnitCode>

          <MaterialDivisionCode>01</MaterialDivisionCode>

    Product Which is cause above error

          <IDTypeCode>20</IDTypeCode>

          <ProductCategoryIDTypeCode>923</ProductCategoryIDTypeCode>

          <BaseMeasureUnitCode>EA</BaseMeasureUnitCode>

          <MaterialDivisionCode>01</MaterialDivisionCode>

          <Description actionCode=”04″>

    Thanks,

    Tasnim

    (0) 

Leave a Reply