Academy · EDI & B2B Integration · 300 Professional
IDoc Extensions and Enhancements: Custom Segments and Extension Types (WE30, WE31, WE82)
When a partner needs a field SAP does not send, teams extend the IDoc. This course covers the extend-or-map decision, custom segments in WE31, extension types in WE30, wiring them with WE82, WE20 and WE57, filling and reading them in customer exits such as MM06E001, LVEDF001, V56K0001, MRMH0002 and VEDA0001, and clean-core guidance on keeping extensions small, documented and regression-tested.
- 44 minutes
- 6 lessons + quiz
- Integration Specialist, ABAP / RAP Developer, Tester / Test Analyst
What you’ll be able to do
- Decide when an IDoc extension is needed versus mapping in middleware
- Create a custom segment in WE31 and an extension type in WE30
- Assign the extension to the message type and partner profile (WE82, WE20)
- Populate or read extension segments through the customer exits of the IDoc function modules
- Regression-test an extended IDoc after upgrades and support packs
Sources and further reading
- Enhancing an IDoc Type (checklist), SAP NetWeaver 7.5 · SAP Help Portal
- Basic Type, Enhancement, IDoc Type, SAP NetWeaver 7.5 · SAP Help Portal
- IDoc Type Editor (WE30), SAP NetWeaver 7.5 · SAP Help Portal
- Segment Editor (WE31), SAP NetWeaver 7.5 · SAP Help Portal
- Combining Segments, SAP NetWeaver 7.5 · SAP Help Portal
- Enhancing Outbound Function Modules (MM06E001 example), SAP NetWeaver 7.5 · SAP Help Portal
- Enhancing Function Module Assignments (Direct Inbound, WE57), SAP NetWeaver 7.5 · SAP Help Portal
- Invoices Received via EDI (MM-IV), SAP S/4HANA 2025 (MRMH0002) · SAP Help Portal
- Changing Partner Profiles (Outbound) for an extended IDoc type, SAP NetWeaver 7.5 · SAP Help Portal