Jerry的CRM Middleware(中間件)文章合集

我在SAP成都研究院作過的CRM中間件的項目其實並非不少:數據庫

1. 2013年下半年和2014年上半年曾經支持過中聯重科和蒙牛的CRM項目相關的中間件問題;app

2. 2014年上半年作過一個CRM物料主數據的中間件開發項目;框架

3. 2014年負責CRM物料主數據的維護工做。ide

這個列表裏全部的文章都是我在實際開發或者項目過程當中遇到問題後記錄下來的心得。2013年直到清明節前,我其實對CRM中間件是一點都不瞭解的,可是個人老闆Poseidon讓我把這一塊的知識空缺補上,由於未來成都團隊須要負責中間件這塊的維護和持續開發。工具

我先把SAP中間件培訓教程CR500看了一遍,瞭解了一些基本概念。可是這個教程講的比較籠統,對SAP中間件標準開發人員幫助不是很大。性能

因而2013年清明節的時候,我把CRM物料主數據這個模塊收到的SAP內部測試人員報的全部的tickets搜索出來學習了一遍,一共有200多個。有25%的tickets是由於測試人員的配置不正確形成的。我藉此又積累了一些如何處理形如"若是遇到XXX的錯誤消息, 多是由於YYY配置出錯形成"這類問題的經驗。 當我把全部內部tickets過了一遍以後,對中間件的框架代碼有了必定的瞭解,成爲寫下列這些文章的基礎。學習

我遇到使用中間件時報錯誤信息的這類問題,分析過程也就下列兩種辦法:測試

1. 根據錯誤信息的technical信息做爲關鍵字去Google或者SAP Community上搜索。若是別人也遇到過一樣問題,那就能節省不少debug時間。ui

2. 本身debug。debug

CRM中間件的上傳下載方向的定義,都是以ERP做爲主系統(leading system)而言,因此從ERP上抓數據到CRM稱爲下載,從CRM主動發送數據到ERP稱爲上傳。

以從CRM上觸發從ERP系統下載數據爲例。若是下載過程不能按照您指望的工做, 那理論上說,出問題的可能性有如下幾種:

1. 代碼在ERP上從數據庫表中抓取數據時不能正常工做: 沒有抓取到指望的數據;

2. 代碼從ERP數據庫表裏成功抓取到指望數據以後,在把數據發送給CRM以前,因爲種種緣由(好比配置), 一部分數據被過濾掉了,根本沒有發送到CRM;

3. ERP工做徹底正常,指望的數據所有發送到CRM,可是CRM inbound處理時由於配置的緣由,在處理這些數據或者試圖存儲到CRM數據庫表時出錯。

這三種可能性分別對應下圖Point1,2,3。

調試的關鍵在於找到針對這三種可能性的調試入口,即在哪裏設置斷點。下面個人原創文章裏有講述。

點擊文末的"閱讀原文", 便可在新打開的頁面裏經過點擊超連接直接跳轉到對應的文章。

1. Step by step to debug Product Initial Download in CRM system

講述如何調試第三種可能性: https://blogs.sap.com/2013/11/27/step-by-step-to-debug-product-initial-download-in-crm-system/

2. Step by step to debug Product Initial Download in ERP system

如何調試第一和第二種可能性:https://blogs.sap.com/2013/11/27/step-by-step-to-debug-product-initial-download-in-erp-system/

3. How to debug Product Delta download in ERP and CRM side

如何調試增量下載:

https://blogs.sap.com/2013/11/28/how-to-debug-product-delta-download-in-erp-and-crm-side/

4. How to debug Product initial upload in ERP and CRM system

如何debug上傳:

https://blogs.sap.com/2013/11/28/how-to-debug-product-initial-upload-in-erp-and-crm-system/

5. Step by step for IDOC debug

https://blogs.sap.com/2013/12/16/step-by-step-for-idoc-debug/

6. An example to fix Generic stop set error status in tcode SMQ1

使用事務碼SMQ1發現outbound隊列裏狀態爲STOP的處理方法:

https://blogs.sap.com/2014/07/28/an-example-to-fix-generic-stop-set-error-status-in-tcode-smq1/

7. How to resolve error message IB_CRM_UPLOAD_MSG 025 in equipment replication

案例分析: 如何處理設備(equipment)下載時的錯誤信息IB_CRM_UPLOAD_MSG 25

https://blogs.sap.com/2014/08/27/how-to-resolve-error-message-ibcrmuploadmsg-025-in-equipment-replication/

8. Step by step to download equipments from ERP with hierarchy

如何把ERP裏具備層級結構的多個設備下載到CRM, 而且層級結構在CRM依然得以保持

https://blogs.sap.com/2014/09/03/step-by-step-to-download-equipments-from-erp-with-hierarchy/

9. Step by step to upload equipment from CRM to ERP

如何從CRM上傳設備到ERP

https://blogs.sap.com/2014/09/18/step-by-step-to-upload-equipment-from-crm-to-erp/

10. An example of how to find database table and field where Material text and product text is stored in ERP and CRM

同一個概念,好比ERP裏叫物料(Material), header數據存在表MARA裏,而CRM叫產品(Product), header數據存在COMM_PRODUCT裏。這篇文章以物料描述信息這一字段爲例,介紹如何去查找這個字段分別是在ERP和CRM哪張表裏存儲的。

https://blogs.sap.com/2016/05/07/an-example-of-how-to-find-database-table-and-field-where-material-text-and-product-text-is-stored-in-erp-and-crm/

11. A small tip about how to find a given Consolidated Database in Middleware

小技巧: 如何找到對應的Consolidated數據庫表

https://blogs.sap.com/2016/05/16/a-small-tip-about-how-to-find-a-given-consolidated-database-in-middleware/

12. How to download ERP plant into CRM via request download

https://blogs.sap.com/2016/09/23/how-to-download-erp-plant-into-crm-via-request-download/

13. How to resolve error message Number not in interval XXX - XXX when downloading a customer from ERP

如何處理這個錯誤信息:

https://blogs.sap.com/2016/09/24/how-to-resolve-error-message-number-not-in-interval-xxx-xxx-when-downloading-a-customer-from-erp/

14. How to deal with error message Form of address 0001 not designated for organization

如何處理這個錯誤信息:

https://blogs.sap.com/2016/09/25/how-to-deal-with-error-message-form-of-address-0001-not-designated-for-organization/

15. Why I always see warning message Object is in status Wait when performing a request download

當咱們啓動下載時,指望的結果是看到下圖所示的綠燈,提示咱們下載處於運行(Running)狀態。但有時咱們收到的消息一直是等待(Wait):

這篇文章介紹如何分析引發等待狀態的緣由。

https://blogs.sap.com/2016/09/25/why-i-always-see-warning-message-object-is-in-status-wait-when-performing-a-request-download/

16. How to resolve error message Customer classification does not exist when downloading a customer into CRM

如何處理這個錯誤消息:

https://blogs.sap.com/2016/09/25/how-to-resolve-error-message-customer-classification-does-not-exist-when-downloading-a-customer-into-crm/

17. How to resolve error message Distribution channel is not allowed for sales organization when downloading customer material info record from ERP

如何處理這個錯誤信息:

https://blogs.sap.com/2016/09/26/how-to-resolve-error-message-distribution-channel-is-not-allowed-for-sales-organization-when-downloading-customer-material-info-record-from-erp/

18. How to use SAT to measure CRM Middleware inbound processing performance

如何用SAT分析中間件的性能問題

https://blogs.sap.com/2016/10/10/use-sat-measure-crm-middleware-inbound-processing-performance/

19. How to download Service master from ERP to CRM

如何下載Service Master

https://blogs.sap.com/2016/10/10/download-service-master-erp-crm/

20. How to resolve /SAPPSPRO/S_MAT_ENHANC_COMM issue during request download

一個filter引發的奇怪問題: 在調試器裏會觀察到一個奇怪的表:/SAPPSPRO/S_MAT_ENHANC_COMM

https://blogs.sap.com/2016/10/27/resolve-sappspros_mat_enhanc_comm-issue-request-download/

21. Material Sales Organization and distribution channel mapping logic in middleware

ERP和CRM銷售組織和分銷渠道的映射關係:

https://blogs.sap.com/2016/10/28/material-sales-organization-distribution-channel-mapping-logic-middleware/

22. How to download material division to CRM

如何下載ERP物料的division:

https://blogs.sap.com/2016/10/28/download-material-division-crm/

23. Settype CRMM_PR_SALESA attributes mapping logic between CRM and ERP

https://blogs.sap.com/2016/10/28/settype-crmm_pr_salesa-attributes-mapping-logic-crm-erp/

24. Settype CRMM_PR_SALESG attributes mapping logic between CRM and ERP https://blogs.sap.com/2016/10/31/settype-crmm_pr_salesg-attributes-mapping-logic-crm-erp/

25. Product Sales status handling logic in Middleware

物料銷售狀態(Sales Status)的映射邏輯

https://blogs.sap.com/2016/11/01/product-sales-status-handling-logic-middleware/

26. How to resolve error message Parent objects have not been downloaded when downloading a BOM from ERP to CRM

如何處理這個錯誤信息:

https://blogs.sap.com/2016/11/14/how-to-resolve-error-message-parent-objects-have-not-been-downloaded-when-downloading-a-bom-from-erp-to-crm/

27. How to download BOM from ERP to CRM – relationship STRSET or BOMITM

如何下載BOM

https://blogs.sap.com/2016/11/27/how-to-download-bom-from-erp-to-crm-relationship-strset-or-bomitm/

28. Step by step to send IDoc data into external receiver via XIF adapter

IDOC和XIF練習

https://blogs.sap.com/2016/12/23/step-by-step-to-send-idoc-data-into-external-receiver-via-xif-adapter/

29. Settype COM_TA_R3_ID – mapping between ERP Equipment and CRM Individual Object

序列號(Serial Number)知識分享

https://blogs.sap.com/2017/02/08/settype-com_ta_r3_id-mapping-between-erp-equipment-and-crm-individual-object/

30. Another reason that no IDOC is created for BUS_TRANS_MSG although all system configuration are correctly maintained

IDOC排錯案例分享: 銷售訂單成功保存以後,系統沒有自動生成對應的BDOC, 怎麼辦?

https://blogs.sap.com/2017/10/18/another-reason-that-no-idoc-is-created-for-bus_trans_msg-although-all-system-configuration-are-correctly-maintained/

31. BDOC Content Search tool

本身寫的根據關鍵字搜索BDOC的工具,收到一個DBS的同事反饋說頗有用。

https://blogs.sap.com/2017/10/27/bdoc-content-search-tool/

要獲取更多Jerry的原創技術文章,請關注公衆號"汪子熙"或者掃描下面二維碼:

相關文章
相關標籤/搜索