As mentioned in the configuration table of Figure-16, MATMAS iDoc is used for sending information from SAP Material Master to an External system, in this case, to the E-Commerce system.
To start creating those messages, access the screen in Figure-13, then select the Outbound section and, press the icon     to add a new entry.
Figure-17 WE20 Initial Screen for MATMAS Material Master.
The next tab is left unchanged, since iDOC MATMAS is related to master data, it is not necessary to configure any message.
Figure-18 Message Control tab
Figure-19 Post-Processing tab
Figure-20 Telephony tab
Figure-21 EDI Standard tab.
Figure-22 Initial BD64 Transaction Screen: Distribution Model.
Click on  to enter modification mode, then press 
, this will bring up a screen like the one shown in Figure-23.
Figure-23 Screen for creating the Definition of the Distribution Model, transaction BD64.
Next add all the messages from the table in Figure-16; pay attention to the source and target system; for OUTBOUND messages, the Source system is the logical system that belongs to SAP, and the target system must be the E-COMMERCE. To start adding messages to transaction BD64 from Figure-22, press  and then fill in the fields with the following data:
Figure-24 Creating the MATMAS Message type to send Material Master records to ECOMMERCE using transaction BD64.
Continue with a similar procedure for all other messages based on the table of Figure-16, and thus, a Model View is set up for ONIBEX E-COMMERCE B2B DATA MODEL like the one shown in Figure-25.
Figure-25 Messages for Outbound iDOCs in T-Code BD64: Distribution Model.
From this DATA MODEL some FILTERS can be setup in order to discriminate on certain organizational structures and record types. For instance, when opening MATMAS, no filter has been set. To display the filter attributes, press  as shown in Figure-26.
Figure-26 Setting a Filter for the iDOC MATMAS in transaction BD64.
To specify the values for each field, left double-click to enter the screen illustrated in Figure-27.
 
Figure-27 Placing values in the Material Master Filter using transaction BD64.
Notice that ONIBEX takes the HAWA material type from the inventory only.
Finally, send the logs to the target system using transaction BD10 MATERIAL SHIPPING.
Figure-28 Transaction screen BD10 to send Materials to Ecommerce catalog
Click on the tick mark in T-Code BD10 from Figure-28, an iDOC for each material number is generated. SAP shows the following messages to confirm that material information is being sent.
Figure-29 Messages given by the system when processing iDOCs using transaction BD10.
The previous iDOCs in Figure-29 can be viewed from transaction WE02, when marked green, iDOCs were transmitted correctly, as shown in Figure-30.
Figure-30 iDOC Outbound MATMAS processed correctly and viewed by transaction WE02.