[转]SAP*和DDIC用户被锁分析与解决方案
SAP*和DDIC用户被锁分析与解决方案 Added by Snow Wang, last edited by Snow Wang on Dec 01, 2010 SAP*和DDIC这两个用户是SAP系统默认的两个超级用户,安装之后自动就会在系统中存在,默认密码可以在安装的时候指定,安装之后也可以进行修改。这两个用户的权限也是最大的,拥有SAP_ALL权限。但是有时系统管理员会遇到忘记密码或者这两个用户因为多次错误登陆被锁的情况。这时如果其他具有管理员的用户也不能登录系统,我们只用通过以下方式解决: delete from usr02 where mandt='' and bname='SAP*' 这个解决方案可
[转]财务凭证的替代
业务背景: 在SAP中,供应商主数据的科目只有一个比如通常设置的是应付帐款,在SAP中,科目和中 国传统会计不一样,其科目是不强调层级的,比如应付帐款,国内ERP可能会带供应商项目 等几个核算项目,SAP采用另一种方式,它将供应商直接看成明细科目,从其主数据自动带 出应付帐款,如果还需要区分是什么项目的应付,则可采用统计内部订单或特殊总帐标志, 但是,在后勤发票校验(Tcode:MIRO)时却不能使用特殊总帐标志。这样,比如企业从同 一供应商购买生产用材料(对应普通应付帐款)和项目材料(对应应付项目款)且
PB打印斑马条码程序
uf_print13( string startcode, string stdtype, long copys ,string direct ) returns string ------------------------------------------------------long job, i, counter,ll_statestring curr_code, static_part,ls_returnstatic_part = mid(startcode, 1, 7)if direct = "N" then counter = long(mid(startcode, 8, 8))else counter = long(mid(startcode, 8, 8)) + copys - 1end ifjob = printopen("barcode 02")if job= -1 then messagebox('提示','02分配打印作业失败!!') return ''end ifls_return=string(
[转]多CLIENT的SCC4设置
5 mySAP ERP LandScape下的CLIENT定义和策略 DEV QAS PRD 100 200 500 600 800 900 CLIENT 角色 定制 测试 测试 培训 生产 参考 更改并传输特定集团对象 不带自动记录的更改 自动记录修改 ★ 不容许更改 ★ ★ ★ ★ ★ 不自动记录修改,不容许传输 与集团无关对象的修改 允许对资源库和跨集团对象的更改 ★
JCO 连接SAP
2月4日033-使用JCo远程调用SAP系统函数要用Java程序远程调用ABAP函数可以使用SAP提供的RFC针对Java程序的API——JCo。0.JCo的安装很不幸,虽然JCo是用Java语言编写的但却是平台相关的。(具体来说,JCo的Java包sapjco.jar确实是平台无关的,但是运行JCo需要RFC库支持,而RFC库是平台相关的)目前为止我还只有在Windows系统中安装的版本,因为JCo不是一个开源组件,甚至在SAP官方下载它是需要SAP Service MarketPlace的用户帐号的。目前我手上的是JCo2.1.6Windows版本。除了API文档和一些DEMO程序,你需要用到的有3个文件:librfc32.dll,s
[转]通过替代实现根据在miro中录入的分配来确定财务凭证中应当填的成本中心
星期五, 09月 11th, 2009*———————————————————————** FORM U801 **———————————————————————** Check account document line item **———————————————————————*FORM U801.DATA: LV_AUTH LIKE USRBF2-AUTH.DATA: LV_VON LIKE UST12-VON.*{ INSERT PRDK900214 1DATA: lv_zuonr TYPE dzuonr.FIELD-SYMBOLS: <fs_z
SAP的校验和替代(validations and substitutions)[转]
I. Creating, activating and transporting validations and substitutions1. Which transactions are required to use validation or substitution functions?GGB0 Validation MaintenanceGGB1 Substitution MaintenanceGCVZ Rule MaintenanceGGB4 Action selection for validation/substitution, for example, activation of application areas, use of all messages or substituted fieldsGCX2 Definition of the Includes for user exitsOB28 Activation of FI validationsOBBH Activation of FI substitutionsOBBZ Activation of cos
[转]ABAP Memory/SAP Memory/Shared Buffer/Database
ABAP提供了IMPORT/EXPORT 和 SET/GET PARAMETER语句,可对用户内存/服务器内存/数据库进行存储和访问。不过可能很多人对此还不是很了解,下面我们通过实例来测试它们的区别和联系。 1. ABAP Memory用户登陆后,最多一个系统可以开6个窗口,这在SAP中称为External Mode。而同一个窗口中,运行某程序后,可以通过CALL TRANSACTION/SUBMIT或其他代码跳转到其他程序,这个称为Internal Mode。Internal Mode的调用栈最多为9层。那么ABAP Memory,它是属于Internal Mode间可以共享的数据,而External Mode间无法共享。 例子. 创建程序A,输入:D
[转]Automatic IDOC generation whenever a PO is created/changed
This document details about the step-by-step procedure in generating an IDOC whenever a PO is either created or changed. 1. Go to transaction NACE. 2. Select the row “EF Purchase Order” and click on “Procedures”. 3. From the above screenshot, it is evident that there are 2 procedures for the application EF (Purchase Order). To proceed further, we would need to find out the procedure that is currently active.Go to transaction SPRO. In this, navigate as following:Materials manag
[转]SAP: Create SO automatic reference PO IDoc
SAP: Create SO automatic reference PO IDoc1. Configure PO IDoc:1.SPRO->Basis Components->Application Link Enabling(ALE)->Sending andReceiving systemLogical Systems->Define Logical SystemLog.System: SAPDEV100Name: CML SAP 61.144.248.136 client 1002.SPRO->Basis Components->Application Link Enabling(ALE)->Sending andReceiving system->Logical Systems->Assign Client to Logical SystemChoose client 100 and click details逻辑系统: SAPDEV1003.SM59->TCP/IP 连接->SAP
[转]整理的SAP参数文件
SAP 系统参数设置 path: /usr/sap/PRD/SYS/profile profile: PRD_DVEBMGS00_sapapp 如果您想查看所有的参数及当前设定,可使用SA38 执行程序 RSPARAM 修改附加配置 T-CODE:RZ10 进行SAP系统参数的设置,设置后需激活参数并重启SAP实例,配置参数才会生效 login/system_client 登录时默认的Client号 login/password_expiration_time 密码有效期 login/fails_to_user_lock 密码输错多少次后锁定 login/failed_user_auto_unlock 用户失效后多长时间解锁 rdisp/mshost 状态栏中显示的系统名称 rdisp/rfc_use_quotas 是否激活配额资源分配