Which MATMAS IDoc type to use for integration with S/4HANA?
There is a number of MATMAS IDoc types present in the system, e.g.
MATMAS03, MATMAS04, MATMAS05, etc. Which one to use when you integrate
with S/4HANA system?
Generally speaking you should use the latest IDoc type you have in both sending
system and receiving system. When you send information from good old ERP to a
new S/4HANA system, choose the latest version (with the biggest number) you
have in the ERP system. If you have the following versions of MATMAS:
MATMAS01, MATMAS02, MATMAS03, MATMAS04, MATMAS05, --- choose
MATMAS05.
Integration with S/4HANA as decentralized EWM system
When you follow the HTG guide for decentralized EWM integration, the IDoc type
is chosen for you automatically during execution of the program
/SPE/R_DEC_EWM_REDUCE_MESSTYPE. By default it sets the basic type to
MATMAS03 which is missing the fields like Warehouse material group
(WHMATGR) or Packaging material type (VHART). In case you need those
fields, you should update basic type for the corresponding parner profile and
message type to a higher version like MATMAS05. After this action the
corresponding fields should be filled and distributed automatically.
Use transaction WE20 Partner profiles to perform the update:
- In SAP ERP open transaction
WE20. - Select partner type
LSand partner number corresponding to you EWM S/4HANA system. - Select message type
ZEWMMATMAS, go to parameter details (double-click on the row). - Update the selected basic type
MATMAS03to a higher version, e.g.MATMAS05. - Save.
The same procedure can be used to update message types CHRMAS, CLSMAS,
CLFMAS, ADRMAS, ZEWMCREMAS, ZEWMDEBMAS, BATMAS and MATQM.
Verified systems
- SAP S/4HANA 2021
- SAP ERP 6.0
Provide feedback
If you have comments or suggestions, please feel free to:
- Reply on X/Twitter.
- Leave a comment on our Telegram Channel.