Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use SAP CRM External Interface for order synchronization

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)05/31 Report--

Today, the editor will show you how to use SAP CRM External Interface for order synchronization. The knowledge points in the article are introduced in great detail. Friends who feel helpful can browse the content of the article with the editor, hoping to help more friends who want to solve this problem to find the answer to the problem. Follow the editor to learn more about "how to use SAP CRM External Interface for order synchronization".

We will no longer use CRM middleware for internal business processes, such as creating subsequent documents based on service orders.

However, we still want to allow customers to use CRM MW to connect to external systems, such as BW systems or legacy systems (through xif adapters).

Therefore, creating an order messaging BDOC must still be valid, and the data should reach the appropriate adapter correctly.

In particular, I am interested in any direct SELECT statement on the old One Order database table from creating the BDOC to (bw and xif) adapters.

We have compiled a list of all the SELECT statements, but it is sometimes difficult to analyze whether the corresponding code snippets are actually processed in supported scenarios.

It is not clear on which system / client the activation of CRM middleware can be tested.

This is the case with transactional BDFG: it provides the possibility of generating xif IDOC structures based on BDOC structures.

The interface name can be found in the table CRMXIF_BDOCIF.

Outbound plan.

(1) the data changes in the application.

(2) create a mBDoc and pass it to CRM middleware.

(3) CRM MW determines a possible external receiver for the mBDoc and sends the mBDoc to the xif Adapter.

(4) xif Adapter converts mBDoc to class XML or IDOC and starts appropriate basic services (SOAP, ALE), such as sending data objects to external receivers through third-party middleware tools.

Release.

(1) BUS_TRANS_MSG BDOC] (https://ions/thread/2067409https://ions/thread/172785https://p/support/knowledge/preview/en/2343680) did not generate [CRMXIF_ORDER_SAVE IDOC.

# troubleshooting #.

(1) go to t-code R3AC1 and make sure that the object BUS_TRANS_MSG contains the flow from CRM to XIF.

(2) form EDIDC.

(3) FM:SMW3_OUTBOUNDADP_CALLADAPTERS, CRMXIF_ORDER_IDOC_SEND, CRM_STATUS_CHANGE_FOR_ACTIVITY, CRM_UPLOAD_BUS_TRANS_MSG.

(4) TJ07&TJ31: when the status is a user state (TJ31) and a system state (TJ07), judge whether business transactions are allowed or not.

Example: in TJ07, if the system status is I3037, regular business transactions are disabled because of entry 3 in the MODKZ field.

In user interaction terminology, if the system status of a transaction is I3037, the user cannot support editable transactions.

In this case, the user will see that the error "cannot be changed in the document."

Entries in TJ07 can be found in the transaction code BS32.

An interesting discovery.

Recently, the C4C customers I supported asked some questions about integrating C4C and CRM using PI.

After browsing the integration documentation, I know that master data (BP, Product, etc.) and sales data can be copied between C4C and CRM.

The necessary configuration in AG9 is compared to the corresponding configuration in the old CRM system Q0C/304:

WE19 is a testing tool handled by IDOC.

If there is no IDoc in the system, you must create one from scratch with the message type, but if you already have an IDoc in the system, the most convenient way is to use the existing IDoc option.

# Sync

Issue 1-after saving a Service Order in QG3/130, mno BDOC is generated.

Root cause:

# solution

Issue 2-MBOC is generated, but no IDOC is generated.

Problem: there is no error handling in FM CRM_ORDER_SAVE_OW.

Such things are common:

Then debug this FM-it is not executed AT ALL:

In FM: CRMXIF_BT_IO_MAP_TO_DATA

Status of this service order:

However, it is difficult for end users to find out exactly what errors are in WebUI:

You can write a report to remove i1030 and i1056 from CRM_JEST, but I don't think this is the right approach-we have to solve the error state with a solution, which is also feasible for the end user.

# Sync

This is my fault: I am testing a service order that still has the old persistence in Qg3/130: fault: I am testing on a service order which still has old persistence in QG3/130:

After I created a new service order from scratch, the xif Outbound scenario worked very well-the IDOC was successfully generated and sent to the xif site:

I took a quick look at the DB table of all visits tracked by ST05:

You can also find trace files in the following locations:

Thank you for your reading. The above is the whole content of "how to use SAP CRM External Interface for order synchronization". Friends who learn to learn to do it quickly. I believe that the editor will certainly bring you better quality articles. Thank you for your support to the website!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report