Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

In DOM (or EOM) scenario, no IDOC is generated for XIF_IDOC site type

Hi friends,

I have a problem with an XIF_IDOC site in the Distributed Order Management (DOM).

We are using DOM scenario to separate and distribute CRM sales order

items to different sites. Under the tcode SMOEAC, I defined a new site

called "EKSIRLANDA" whose type is external interface for IDOC

(XIF_IDOC). I made a subscription of "DOM items" (DOM Order Split

(MESG) ) for the EKSIRLANDA site. After that, (under the tcode WE20) i

defined EKSIRLANDA logical system partner profile with the outbound

message type "CRMXIF_ORDER_SAVE_M". I saved a new order under the tcode

CRMD_BUS2000115, but no IDOC generated. After checking all the related

customizing and the CRM_DOM_ITEM_DISPATCH method implementation of

CRM_DATAEXCHG_BADI everything seemed all right. By the way, we are

using CRM_DATAEXCHG_BADI badi to separate the related items to the

related sites. Anyway, i added another subscription called "All

Business Transactions (MESG)" to the EKSIRLANDA site and saw that 2

IDOCs are generated. I investigated those 2 IDOCs. One of them is what

i want. In other words, it contains only the related order items that

are separated from the others in the CRM_DATAEXCHG_BADI

(CRM_DOM_ITEM_DISPATCH method). The other IDOC contains all the order

items. I do not want this second IDOC. If i remove "All Business

Transactions (MESG)" subscription and leave the "(DOM Order Split

(MESG)" subscription alone, no IDOC is generated. This is the problem.

Why does not "DOM Items" subscription alone generate any IDOCs? IDOC

settings are not wrong because when i add "All Business Transactions

(MESG)" subscription to the EKSIRLANDA (XIF_IDOC) site, the IDOC is

generated, but this time an extra IDOC containing all the items is also

generated. What is the problem?

Thanks in advance for your help.

Mehmet Karasu

Tags:
Not what you were looking for? View more on this topic or Ask a question