◆◆ 0SAP IDOC development portal

1, the basic concept

IDOC technology in the early version of the R / 3 system has been integrated, but the domestic real use up 05 years later, in fact, IDOC is very strong, in the master data and some business data synchronization aspects, almost do not need to do any development on It can be configured, for example BD11, BD13 of these matters is already done.

But the entire configuration IDOC, involving the integration of remote connectivity, ALE, message control, tRFC technology, so from the overall framework to understand the IDOC still take some time.

IDOC supports asynchronous, synchronous, you can collect a certain number of packets sent and then, most importantly, a complete set of IDOC monitoring system and error handling.

IDOC support between SAP Systems Group, the integration between SAP-CRM / SRM / PI and other third-party systems between SAP-

By pre-defined IDOC type, we may be configured to automatically collect IDOC, transmission timing of hanging JOB; messages may also be configured to control, such as purchase order, may be sent out immediately after creation by IDOC.

IDoc technology-based applications are:

ALE (Application Link and Enabling) is designed for between SAP and SAP SAP is designed to integrate middleware, and more for the same data exchange between different SAP enterprise systems, distributed systems created by data IDoc format. ALE from SAP 3.0 version outset as part of the entire SAP application systems, distributed data exchange provides a reliable and secure communication mechanism. ALE designed originally as a message between two processes SAP delivery service, data between SAP and SAP business processes can effectively exchange, provide integrated services to two separate SAP system. But with the development of applications, ALE interface mechanism has become the standard way to integrate other non-SAP systems.

EDI (Electronic Document Interchange, Electronic Data Interchange) is actually electronic data format standard for the communication network exchange business documents between business partners use. In this way you can understand EDI, that everyone in the same place the data into a data arranged in a document, and the same arrangement parse the document to obtain the desired content. EDI also called the paperless exchange.

IDoc (Intermediate Document, transit documents) is a system provided by SAP to integrate specialized data / news format, it is to be exchanged via ALE way, while SAP is the IDoc provides EDI support, you can also IDoc considered an implementation of EDI .

IDoc transaction codes are more commonly used words not remember, but SAP IDoc provides essentially all matters related to code a transaction code listed, namely Wedi , results are as follows:

2016-08-26_10-19-46

2, the exchange process

EDI exchange two processes:

Outgoing (Outbound process or simply OP)

Receiving (Inbound process or simply IP)

SAP is also fully compliant with the EDI of these two processes, and made a corresponding implementation. Outgoing procedure:

  1. Application documents are created
  2. IDoc generation
  3. IDoc transferred to the operating system from SAP
  4. IDoc EDI standard format is converted into
  5. EDI files are transferred to business partners at the (so business partners can no SAP, because EDI is standard)
  6. EDI subsystem state is transferred return to SAP

During reception:

  1. EDI document is received
  2. EDI documents are converted to IDoc
  3. Layer transferred to the SAP IDoc
  4. Application documents created in SAP
  5. Application documents are now available for browsing

3, Process code

Process code setting processing code (WE41, WE42, WE40, WE64)

Processing code for determining a data writing or handling IDoc read from the IDoc, processing code corresponds to a specific function module or workflow. Partner Parameter inbound and outbound processing may be specified in processing code

142100254646826

142100283396581

4, IDoc features

IDoc are each assigned a unique number, for tracking and later with reference to

IDoc comprises a plurality of segments (segment), and the inner section comprises a plurality of fields

IDoc comprises three types of records: a control record, one or more data records, the one or more status records

142100537765976

IDoc type: IDoc structure, different business objects correspond to different SAP IDoc type (s). IDoc type defined hierarchy and order of the data segment and the data segment

142100567619932

SAP IDoc type system provides a standard known as the base type (Basic type), which can be adjusted by IDoc type extension (Extention), i.e. to add new data segment on the basis of the SAP IDoc type structure or adding a new field in the data segment

IDoc Definition and extension (WE30)

2016-08-26_10-42-33

The following FIDCCP01 IDoc type corresponds to a business object: Document accounts ( the FI the Document):

2016-08-26_10-43-36

5, port (Port)

Ports for outgoing flow, it is judged that the EDI subsystem program name, IDoc transfer files to a directory of the operating system, the file name and RFC destination IDoc

Tcode:WE21

2016-08-26_10-39-44

6, RFC destination

Is used to define the characteristics of the remote system communications connections and what function to call

TCode:SM59

2016-08-26_10-46-43

7, Partner Profile

Partner Profile specifies various types of outgoing component used in the process (business partner number, the IDoc type, message type, port, process code, etc.), communication (synchronous or asynchronous), and when an error notification who

Tcode:WE20

2016-08-26_10-37-20

8, message type

Related Tcode we81, create a message type

2016-08-26_11-14-12

 

WE82, message type and connection type IDOC

2016-08-26_11-13-00

. 9,  the IDoc type definition correlation function

In addition to the definitions IDoc type tools, SAP is also provided with a series of related data segments and IDoc type developed functional modules

Function Group EDIM the SAP IDoc internal function means for operating the basic types and extensions:

142101178233830

SE80:function group EDIM

2016-08-26_10-49-57

10, IDoc other tools

WE02: IDoc display tool

WE09: without knowing the technical details IDoc type, parameters, etc. partners sometimes can not control information recording IDoc determined a IDoc, as required in the application data contained therein by determining a case where the IDoc. For example, a purchase order containing materials need to find the A001, then you need to find tools IDoc, the tool can already find the database and archive the IDoc

142101298863979

the above.

Guess you like

Origin www.cnblogs.com/lvdong18847870057/p/12550771.html