IDoc Part 7: Outbound Triggering — Output Control and Change Pointers
Preview · a free account unlocks the full lesson
Trigger outbound IDocs automatically: output types with medium EDI/ALE (NACE, e. g. BA00 order confirmation, RD00 invoice), process codes like SD10/SD09, change pointers for master data (BD50, BD52, BD61, BD21), and custom outbound FMs with MASTER IDOC DISTRIBUTE.
In this lessonShow sectionsHide sections
Visual overview
Explanation
Part 4 of this series described outbound IDoc processing itself; this lesson explains what actually triggers it.
Transactional documents — orders, deliveries, invoices — send IDocs through output control: an output type with medium 6 (EDI) or A (ALE) leads to a partner profile's message control, which points to a process code, such as SD10 for an order confirmation (ORDRSP) or SD09 for an invoice (INVOIC).
Master data, such as materials and customers, instead sends IDocs through change pointers: changes get recorded, and the program RBDMIDOC (run via transaction BD21) then creates IDocs for the objects that changed. Custom outbound processing uses MASTER_IDOC_DISTRIBUTE followed by COMMIT WORK.
One important trap: if output determination or change pointers simply aren't active, nothing gets sent and no error appears at all — the first places to check are the NAST output log and table BDCP2.
For output control in SD and MM, you configure an output type in NACE — for example BA00 for an order confirmation, LAVA for a dispatch advice, RD00 for an invoice, or NEU for purchase orders — together with condition records maintained in VV11, VV31, VV21, or MN04, using medium 6 (EDI) and a partner function.
The partner profile's outbound side is set up in WE20, combining a message type with the message control tab, which records the application (V1, V2, V3, or EF), the output type, and the process code.
When the document is saved, output is determined into NAST, then processed either immediately or via the RSNAST00 job, and the process code's function module (for example IDOC_OUTPUT_ORDRSP) actually builds the IDoc. The document's own output log, under Extras → Output, shows whether that succeeded or failed.
In S/4HANA, many documents have moved to Output Management built on BRF+, though EDI output still works through the classic output parameters.
Create a free account to keep reading
You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.
- Full explanation
- Code example
- Real project scenario
- Common mistakes
- Best practices
- Interview angle
One tap with Google works too. Every topic keeps its first lesson open to everyone.
Keep exploring
Interview questions on this topic
Related SAP topics
Referenced SAP objects
Reviewed reference pages for the objects this page mentions.
- BD21Create IDocs from Change Pointers
- BD61Activate Change Pointers Generally
- BDCP2ALE Change Pointers (BDCP2)
- VA02Change a sales order
- WE20WE20 Partner Profile Maintenance
- BD52Activate Change Pointers for Message Types
- BD64ALE Distribution Model Maintenance
- MASTER_IDOC_DISTRIBUTEGeneric ALE outbound IDoc distribution function module
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.