Recap
Message Control
1. 2. Benefits and usage Message Control Architecture
Questions
Slide 2
Topics to cover
How to Write ABAP Programs for ALE/IDoc 1.
2. Outbound Inbound
Slide 3
Scenarios:
1. Programs for custom IDocs
Outbound IDoc from Message Control Outbound IDoc from stand-alone programs Outbound IDoc from Change pointers
2. 3.
Slide 4
Application document
RSNASTED
Call to program
IDOC_OUTPUT_<MESSAGE TYPE>
Message Processing
IDOC_OUTPUT_<MESSAGE TYPE>
*" EXPORTING
*" TABLES
Slide 6
A Stand-Alone program to generate IDocs StandApplication Application Posting Stand-Alone Program Document Selection Foramt Application data to IDOC data Application Document Call to MASTER_IDOC_DIST RIBUTE Commit
IDoc
Slide 7
Slide 8
MASTERIDOC_CREATE _SMD_<MT>
Analyze change pointers Determine Document Key Format Application data to IDoc data Call to MASTER_IDOC_DISTRI BUTE
MASTERIDOC_CREATE_SMD_ <MT>
IDoc
Slide 9 ABAP | Confidential | ALE For ABAPers .ppt | 2/14/2012 Copyright IBM Corporation 2009
Example : RBDSEMAT
Commit Work
Unlock IDocs
Slide 11
Slide 12
Outbound IDoc Processing: A user exit is available after each segment is populated A user exit is also available after the system populates the control record information A user exit is also available after the system has completely filled out the control and data records
Inbound IDoc Processing: A user exit is available when a customer segment is encountered A user exit is also available after the system populates the status record and is about to return the control back to the ALE layer
Slide 13
Slide 14
Questions
Slide 15