Beruflich Dokumente
Kultur Dokumente
Day 1
Brief introduction on Idoc Development of Segments, Idoc Types, Extensions and Idoc enhancements Idoc views, Message type attachments Configuration steps for ALE/EDI
Exercise
Creation of Segments, Idoc types, Extension types Custom Idoc creation and Extension Idoc data population Configuration steps
Day 2
Filters, Conversion Rules, Reduction of Message type, Change Pointers Introduction to EDI Mapping documents and TDS Idoc trouble shooting
Exercise
ALE filters, conversion Rules and Reduction Message type Sample EDI Mapping document of 850 and 855 (Outbound and Inbound)
IDoc Structure
Control Record
IDoc-ID Sender-ID Receiver-ID IDoc type and logical message External structure IDoc-ID Sequence/Hierarchy Segment Format definition for
header data item data
Data Record
Status Record
IDoc Types
Data
MM SD ...
Inbound
Application
Message Control
Workflow
IDoc
System 2
e.g. EDI subsystem
System 2
e.g. EDI subsystem
SAP Application
10 30 40 03 02 22 18 20 14 16 31
Copyright 2004 Deloitte Development LLC. All rights reserved.
09
41
12
11
15 17
64 66
Notifications from the EDI subsystem prior to IDoc creation, can be received via message TXTRAW.
62
63
52
51
53
68
10
IDoc Development
ut O
nd ou
Pr
s es oc
IDoc Type
Segment
b In
Segment Name
nd ou
Pr
s es oc
Segment Type
IDoc Interface
D
Copyright 2004 Deloitte Development LLC. All rights reserved.
r St ata
t ur uc
13
Definition: IDoc Type Basis Type = IDoc Type Basis Type Extension IDoc Type
+ =
14
Advantages of Extensions
16
17
Description
Character String Client Currency Key, referenced by CURR fields Date Field ( YYYYMMDD) stored as char(8) Language Key Character field with only digits Time Field (HHMMSS), stored as char(6)
Fields should be left aligned. Character fields are automatically left aligned, but number values when assigned to a character field are padded with spaces on the left. These spaces must be removed from the fields programmatically using the condense command. Data is not case sensitive. Negative values are indicated by a minus sign after the value. Therefore 123 is written as 123-. Numbers with fractional values use a period to represent the decimal point. Floating-point numbers also use a period to represent the decimal point. No formatting is used to separate values in the thousands. E.g 29,000.00 29000.00
18
Create Segment
19
20
IDoc Views
IDoc types can be used for more than one message, that is, for more than one business process. As a result, the IDoc types usually contain more segments than necessary for the individual application cases. To improve performance when generating IDocs, you can use views to ensure that only the segments relevant to the current business process are filled with data. Views are therefore only important for IDoc outbound processing.
1. WE32 View Development 2. Enter a name for the view and choose Create button 3. Assign a message type (logical message) and a basic type to the view (the assignment of an extension to the view is optional). His assignment is checked in the partner profiles 4. Position the cursor on a segment, which is to be included in the view. 5. The following segments must be included in the view 1. Qualified Segments 2. Mandatory Segments 1. Save your entries. 2. In the Partner profiles, enter the view for the corresponding combination of partner and message.
21
Segment groups are formed as logical units from segments. IDoc types are derived from segments and segment groups.
Tehy are the data structure of an application document for the transmission.
22
23
25
Headquarters
Accounting Central purchasing Purchasing Information System
Contract/change Change Release order statistics Purchasing Information System FI document FI rollup
PRODUCTION
Local purchasing Invoice verification
26
Generate IDocs
Change documents
Change pointers
27
Useful TCodes
Main Menus WEDI BALE SALE NACE Main menu for EDI-related activities Main menu for ALE-related activities. Main menu for ALE configuration. Main menu for Message Control configuration
IDoc Definition SE11 WE31 WE30 BD53 WE60 WE61 Data Dictionary Segment Editor IDoc editor to create and extend IDoc type Reduce IDoc for master data IDoc documentation (IDoc structure and segment definition) IDoc Documentation (control record, data record, and status records)
IDoc Monitoring WE02 WE05 WE07 IDoc Display IDoc Lists IDoc Statistics
29
Configuration (Basic Infrastructure for ALE & EDI) Maintain partner profile manually WE20 BD82 WE21 SM59 BD64 BD71 Generate partner profiles automatically Port Definition RFC Destination Maintain customer model Distribute customer model
Reprocessing IDocs Process outbound IDocs BD88 BD87 Process inbound IDocs
Configuration of New IDoc Components Create new message type WE81 WE82 WE41 WE42 WE57 BD51 BD67 Link IDoc type and message type Create outbound process code Create inbound process code Allocate inbound function module to message type Define settings for inbound function module Assign input methods for a process code (inbound)
Testing WE19 WE12 WE16 WE17 Test tool for IDocs Convert an outbound to inbound IDoc. Process an incoming IDoc file Process an incoming status file
30
Questions
31