RBDSEMAT or RBDMIDOC for MATMAS IDoc

Client want to create an IDoc when material create or change using MM01/MM02.

Have made all the necessary settings to create an IDoc. But which program should I use to generate an IDOC ?

Is it RBDSEMAT (BD10)  or RBDMIDOC (BD21) ?

Answer

RBDSEMAT - Standalone program to generate IDocs (Send Material)

RBDMIDOC - Outbound triggered from change pointer

You can use standard program RBDSEMAT (BD10) to send IDoc for particular material by specifying material number only.

RBDMIDOC is used for creating IDOCs based on change pointers. RBDMIDOC is usually automatically executed in the background.
 
 

What is RBDMIDOC? 

Answer

The purpose of RBDMIDOC program is to create/collect IDOCs for specific message types from the Change Pointers.

Depending on the message type, the program RBDMIDOC creates the master IDocs and passes them to the ALE layer for dispatch.

For this you should use program RBDMIDOC. RBDMIDOC is usually automatically executed in the background. A background job should be scheduled for each message type.

Depending on the settings in the partner profiles, it may be necessary to send IDocs directly by executing the program RSEOUT00. The background job that executes the RBDMIDOC can do this in a second step.

Writing Change Pointers

If the fields are required for distribution, the SMD tool writes change pointers and stores them in the BDCP and BDCPS tables. Change pointers are basically the key fields of the table that contains the changed field. In ALE Customizing, customers can specify the fields that need to be distributed.

Change pointers are created only if both ALE and the message type are active.

Sending Changes

To distribute changed master data change pointers have to be processed. Depending on the message type, the program RBDMIDOC creates the master IDocs and passes them to the ALE layer for dispatch.

For this you should use program RBDMIDOC. RBDMIDOC is usually automatically executed in the background. A background job should be scheduled for each message type.

Depending on the settings in the partner profiles, it may be necessary to send IDocs directly by executing the program RSEOUT00. The background job that executes the RBDMIDOC can do this in a second step.

Notes:

When creating a master IDoc ensure that:

  • The master IDoc contains all the IDoc segments, whose fields have changed.
  • The master IDoc contains all the mandatory IDoc segments.
  • The parent segments of these segments are dispatched.
  • IDoc segments are sent complete, in other words, data must be entered in all fields.

SAP BC Tips

See Also

Get help for your Basis problems
Do you have a SAP Basis Question?

SAP Basis Admin Books
SAP System Administration, Security, Authorization, ALE, Performance Tuning Reference Books

SAP Basis Tips
SAP BC Tips and Basis Components Discussion Forum

Administration In SAP - Sapgui, Unix, SAP ITS, Router, Client Copy and IDES 

Main Index
SAP ERP Modules, Basis, ABAP and Other IMG Stuff

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.