使用SAP CRM中间件从ERP下载Customer的错误消息

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”

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

使用SAP CRM中间件从ERP下载Customer的错误消息_第1张图片

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

使用SAP CRM中间件从ERP下载Customer的错误消息_第2张图片

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

使用SAP CRM中间件从ERP下载Customer的错误消息_第3张图片

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的错误消息_第4张图片

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

使用SAP CRM中间件从ERP下载Customer的错误消息_第5张图片

The classification could be maintained in tab Marketing in ERP:

使用SAP CRM中间件从ERP下载Customer的错误消息_第6张图片

And the classification list could be maintained in customizing below:

使用SAP CRM中间件从ERP下载Customer的错误消息_第7张图片

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.

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

你可能感兴趣的:(crm,sap,erp,abap,saprfc)