|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Distributing Master Data (Outbound)
function module needs to be defined for each message type. This function module
generates and dispatches the IDOC for the master data. The naming convention for
the function module is MASTERIDOC_CREATE_SMD_XXXXX where XXXXX is the name of
the message type.
function module executes the change pointers and generates IDOC in the following
Read all the changed pointers from change pointer table BDCP
that has not been processed for the message type using function module
– For any new master data
– For any change in master data
– For any deletion in the master data
– If there was no change to the particular segment but the segment have to
be included because hierarchy subordinate segments have to be dispatched
Pass the IDOC to the ALE layer by calling the function
module MASTER IDOC_DISTRIBUTE
For the master data that are processed set the change
pointer status to ‘Processed’ in table BDCP by calling function module
Adding message type to partner profile
Add message type for the master data to
the distribution model and from menu path ‘Environment’ generate partner
Create IDOC from change pointers
Transaction BD21 - Program RBDMIDOC.
SAP includes a scheduled program, RBDMIDOC that runs
periodically to check the change pointers for a particular
message type. RBDMIDOC references the correct IDOC program for any given type
via TBDME, which is maintained through transaction BD60.
the production system, it is obvious that the users will not launch the BD21
transaction by themselves. A periodic job will be scheduled to execute the
RBDMIDOC program, which is actually run by BD21 transaction, with a variant
containing the right message type.
Population custom field for
any modification or population of custom fields in extended IDOC through this
program RBDMIDOC or RDBSEXXX a user exit is available in function module
MASTERIDOC_CREATE_XXXXX where XXXXX is the message type.
Function module MASTERIDOC_CREATE_XXXXX is called from
the function module MASTERIDOC_CREATE_REQ_XXXXX for program RBDSEXXX or
MASTERIDOC_CREATE_SMD_XXXXX for program RBDMIDOC as defined in transaction BD60.
For e.g for message type MATMAS for material download
Function Module: MASTERIDOC_CREATE_MATMAS
USER EXIT: EXIT_SAPLMV01_002
Extended IDOC Field:
Set Change Document Flag on for custom fields
change pointers are to be written for custom fields then the change document
at the domain level should be activated for that field. Then maintain an entry
for this field in transaction BD52. Changes to custom fields will be only picked
if the change document for such fields is maintained in table BDCP.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards