How to Trigger IDOC immediately when SAP PO is created or updated ?

Trigger IDOC immediately PO is created or updated is a recurrent requirement for business.
This post will explain the main steps to make it happens.

Trigger IDoc for PO Customizing

Please refer to SAP NACE for more information on NACE Transaction and how to configure an output message.

NACE: Maintain Procedures

The NACE transaction is created to maintain Procedures for output.
Go to Nace Transaction and the application EF for Purchase Order. Open Procedures

NACE PO Trigger IDoc 1

Application in SAP NACE

Here the list of Application available in NACE tcodes:

  • CF Error Control
  • CV Document Management
  • E1 Inbound Delivery
  • EA Purchasing RFQ
  • EF Purchase Order
  • EL Purch. SchAgrRelease
  • ES Entry Sheet
  • EV Purch.Outline Agr.
  • K1 Sales activities
  • M1 Rough Goods Receipt
  • MD Direct Procurement
  • ME Inventory Management
  • MR Invoice Verification
  • NF Nota fiscal
  • P1 Direct Production
  • PA JIT Call
  • RD DBM Automotive
  • RE DBM Putaway Manager
  • RS Automotive
  • RW DI – Warranty
  • V1 Sales
  • V2 Shipping
  • V3 Billing
  • V5 Groups
  • V6 Handling Units
  • V7 Transport
  • VL Visit List
  • WA Allocation Table
  • WB Retail Promotion
  • WE Labeling
  • WN Free Sett. Rel. Del.
  • WR Agency Business
  • WS Free Sett. Agreem.
  • WT Trading Contract

Maintain SAP Message Schemas (SPRO)

Go to transaction SPRO and Message Schema for Purchase Order.
In this, navigate as following:
Materials management > Purchasing > Messages > Output control > Message Determination Schemas > Define Message Schema for Purchase Order

NACE PO Trigger IDoc Define

Select Assign Schema to Purchase Order and make sure the Procedure RMBEF1 ( or the custom Procedure maintained ) is active

NACE PO Trigger IDoc Assign Msg Determination

Maintain Output types (NACE)

Here the step by step to follow to create / configure an Output Types :

  • Go back to transaction NACE.
  • Select ‘EF’ and click on “Output types”. Go to NEU
    • PS: use NEU Output Type or a copy of NEU .
  • Add a new entry in Processing Routines with Transmission Medium EDI
    • We can use the standard program RSNASTED with the form EDI_PROCESSING

NACE PO Trigger IDoc NEU

Maintain Conditions Records for NEU (NACE)

Make sure the partner function is set to LS Logical System and the partner is the Logical System receiver of the Idoc.

Maintain ALE configuration (WE20)

For Purchase Order, the message type is ORDERS and the IDOC Type ORDERS05

NACE PO Trigger IDoc WE20Set Process Code (WE20)

Within the control tab, maintain the process code ME10 with Message Type NEU and application EF

NACE PO Trigger IDoc WE20 Process Code

Behind the Process Code ME10, there is either:

List of SAP Process Code

Here the list of possible value for Process Code in SAP. ( Note that you can create your own Process Code ).

/ISDFPS/ Process Code

Process Code Description
/ISDFPS/ADCompany Addresses Infotype 1952
/ISDFPS/BOMTPLFunctional Location BOM
/ISDFPS/CP01Change Authorization
/ISDFPS/CRE1CREMAS Venddor Master Data ISDFPS with UPS
/ISDFPS/EL01Additional Objects EXPO_LIS
/ISDFPS/EP01Equipment Package
/ISDFPS/FC01Funds Center
/ISDFPS/FL01Functional Locations
/ISDFPS/FO01Structure Element
/ISDFPS/KS01Cost Center
/ISDFPS/MC01Material Container
/ISDFPS/MCMCR1MC -> MPO Relationships
/ISDFPS/MD01Measurement Documents
/ISDFPS/MO01Material Planning Object
/ISDFPS/MOMOR1MPO Relationships (Plants Sections)
/ISDFPS/MP01PM – Maintenance Plans
/ISDFPS/MPL01Master Part List
/ISDFPS/MR01Measuring Points
/ISDFPS/MS01Maintenance Strategy
/ISDFPS/OREL01External Dependency
/ISDFPS/PC01Profit Center
/ISDFPS/PR01Production Resources and Tools
/ISDFPS/RL01Reference Locations
/ISDFPS/SG01Structure Gap
/ISDFPS/TC01Return Messages
/ISDFPS/TL01PM Task Lists
/ISDFPS/VP01Material Package
/ISDFPS/V_SE_EP01Logistics Requirement (Equipment Package)
/ISDFPS/V_SE_MC01Authorized Materials (Material Container)
/ISDFPS/V_SE_MP01Authorized Materials (Material Planning Object)
/ISDFPS/V_SE_VP01Logistics Requirement (Material Package)
/ISDFPS/WC01Work Centers
/ISDFPS/WO01Maintenance Order
Check also   EDI Message Types: List of Main Mapping EDI Code and SAP IDocs

SAP A* and B* Process Codes

Process Code Description
AFSAAFS inbound article
ALC2Synchron. of cust. data between systems (CONDA2)
ALECControl data adjustment between systems
ALFWForward IDOCs to another system
APLIInbound IDoc: Individual Processing
APLMInbound IDoc: Mass Processing
ASMOASSMOD Assortment module
AUD1ALEAUD processing information for IDocs
AUD2ALEAUD Processing Info Data Replication
AUDIT_STATALEAUD IDoc Status Without Statistics
BAPIInbound BAPI IDoc: Individual processing
BAPI_MDMInbound BAPI IDoc: Individual processing MDM Vers.
BAPI_MDM_TAInbound BAPI IDoc: Individual processing MDM Vers.
BAPPInbound BAPI IDoc: Packet processing
BLACBLAOCH Purchasing contract change
BLAOBLAORD Purchasing contracts
BLARBLAREL Release order doc. for purchasing contr.
BNRTBenefits pension schemes
BOM2MDM: Eingang Materialstückliste
BOMDBOMDOC Document structure
BOMOBOMORD sales order BOM

SAP C*, D* and E*  Process Coes

Process Code Description
CATTApplication for Automatic Tests
CHRMCHRMAS Characteristics
CLFMCLFMAS Classification
CMREInvitation to send TR-CM data
CMSEProcessing of sent TR-CM data
CNPMCNPMAS Configuration profile
CO01BBPCO Incoming Invoice
COA1COACTV Cost center/activity type master data
COAFCOAFET Request activity type
COAMCOAMAS Activity type master data
COCOCOCOKA CO object/cost element master data
COELCOELEM Cost elements master data
COG1COGRP1 Cost center groups
COG2COGRP2 Cost element groups
COG3COGRP3 Order Groups
COG5COGRP5 Activity type groups
COG6COGRP6 Profit center groups
COG7COGRP7 Business process groups
COG9COGRP9 Account groups (profit center)
COMM_ITEMCommitment Item
CON1CONF11 Confirmations in CC1
CON2CONF21 Confirmations in CC2 time events
CON4CONF31 Confirmations in CC3 time events
CON5CONF32 Confirmations in CC3 wage slips
CON6CONF41 Confirmations in CC4 time events
CON7CONF42 Confirmations in CC4 wage slips
CON8CONF51 confirmations in CC5 kanban
CONDConditions: Master data for price determination
CONFConfirmation of IDoc processing from application
COPCCOPCPA Costing data CO-PC -> CO-PA
COSFCOSFET Request cost center
COSMCOSMAS Cost center master data
COTOCOTOTL CO totals records
CP00CP…. Profitability Accounting (COPAGN)
CRE1CREMAS Vendor master data
CRE2MDM: Input Vendor from CRM via IS
CREAREMADV Credit Advice
CRECCREADV Credit memo display with clearing FI
CREFCREFET Get vendor data
DEB2MDM: Input Debitor from CRM via IS
DEBCDEBADV Debit display with clearing FI
DEBFDEBFET Request customer master
DEBMDEBMAS Customer master data
DELIDELINS Delivery schedule/JIT delivery schedule
DELODelivery order (MAIS Pick-up Sheet)
DELSDelivery advice (DESADV with DELVRY01)
DEPNDEPNET – Dependency nets
DESADelivery advice (DESADV with DESADV01)
DOC2DOCMAS Documents for MDM
DPODAcknowledgement of Receipt (POD)
ECM2Change Management: MDM Plug-In Version
ECMMChange number
ECMRECMREV : Revision level
ECM_UPSChange Management with UPS
ED00Display IDoc using work item
ED00_XMLDisplay IDoc using work item (XML)
ED01Process incoming inquiry converted 21
ED02Process incoming order converted 21
ED03Process order confirmation converted 2.1
ED04Process purch.ord.chng. converted 2.1
ED05Process shipping notification converted 21
ED06Process invoice receipt MM converted 21
ED07Process invoice receipt FI converted 21
ED08Forward IDoc
EDLNEDLNOT EDL delivery notes
EDX_DELSDelivery advice (DESADV with DELVRY01)
EDX_INVFINVOIC FI Invoice receipt (Financial Accounting)
EDX_INVLINVOIC MM Logistics invoice verification (MM)
EDX_ORDCORDCHG Change sales order
EDX_ORDEORDERS Create sales order
EDX_ORDRORDRSP Purchase order confirmation
EKSEEKSEKS Purchasing doc. for Purchasing Info System
Check also   List of SAP PM Main Tables ( Plant Maintenance ) grouped by PM Topics

SAP F*->Q*  Process Coes

Process Code Description
FI01EDI FI: Incoming invoice (<= Rel. 2.2)
FI04Process reference IDoc for payment
FICHFIDCCH Change to an FI document
FID1FIDCC1: FI entire documents (Exit 003/004)
FID2FIDCC2: FI entire documents (Exit 005/006)
FIDCFIDCMT FI single items
FINSFINSTA Account statement
FMALE_FIFunds Management: Actual IDocs
FMALE_OIFunds Management: Commitment IDocs
FTBAFTDABA: Foreign trade basic data
FTCOFTDACO: Customs conditions
FTCUFTDACU: Foreign trade customs data
FTRCFTRCON Receipt Confirmation for Financial Trans.
GLCOGLCORE G/L core master data
GLFEGLFETC Request G/L accounts
GLMAGLMAST G/L account master data
GSVEGSVERF Credit memo procedure
HRMDHR: HR master data organizational data
HRSMExternal personnel action
HRSM_DExternal personnel action
IMATIMATIS Unplanned material issues
IMEAIMEASR Measurement readings
INFRINFREC Purchase info records
INTUINTUPD Notification (or Task) status update
INVBBBPIV BBP Invoice Verification
INVCINVCON Inventory controlling
INVFINVOIC FI Invoice receipt (Financial Accounting)
INVLINVOIC MM Logistics invoice verification (MM)
INVMINVOIC MM Invoice Verification (Mat. Management)
IOAUIOAUPD Order assignment update
IORUIORUPD Order (or Operation) status update
IV01BBPIV Incoming Invoice
KNOMKNOMAS Global object dependencies
LCROLCROLL Legal consolidation
LIKOLIKOND Listing conditions
LIP0LIP… Distributed IS planning
LPAYACLPAY Accounting invoice receipt
LRECACLREC Accounting invoice
LSTDCurrent requirements/stock list
MAT2MDM: Input Material from CRM via IS
MATFMATFET Request material
MATMMATMAS Material master data
ME01Order Confirmation with ORD_ID01 (ME_ORDRSP)
ORDCORDCHG Change sales order
ORDEORDERS Create sales order
ORDE_BY_WORKFLOWORDERS sales order with texts in Workflow
ORDMORDCHG VMI PO creation confirmation (customer)
ORDRORDRSP Purchase order confirmation
ORDSORDRSP SMI Generate/Confirm Purchase Order
ORDVORDRSP VMI generate/confirm purchase order
PALMPALMAT Plant assignment for material BOM
PCROPCROLL Profit Center Rollup
PEXCPI Incoming Payment Processing Clearing (ERP1.0)
PEXC_PIPI Incoming Payment Processing Clearing (ERP 1.0)
PEXNIHC Zahlungseingangsverarbeitung (ERP1.0)
PEXRIncoming payment processing
PINWHRINW Time tickets from Logistics
PJMMACPJMM Accounting goods movement
PPRSHRPRS Attendances from Logistics
PRACPROACT Customer stock data and sales data
PRCFPRCFET Fetch profit center master record
PRCMPRCMAS Profit center master record
PRDCPRDCAT basic and structure data product catalog
PRDPPRDPOS position data product catalog
PRICATPricing catalog
QCERT_INInbound processing for Qality01
Check also   Add new Font Family to Smartforms in SAP - Step By Step guide

SAP R*->W*  Process Coes

Process Code Description
RCLRRCLROL CO rollup reconcil. ledger
RCY0RCYFET Get recovery objects
RCY1RCYRSP Acknowledge recovery objects
RCY2RCYLST Confirm recovery objects
REMAREMADV Payment advice
REMCREMADV Payment advice with clearing in FI
REQOREQOTE Create customer inquiry
RSINBW: Info IDoc (Status) from Source System
SBAPSD credit memo procedure w. autom. posting (SBWAP)
SBIICredit memo procedure with invoice creation
SDPASDPACK Shipping unit data confirmation
SDPISDPICK Picking data confirmation
SERDSERDAT Control message serialized distribution
SHIPSHIPPL External transport planning
SHPCInbound freight planning of carrier
SHPMInbound transport
SHPTShipment tendering
SISCSISCSO Sales info: Customer order
SISDSISDEL Sales info: Deliver
SISISISINV Sales info: Billing document
SRCLSRCLST Source list
SRVMSRVMAS : Service master (master data)
STA1Status record from IDoc
STA2Status Record from IDoc; with Function Module
STTMSTTMAT material variants
TXT1Text message from IDoc as RAW message
UPSMALE distribution unit (MASTER)
UPSRALE distribution unit (RECEIPT)
VFNMVFNMAS inbound variant function
VTAMVTAMAS Structures from variant tables
VTMMVTMMAS Contents of variant tables
WALRWALREQ Allocation: Requested quant. confirmation
WMBBWMBBIN Lock storage bins
WMCAWMCATO Reversal/Reversal request transfer order
WMI1WMINVE Inventory count input
WMINWMINFO Information
WMMBWMMBXY IDOC Report goods movements in IM
WMPHWMPIHU Assign and Create Pick-HU
WMSUWMSUMO Move storage unit
WMT1WMTORD Transfer request
WMTOWMTOCO Confirm transfer request
WMTRWMTREQ Create/Cancel transfer request
WPUBWPUBON Upload sales documents (uncompressed)
WPUFWPUFIB Upload accounting documents
WPUKWPUKSR Upload cashier data
WPUPWPUPAE Price changes
WPUTWPUTAB Day-end closing POS
WPUUWPUUMS Sales data (compressed)
WPUWWPUWBW Goods movements
WP_EWP_EAN EAN assignments
WP_PWP_PLU Product master
WTYICWarranty: Incoming Applications (IC)
WTYIVWarranty: Incoming Applications (IV)
WVINWVINVE Upload actual inventory count dates


Hi. I have been working as SAP Technical and functional for a decade. Through this blog, I am trying to share with you my experience. Hopefull, it makes your ways easier path ...Sab