Jerry的CRM Middleware(中介軟體)文章合集

i042416發表於2018-02-10

我在SAP成都研究院做過的CRM中介軟體的專案其實並不是很多:

1. 2013年下半年和2014年上半年曾經支援過中聯重科和蒙牛的CRM專案相關的中介軟體問題;

2. 2014年上半年做過一個CRM物料主資料的中介軟體開發專案;

3. 2014年負責CRM物料主資料的維護工作。

這個列表裡所有的文章都是我在實際開發或者專案過程中遇到問題後記錄下來的心得。2013年直到清明節前,我其實對CRM中介軟體是一點都不瞭解的,但是我的老闆Poseidon讓我把這一塊的知識空缺補上,因為將來成都團隊需要負責中介軟體這塊的維護和持續開發。

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

於是2013年清明節的時候,我把CRM物料主資料這個模組收到的SAP內部測試人員報的所有的tickets搜尋出來學習了一遍,一共有200多個。有25%的tickets是因為測試人員的配置不正確造成的。我藉此又積累了一些如何處理形如"如果遇到XXX的錯誤訊息, 可能是因為YYY配置出錯造成"這類問題的經驗。 當我把所有內部tickets過了一遍之後,對中介軟體的框架程式碼有了一定的瞭解,成為寫下列這些文章的基礎。

我遇到使用中介軟體時報錯誤資訊的這類問題,分析過程也就下列兩種辦法:

1. 根據錯誤資訊的technical資訊作為關鍵字去Google或者SAP Community上搜尋。如果別人也遇到過同樣問題,那就能節省很多debug時間。

2. 自己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。

Jerry的CRM Middleware(中介軟體)文章合集

除錯的關鍵在於找到針對這三種可能性的除錯入口,即在哪裡設定斷點。下面我的原創文章裡有講述。

點選文末的"閱讀原文", 即可在新開啟的頁面裡透過點選超連結直接跳轉到對應的文章。

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的處理方法:

Jerry的CRM Middleware(中介軟體)文章合集

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

Jerry的CRM Middleware(中介軟體)文章合集

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依然得以保持

Jerry的CRM Middleware(中介軟體)文章合集

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哪張表裡儲存的。

Jerry的CRM Middleware(中介軟體)文章合集

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資料庫表

Jerry的CRM Middleware(中介軟體)文章合集

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

如何處理這個錯誤資訊:

Jerry的CRM Middleware(中介軟體)文章合集

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

如何處理這個錯誤資訊:

Jerry的CRM Middleware(中介軟體)文章合集

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):

Jerry的CRM Middleware(中介軟體)文章合集

這篇文章介紹如何分析引起等待狀態的原因。

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

如何處理這個錯誤訊息:

Jerry的CRM Middleware(中介軟體)文章合集

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

如何處理這個錯誤資訊:

Jerry的CRM Middleware(中介軟體)文章合集

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:

Jerry的CRM Middleware(中介軟體)文章合集

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)的對映邏輯

Jerry的CRM Middleware(中介軟體)文章合集

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

如何處理這個錯誤資訊:

Jerry的CRM Middleware(中介軟體)文章合集

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/

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

序列號(Serial Number)知識分享

Jerry的CRM Middleware(中介軟體)文章合集

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/

  1. BDOC Content Search tool

自己寫的根據關鍵字搜尋BDOC的工具,收到一個DBS的同事反饋說很有用。

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

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


Jerry的CRM Middleware(中介軟體)文章合集
Jerry的CRM Middleware(中介軟體)文章合集

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2151012/,如需轉載,請註明出處,否則將追究法律責任。

相關文章