且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

SAP CRM Product Sales status在中间件中的处理逻辑

更新时间:2022-09-04 18:38:11

Example: I have a material in ERP maintained with status: 10SAP CRM Product Sales status在中间件中的处理逻辑According to SAP help:SAP CRM Product Sales status在中间件中的处理逻辑How is this behavior implemented?SAP CRM Product Sales status在中间件中的处理逻辑Sales Status mapping between ERP and CRM

This mapping relationship is downloaded via customizing download by object DNL_CUST_PROD3. Once done, the table CRMC_TVMS in CRM stores the relationship.

Take the marked row below ( VMSTA = 10 ) for example, it means if the column SPVBC = B, the corresponding hard coded status in CRM will be marked as “active”.


See related middleware inbound source code for example.


CRM middleware inbound processing will only set the following three kinds of sales status for a downloaded product.



SAP CRM Product Sales status在中间件中的处理逻辑

The description for them are listed below:SAP CRM Product Sales status在中间件中的处理逻辑For a downloaded product, if it has sales organization specific data maintained in ERP, a default status value I1001 – Created will ALWAYS be set by line 24, regardless of the existence of sales status value. And If there is indeed sales status set in ERP, the configuration table CRMC_TVMS will be used to find logic how this sales status maintained in ERP will be handled in CRM.


SAP CRM Product Sales status在中间件中的处理逻辑Please note that even though in the configuration entry, there are lots of column SPVBA, B, C, D…SAP CRM Product Sales status在中间件中的处理逻辑However in CRM middleware, only SPVBC is used.SAP CRM Product Sales status在中间件中的处理逻辑Last but not least, table COMM_PR_FRG_ROD has a field STATUS_OBJECT which stores a guid acting as a handle for product sales status. By using this guid, you can query table CRM_JEST to get product’s status.


SAP CRM Product Sales status在中间件中的处理逻辑