80. Oracle 8.1.7 sap46C用<SID>adm登录svrmgrlconnectinternal__select_ * from sapr3.usr02 where bname=’SAP*’ andmandt=’000’;__delete from sapr3.usr02 where bname=’SAP*’ andmandt=’000’;commit;
Oracle 9.2.0 SAP 4.70
<sid> 是实例名,如PRD,C11等sqlplus/nologconnect / as sysdba*本句用来,查询一下,是否有此记录。正常情况下,显示: 1 row(s)_selected. */__select_ * fromsap<sid>.usr02 where bname=’SAP*’ andmandt=’000’;__delete fromsap<sid>.usr02 where bname=’SAP*’ andmandt=’000’;commit;
DB2
<SID>是数据库名<sid> 对于4.6C 为 r3 对于4.70 为<sid>数据库名(小写)
db2 => connect to<SID>db2 => __select_* from sap<sid>.usr02 wherebname=’SAP*’ and mandt=’000’1 record(s) _selected.
db2 => __delete fromsap<sid>.usr02 where bname=’SAP*’ andmandt=’000’DB20000I The SQL command completed successfully.db2=> commitDB20000I The SQL command completedsuccessfully.
MS SQL 2000
打 开MS SQL Enterprise Manager,从菜单[工具]中,选查询分析器<sid> 46C 是r3或是 空(没有的),大伙可以自己测试一下。470是系统名
__select_ * from <sid>.usr02 whereBNAME=’SAP*’ and MANDT=’000’;__delete from<sid>.usr02 where BNAME=’SAP*’ andMANDT=’000’;commit;
重新用sap* 口令pass登录就OK了。
81.Q: 定价/EURO: 注意: EURO 定制未维护
A: EWCF
Using EWCF (Confirm Euro currency Customizing)
82.配置中英文输入。
83.Q: 在va01保存订单时,提示“Runtime error "MESSAGE_TYPE_X" occurred”
Short text of error message:
Maintain current CRM release (table CRMPAROLTP)
Technical information about the message:
Diagnosis
When transferring R/3 sales orders to CRM, various transfererrors
occur, or when transferring from CRM to R/3 there are noincorrect
status updates in CRM or only one. The reason for this is thatan
incorrect entry for the CRM release is maintained in the R/3table
CRMPAROLTP.
保存订单就出错
A: 用sm30
复制一个,然后创建值为
Reason and Prerequisites
In the CRMPAROLTP table, the current CRM release was not maintainedin the OLTP R/3 system.
Solution
You can maintain the CRMPAROLTP table in Transaction SM30 in theR/3 OLTP Backend System:
Parameter Name (PARNAME)"CRM_RELEASE"
Param. Value (PARVAL1)"30A" for a 3.0A Release
84:维护工厂日历和假期 OY05
85:维护税码 FTXP
86:Q:输入一有效的交货工厂
消息号 V1755
Diagnosis
The customer for the delivering plant is the same as the sold-toparty(售达方).
System response
The system cannot determine a valid delivering plant.
Procedure
Check if a delivering plant has been entered in the customer_master, material_ master, or in the customer-info record, withidentical
customer and sold-to party.
A:因为这个客户属于工厂的装运数据“物料管理/采购/采购订单/设置库存调拨订单/定义工厂的装运数据里把客户分配了给工厂”。
87,Q:如何查找事务代码所在程序的用户出口
如何查找事务代码所在程序的用户出口(user- exit):
A:
1。 执行tcode --> system --> status,找出程序名称。
2。 SE80;输入第一步中找到的程序名称。用菜单:GOTO --> Attributes,找出Package 名称。(注:也可以用SE93,查这个程式所在的Package)
3。SE80 --> Repository Information System--> Enhancements --> Customer Exits--> Enhancements -->将第二步中找到的Package名称输入,执行, 就可以找到tcode的所有用户出口。
用代码实现:
REPORT z_search_exit.
TABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
TABLES : tstct.
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
_select SINGLE_ * FROM tstc WHERE tcode EQ p_tcode.
IF sy-subrc EQ 0.
_select SINGLE_ * FROM tadir WHERE pgmid ='R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
_selectSINGLE_ * FROM trdir WHERE name = tstc-pgmna.
IFtrdir-subc EQ 'F'.
_select SINGLE_ * FROM tfdir WHERE pname = tstc-pgmna.
_select SINGLE_ * FROM enlfdir WHERE funcname =
tfdir-funcname.
_select SINGLE_ * FROM tadir WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name EQ enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
_select_ * FROM tadir INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
_select SINGLE_ * FROM tstct WHERE sprsl EQsy-langu AND
tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95)sy-uline.
FORMAT COLORCOL_HEADING INTENSIFIED ON.
WRITE:/1sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95)sy-uline.
LOOP ATjtab.
_select SINGLE_ * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95)sy-uline.
DESCRIBETABLE jtab.
SKIP.
FORMAT COLORCOL_TOTAL INTENSIFIED ON.
WRITE:/ 'Noof Exits:' , sy-tfill.
ELSE.
FORMAT COLORCOL_NEGATIVE INTENSIFIED ON.
WRITE:/(95)'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does NotExist'.
ENDIF.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELDsy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIPFIRST SCREEN.
88.Q:没有创建单位 ***(在语言中)
A: 用中文登陆系统,SPRO-〉IMG--〉SAPNetweaver-〉(GeneralSettings)一般设置-〉检查计量单位,然后选ISO码,选你要维护的单位,点菜单‘转到’-〉翻译,就可以维护中文下的单位了。
同时登 录英文和中文系统维护一遍也行
89.Q:交易码 VST F1 会计科目表 APP1 没有在表 T030K 中定义
消息号 F5118
Diagnosis
No tax ac_count has been defined for this tax code for thespecified ac_count key in the_ chart of accounts.
Procedure
Maintain the accounts to which a tax posting is to be made usingthe tax code entered. You find this within "Financial Accounting"under "Financial accounting global settings", "Tax onsales/purchases" and "Posting" if you _select the correspondingtransaction key.
Proceed
A: T030K 确定税务科目表,FS10n 总帐科目余额显示,ob07货币兑换汇率类型,ob08 货币汇率设置汇率转换
进项税 VST 对应的税务代码F1没有维护进项税科目 J1 2210282
财务会计—财务会计全局设置—销项/购置税—记帐—定义税务科目 TCD:OB40
不 同事物下的税务科目设置
MWS(销项税):21710705应交税金-增值税-销项税
VST(进项税):21710704应交税金- 增值税-进项税
90: Q:我在做采购申请单的时候,出现了如图的错误提示,消息显示:物料×××的强制帐户设置(输入帐户设置类别)。
A:后勤常规-物料主数据-基本设置-物料类型-定义物料类型的属性,“原材料”的属性数量值和价格值更新勾选上就ok了因为该物料所属的物料类型没有数量、价值更新,采购申请无法确定评估类,也就无法确定会计科目;
91:Q: 但我手工下采购订单的时候,会出现黄色警告信息"主记录中未定义供应商 1234 的角色 VN"
回车保存后是不影响下单的.
A: -code XK03 填写Vendor/Purch.organization,勾选复选框'Partner functions'
进去查看有没有一条记录'VN', 'Vendor', '1234'
如果没有,按“修改”图标,添加一条.
92:Q:sap 货币代码不允许ALE通讯
A:IMG->一般设置->货币->检查货币代码(将RMB设为主要的,将CNY设为非主要的。否则在输入发票时会提示货币ALE不允许)...
93: Q:在用MIGO对采购订单101 GR收货时,提示:不可能为app1 EIN____3000确认科目
已经 OMWB配置自动过帐并对对应了相应自动记帐科目。
A:采购科目有专门的配置,spro/物料管理/评估和科目设置/无向导的科目确定/采购科目管理,取消激活公司代码中的采购科目
94: Q: “co-凭证编号分配对于成本控制范围中的商业事务coin无效”,在mb1a-917成本中心发货时提示,co的号码范围没有分配
A: KANK 维护成本控制凭证号码范围维护!
95:Q:为 2008.05.23 创建科目 6240060 作为控制范围 6301 中成本要素
A:KA02 为费用科目新建成本要素
96:t-code S_BCE_68001439 查看密码修改记录 (勾选“Password changes”)找出修改密码的用户名及修改时间。PS:从那些修改密码的时间可以看出是否周期性修改的。
t-code STAD 用上面找出的用户名及时间作为筛选条件,查看系统记录,在详细记录里可以看到计算机名。
SAP批量锁定用户T-CODE:EWZ5 选择需要锁定的用户