天天看点

使用SAP CRM中间件从ERP下载Customer的错误消息:Customer classification does not exist

After I create a customer in ERP via tcode VD01 and try to download it into CRM via request download, I meet with the following error message:

“Customer classification 06 does not exist”

使用SAP CRM中间件从ERP下载Customer的错误消息:Customer classification does not exist

Through debugging I found this issue is raised in line 22 due to a missing configuration in table crmc_classif.

使用SAP CRM中间件从ERP下载Customer的错误消息:Customer classification does not exist

The configuration for classification in CRM is done in this activity:

使用SAP CRM中间件从ERP下载Customer的错误消息:Customer classification does not exist

In my CRM system, there is no corresponding entry for 06, as a result error message is raised.

使用SAP CRM中间件从ERP下载Customer的错误消息:Customer classification does not exist

Still I would like to figure out, where does this 06 come from?

I set a breakpoint in function module BAPI_CRM_SAVE in CRM, download all content in variable BAPISTRUCTURES – this variable stores all data sent from ERP – into local excel and search by keyword 06, and found this field is set in structure BSS_S040.

使用SAP CRM中间件从ERP下载Customer的错误消息:Customer classification does not exist

Then I perform where used list on this structure, and found the classification data comes from KNA1-KUKLA.

使用SAP CRM中间件从ERP下载Customer的错误消息:Customer classification does not exist

The classification could be maintained in tab Marketing in ERP:

使用SAP CRM中间件从ERP下载Customer的错误消息:Customer classification does not exist

And the classification list could be maintained in customizing below:

使用SAP CRM中间件从ERP下载Customer的错误消息:Customer classification does not exist

Solution for this error message is: either maintain a corresponding entry for 06 in CRM, or clear the classification value, just keep it empty in ERP.

继续阅读