2011-11-30

SAP GUI 710 显示bug

在我的笔记本windows 7 下发现设置笔记本屏幕为主显示器,外接显示器为第二显示器,选定扩展显示。如果此时把SAP GUI的窗口放到外接显示器上(第二显示器),并且最大化窗口,那么窗口最上方的几个按钮(最小化,最大化和关闭窗口)将不可见。可是如果把外接显示器做为主显示器,把笔记本设定为第二显示器,把SAP GUI窗口放到第二显示器上却没有这样的问题。
SAP GUI的版本信息:
Release: Final Release 710
Dateiversion: 7100.4.16.1046
Build: 1128319
Patch-Level: 16

2011-11-15

Bahncard的变种

手头的Bahncard下周就要到期了,于是打算再买一张新的Banhcard。在网上发现DB在今年6月份就推出了一种新的针对公司客户的Bahncard Business。12月11日之前Bahncard 50 一等车厢是460欧元,此后价格为560欧元。

优点:购买后不会自动延长,一年后自动结束。另外办理这种卡不需要照片。
缺点:价格比普通的Bahncard更贵。更糟糕的是购票时只有持有Bahncard Business才能享受10%的大客户优惠,而以前则是只要使用公司的信用卡支付就可以自动享受购票9折。

2011-11-14

vim读取临时文件出错

在Windows 7 enterprise (64bit)下使用 gvim 7.3 (64bit),安装了taglist插件,把ctags 5.8放到了路径里,每次在编辑窗口中用 :Tlist 打开列表窗口时总会出现错误提示:
Error detected while processing function 14_Tlist_Window_Toogle..14_Tlist_Window_Open..14_Tlist_Window_Refresh..14_Tlist_Window_Refresh_File..14_Tlist_Process_File:
line 83
E484: Can't open file C:\tmp\VIo24EF.tmp

在windwos下定义了TMP变量为C:\tmp,猜想问题应该出在这个临时文件没有正确生产,导致无法读取。使用 :help E484查看帮助,得到解释:

                            *E484* *E485*  >
  Can't open file {filename}
  Can't read file {filename}

Vim cannot read a temporary file.
查看vim手册,得到解释:

Can't open file C:\TEMP\VIoD243.TMP

On MS-Windows, this message appears when the output of an external command was to be read, but the command didn't run successfully.  This can be caused by many things.  Check the 'shell', 'shellquote', 'shellxquote', 'shellslash' and related options.  It might also be that the external command was not found, there is no different error message for that.
ctags 确认是在路径里,所以只能是调用外部命令没有成功执行。查看shell设置(set shell?)得到:
shell=C:\Windows\system32\cmd.exe;C:\users\dingjun.jia\documents\programme\SysinternalsSuite
不知道是自己不小心把环境变量ComSpec定义错了,还是安装SysinternalsSuite套件时,这个变量被修改了。换用了gvim 32bit版本,修正shell设置后,不在出现错误。

windows 7下几个有用的快捷键

  • Ctrl+Shift+N: 在Windows Explorer中创建新文件夹
  • Win + X: 调出windows mobility center,可以更改屏幕显示亮度,声音,无线网络等设置
  • Alt+Up: 在Windows Explorer中向上一级目录跳转
  • Alt+P: Toggles the preview pane in Windows Explorer
  • Shift+Right-Click on a file: 在右键菜单中增加复制文件所在的目录.
  • Shift+Right-Click on a file: Adds extra hidden items to the Send To menu.
  • Shift+Right-Click on a folder: 在右键菜单中增加Command Prompt Here
  • Win+P: 调整显示屏幕输出
  • Win+(+/-): 放大或缩小屏幕
  • alt + space, then n: 最小化当前激活的窗口
  • alt + space, then x: 最大化当前激活的窗口

2011-11-10

Excel 2010下仅显示重复内容

表里有很多数据行,如果仅显示重复行,可以使用如下操作:
conditional formatting ->highlighting duplicate value,然后点击Data菜单下的filter,在filter上选择filter by colour即可。

2011-11-09

SAP PI 7.11 Runtime Workbench

SAP help 页面
PI 7.11 monitoring
http://help.sap.com/saphelp_nwpi711/helpdata/en/48/aeb1925bb5356be10000000a421937/content.htm

PI 7.0 Runtime Workbench
http://help.sap.com/saphelp_nw04/helpdata/en/88/21bc3ff6beeb0ce10000000a114084/content.htm

Runtime Workbench用于监控PI的各个组件的运行情况,包括下列功能:

Component Monitoring

其中包括
Integration Engine
Business Process Engine
Mapping Runtime
Adapter Engine
Proxy Runtime

Message-Monitoring

下面包括
Integration Engine
Adapter Engine
Proxy Runtime

End-to-End-Monitoring


Performance-Monitoring

Index-Administration

SLD-Registrierung

用于注册以下组件到SLD
Adapter Engine
Runtime Workbench
Integration Directory
Intgeration Repository

Configuration

Alert-Konfiguration

定义 alert category 和 alert rule

Alert-Inbox


Cache-Monitoring

监视不同组件的Cache更新状况
Integration Server (ABAP Cache, including cache object: party, communication component, channel, receiver agreement, sender agreement, interface determination, operation mapping, integration process, process component, alert category)

Central Adapter Engine (including cache object: party, communication component, channel, receiver agreement, sender agreement, adapter metadata, SWCV)

Mapping Runtime Cache ( including Cache object: Value mapping group, mapping progam, SWCV, Channel)

2011-11-02

oulook 2010的邮件索引问题

系统windows 7 entreprise (64bit),outlook 2010 (32bit,版本号14.0.6025.100),MS Exchange 2010 mail account。

最近发现search folder下的文件下总不能自动更新,查看被禁用的addin包括windows search Email indexer mssphtb.dll。启用后重启outlook,又自动被禁用。新建了mail profile也无济于事。后来发现问题根本不在这个addin上,因为根据微软的KB http://support.microsoft.com/kb/2385524, 这个addin在outlook 2010里本身就是被禁用的。
After you install Outlook 2010, you may see the Windows Search Email Indexer add-in listed under Disabled Application Add-ins. This behavior is by design.
安装完service pack 1后问题还是存在。

vim下以tab方式打开文件

gvim在windows下安装后,使用edit with vim菜单每次打开一个新文件的默认方式是新开一个窗口。使用edit with existing Vim打开文件使用已存在的窗口,新开一个buffer,不过不是以tab的方式来显示。在不同buffer之间切换还须使用 :b bufferNumber。要把一个buffer以tab的方式显示,可以使用命令:

:tabnew | b 2 (把buffer 2以tab的方式显示)


如果要直接以tab的方式来打开,在 _gvimrc 中添加:
if (&diff==0)
    :autocmd BufReadPost * tab ball
endif
很奇怪,这样虽然能以tab的方式打开文件,可是后打开的文件没有syntax highlight。

改成下面的设置就没问题:
:au BufAdd,BufNewFile,BufRead * nested tab sball
:bn 切换到下一个tab,:bp 切换到上一个tab,gt 在tab之间切换。