6. MATMAS iDoc configuration

6. MATMAS iDoc configuration

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.


Once the appropriate options have been filled in, the next step is to configure the DISTRIBUTION MODEL: this is done in transaction BD64. Accessing BD64 T-Code, a screen like the one illustrated in Figure-22 is shown.


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.




    • Related Articles

    • 7. DEBMAS iDoc configuration

      As per table in Figure 16, DEBMAS iDOCs contain the customers’ master data. Initially, this iDOC is also configured within transaction WE20, Partner Profiles, by adding a new message type as illustrated in Figure-31. Figure-31    Adding the Message ...
    • 10. ORDERS iDOC configuration for Sales Orders

      ORDERS iDOC is used to create a Sales Order. This iDOC is sent as a message to the SAP system from the E-Commerce portal. In SAP, the configuration of ORDERS iDOC begins in transaction WE20, on the Logical Systems part as an Inbound message, ...
    • 12. DESADV iDoc configuration to send Delivery confirmation

      This configuration is done starting out in the NACE transaction and thus, creating a ZDEC message type for V2 application area, as shown in Figure-107. From Figure-108 to Figure-114, the settings for the different tabs comprising this new ZDEC ...
    • 8. Setting up the iDoc to create SD QUOTATIONS

      As a standard, SAP does not support the creation of quote documents within the SD module, therefore, an iDOC Z must be setup based on the basic message type ORDERS05. This type of message is processed by a program (called ...
    • 9. Setting up the iDOC to confirm zQuote creation

      For the E-Commerce portal to find out about the quote number created in SAP, a new custom message called ZQEC needs to be included. An SAP configuration for this new message type "ZQEC" to be activated and generated at the same time a QT quote is ...