SAP 消息控制
来源:互联网 发布:mac安装win10重启黑屏 编辑:程序博客网 时间:2024/06/12 22:18
SAP消息也是这样,你可将所有能忽略的消息ignore .
从是否允许你configure层次分两种: configurable和non-configurable.
对configurable message可选的message type通常有S, I, W, E, A,-
I:信息窗口W:警告E:错误S:成功A:终止程序或Tcode X:未知.
(online表示即时output message -表示switch off message继续做后面工作 batchi表示做batch input时).
就是说对configurable message SAP允许你设置它是Error, warning或者switch off干脆忽略,通常这些个错误不至于引起致命的系统逻辑错误.
一.基本概念
你可简单理解为消息是SAP为exception预警的一种手段.
Application area:告诉你消息归属,分类吧.其实就是SE91所说的Message class
二:消息相关最常用的table:
T100: SAP default
T160M :Message Control: Purchasing (System Messages)
T100C: User_defined messaeg mainly for FI
TVGMS: View Control
T100S: Configurable system messages
T100W: For Workflow
T100U: 最后更改消息的user table
T5CBN: PC Operation Conditions
-------------------------------------------
需要指出的是你必须注意做重要的三个表
T100:包含所有的message
T100C:你定义的message通常将出现在此表
T100s:Configurable system messages顾名思义就是你能设置的消息.
比如OBA5你想设置F5 060消息,这个是FB50在balance<>0你想强行save弹出的,在T100s
中你将看到F5 060不在其中,因为这是将影响财务的致命错误,当然OBA5是不允许你去设置的.
**欺骗SAP使用OBA5强行Switch off F5 060.
-----------------------------------------------------
三.建立查询消息.
T-code:SE91
你可为自己的程序和Enhancement编写消息.
通常在程序中你能看到类似.
然后就是提示. 然后去读T100C 用户自定的messge type(Error,warnig, error0决定是否继续work.
四.设置消息(这个应该对大家有点用处)
相关T-code:(**很多是雷同的)
FI 部分:
OBA5:FI messge
BD60:Additional data for message type
OFMG:FOr FM Message
O04C:PI: Message Control Purchasing
OFPM:Change Message Control
OMPJ:Reqmts Type Message Control
F00-->***这个是send office message
KD99:setup message
KDNN:Setup messaeg
MM-PUR部分:
O04C:For purchase
OKZZ:Invoice Verification/Valuation
OMCQ :可以设置下面四个工作区消息
M7 Inventory Management and Physical Inventory
MIGO Inventory Management: Interface
OM Customizing: Materials Management
12 Production date/shelf life expiration date/batches
CO部分:
OPR4_ACT Multilevel Actual Settlement
OPR4_CK Material Cost Estimate
OPR4_CKML Closing and Calc. of Periodic Price
OPR4_CKPF Price Update
OPR4_KKA WIP Calculation
OPR4_KKP Repetitive Mfg and Process Mfg
OPR4_KKS Collective Processing: Variances
OPR4_KKS1 Individual Processing: Variances
OPR4_PPCO Production Order: Cost Calculation
OPR5 Definition of Error Mgmt IDs (SAP)
OPR1 Area of Responsibility <-> Message
OPR3 Definition of Breakpoints
OPR6 Definition of Object IDs (SAP)
OPR7 Def. of Areas of Responsibility
OPR8 Def. of Minimum Message Types (SAP)
OPR9 Def. of Reference Objects (SAP)
OPRCMFE User-Defined Messages
SD部分"
OVAH
------------------------------------------------------------
SAP允许用户修改的消息都save在T100S中,你配置后的消息从T100C可看到
但是如果我将不允许的消息强行coding塞进去,会有什么后果呢?
-------------------------------------------------------------
***严格地将下面的T-code多是设置output打印的.
M/30 Maintain
M/32 Maint.
M/34 Maintain
M/36 Maintain
M/38 Maint.
M/40 Maint.
M/42 Maintain
M/48 Maintain Access Sequences: RFQ
M/50 Maintain Access Sequences: PO
M/56 s: Create Cond. Table: RFQ
M/57 s: Change Condition Table
M/58 s: Display CondTab: RFQ
M/59 s: Create CondTab: Pur. Order
M/60 s: Change CondTab: Pur. Order
M/61 s: Disp. CondTab: Pur. Order
M/62 s: Create CondTab: Del. Schd.
M/63 s: Change CondTab: Del. Schd.
M/64 s: Disp. CondTab: Del. Sched.
M/65 s: Create CondTab: O. Agmt.
M/66 s: Change CondTab: O. Agmt.
M/67 s: Disp. CondTab: Outl. Agmt.
M/68 Maintain
M/70 s: Create CondTab.: Entry Sh.
M/71 s: Change CondTab.: Entry Sh.
M/72 s: Disp. CondTab.: Entry Sh.
M/73 Maintain Access Sequences: Entry
M/74 Maintain Access Sequences: Entry
M/75 Maintain s: Serv. Entry Sheet
M/76 Display s: Entry
M/77 Maintain
M/78 Disp.
M/N1 Maintain accesses (fr.gds - purch.)
五.重置警告消息.
将消息warning change to display显示.
MSW1
MSW2
六附录: Message_related tables:(部分)
T100: All message
T100A:
T100C:
T100O: Assignment of
T100S: Configurable system s
T100SA: Application Areas for Configurable s
T100U: Last person to change s
T100V: Assignment of s to tables/views
T100W: Assign s to Workflow
T100X: Error s: Supplements
T139A: Exception s: Period Closing Program
T139B: Exception s: Period Closing Program
T159F: MMIM: Error s Resulting From Blocked Objects
T160M:
T160MVAL:
T161M: Fine-Tuned Control:
T161N:
T321K: Definition of Accumulated s to HOST (R/2)
T323P: Parameters for Generating Logs and Mail s (R/2->R/3)
T440F: Exception s for the forecast
T458A: Exception s in Material Requirements Planning
T458B: Description of exception s
T458C: Selection Group for Exception s
T555E: Time Evaluation s
T5CAR:
T5CBN: s for PC Operation Conditions
T5D5D: Supplementary Benefits for Civil Service:
T5D5E: Supplemenary Bens. for Civil Service:
T5E31: Actions and situations for registration s
T5F6N: Global Error s.
T5F6NN: Communication of Error s (ADP Interface)
T5MP1: General s for the PBS Remuneration Statement
T5QGM: Payroll Highlight s Australia
T5QGT: s Area Check Table Australia
T5QSM: Superannuation Highlight s Australia
T5S0S: s for sickness administration (SE)
T5V5M: s sent electronically to AA-registeret
T5V7B: s sent to employees/emplyoers register
T7NZGM: Payroll Highlight s NZ
T7NZSM: Superannuation Highlight s NZ
TA20PPZ:
TA20PPZ1:
TA22RSF: START: Error s
TA22RSF1: START: Error s (Language-Dependent)
TAFWD: CORU: s that are not interpreted as errors
TBD05: Distribution model for