SAP IDOC 处理

更新时间:2023-05-07 08:48:37 阅读: 评论:0

什么是IDOC,以及IDOC的步骤
创建IDOC:
   第一步:WE31 创建IDOC所包含的字段.
   第二步:WE30 创建IDOC Segment分配给IDOC
   第三步:WE81  创建信息类型
   第四步:WE82   IDOC类型与信息类型对应.
   第五步:WE57 Assign Message & Idoc Type to a Function Module for Data Process
   第六步:SM59 Define a RFC connection for Idoc transfer
  第七步:WE21 Define a Port ( Assign a RFC destination which created in SM59 )
  第八步:WE41/42 Creat Process Code
   第九步:WE20 Define a Partner Profiles( Also creat a Outbound parameters with Port, or Inbound parameters with Process code )
管理IDOC:
   WE02   显示IDOC,可以根据时间,IDOC类型查找IDOC,查看成功,出错信息。
   WE46   IDOC管理(\)
   WE60   IDOC类型文档(可以查看IDOC结构,和每个字段的描述.
  WE19  根据IDOC号进行IDOC处理,可以修改IDOC值进行补发动作,处理分为内向和外向。
消息配置:
    WE20 配置伙伴消息进和出IDOC类型
    WE21 配置伙伴。
官方介绍:
 
What is a IDOC?
An IDoc is simply a data container that is ud to exchange information between any two process that can understand the syntax and mantics of the data. IDoc is not a process.
-        IDocs are stored in the databa.
-        In the SAP system, IDocs are stored in databa tables.
-        IDocs are independent of the nding and receiving systems.
-        IDocs are independent of the direction of data exchange.
 
An IDoc Type is SAP's format for data being moved between applications. Esntially, SAP has defined what a sales order, financial statement, invoice, etc will look like electronically. This includes how fields are grouped together (gments), the order and hierarchy of the groupings, and the format of each individual field.
If you're familiar with EDI at all, then an IDoc will look very familiar to you. Nearly everything you're ud to is there: from gment name to allowable codes to min/max occurs.
It is important to note that an IDoc Type is really just a structure defined on the system and given a name (i.e., ORDERS04). An actual IDoc, however, consists of data, which fits within the defined structure of the IDoc Type. This IDoc is identified by a number rather than by a type.
Creation of IDOCs
Transaction code: WE 30
Steps of Defining Segment
Creating Segment : Tcode - WE31
Creating Message Type : Tcode - we81
Assigning Message type to Idoc type: Tcode - we82
Process
The two process for IDoc are Outbound Process and Inbound Process.
 
Outbound Process
When the data is nt out from the system, the process is called Outbound Process and the IDoc is known as Outbound IDoc.
 
Inbound Process
When the data is coming in, the process is called Inbound Process and the IDoc is known as Inbound IDoc.
 
Outbound Process (Sending System) Steps :
1) Goto Tcode SALE:
 Creating the logical system
Click on Sending & Receiving Systems à Select Logical Systems--Here Define the Logical Systems à Click on Execute Button
Go for New Entries
1)  System Name : LOG1:Description: Sending System
2)  System Name : LOG2:Description: Receiving System
Press Enter & Save it will ask for Request if you want new request create new request or press continue for transferring the objects.
Assigning Client to the Logical System:
Select Assign Client to Logical Systems -
Client                  : Sending System
Logical System    : LOG1
and also
Client   : Receiving System
Logical System    : LOG2
Save this Data.
 
Step 2) For RFC Creation:
 Goto Tcode SM59 and  Select R/3 Connects
Click on create Button
RFC Destination Name should be same as partner's logical system name and ca nsitive to create the ports automatically while generating the partner profiles
Give the information for required fields:
RFC Destination    : LOG2
Connection type    : 3
Target Host            :
System No              : 00
Client                      : 210
Ur                        : Login ur name
Password                :
Save this & Test it and Remote Login
Step 3) Goto Tcode BD64: 
 Click on the change button>Click on the create model view
Short Text: model view
Technical Name: LMOD
Save this & press ok
Select just created model view
Name: "LMOD"
Goto add message type
Model Name  : LMOD
Sender          : LOG1
Receiver         : LOG2
Message type: ZAZHARMESS
Save and press Enter.
 
4) Goto Tcode BD82:
Give Model View  : LMOD
Partner system     : LOG2
Execute this by pressing F8
It will gives you nding system port No:  A00000000089 (Like)
 
5) Goto Tcode BD64:
Select the model view

本文发布于:2023-05-07 08:48:37,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/78/546921.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:类型   信息   处理   字段   动作   分为   配置   官方
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图