Friday, November 28, 2008

SAP Client Export/ Import

导出一个client的用户数据到本地硬盘,再导到另外一个R/3学习系统,
使用事务代码:FTWP及FTWA即可SCC8导出数据,再SCC7导入; SCC8倒出CLIENT,文件会在datafile和cofile两个目录下分别存放控制文件和数据文件,把它拷贝到目标目录下,加入buffer,后可用STMS进行IMPORT,用SCC3监视进程,完成后,用SCC7做POST IMPORT。即可, 但是前提是两个SERVER的STMS必须建好,并采用虚拟目标系统

Wednesday, November 19, 2008

RPC over HTTPS of DG

How to setup RPC over HTTPS of Outlook 2003
RPC over HTTPS can help user connect to MS Exchange server as in office with full function. User can use Outlook anywhere if they can use IE to surf World Wide Web. They do not need to know anything of the access point.
Part I: Prerequisite
To use this function, computer must meet the following prerequisite:
² Windows XP must be updated to service pack 2
The version of XP can check with following:
Right click My Computerà Properties, check the version in General tab
The version show in here
² MS office must be 2003 with service pack 2
The version of Office can check:
1. Open MS Word or MS Excel, following example is using MS Word
2. Click on Help à About Microsoft Office Word
Click on Help
Click on Abot Microsoft Office Word

The version show in here
3. If the version of MS Office 2003 is not SP2, please download the service pack 2 in following link: http://www.microsoft.com/downloads/details.aspx?FamilyID=57E27A97-2DB6-4654-9DB6-EC7D5B4DD867&displaylang=en
Part II: Install the SSL certificate in Internet Explorer 6
To use the RPC over HTTPS, the computer must install the certificate from our server
1. Open IE 6, input the path https://dgex1.chingfung.com/exchange in the Address
https://dgex1.chingfung.com/exchange

Input address in here
2. When see the Security Alert, click OK
Click OK
3. In another Security Alert Windows, click View Certificate, don’t click OK
Click View Certificate

4. In Certificate Windows, click Install Certificate
dgex1.chingfung.com
dgex1.chingfung.com

Click Install Certificate
5. In Certificate Import Wizard windows, click Next
Click Next
6. Select Automatically select the certificate store based on the type of certificate, click Next
2. Click Next
1. Select this option
In the last screen of Certificate Import Wizard, click Finish
Click Finish
7. A Security Warning windows will popup, just click Yes
dgex1.chingfung.com

Click Yes
8. In successful windows, click OK, and then click OK to return the screen in step 3
dgex1.chingfung.com
dgex1.chingfung.com

2. Click OK
1. Click OK
Select this option
9. In the Security Alert window, click No and close the IE
2. Click NoPart III: Configure Outlook 2003 to use HTTPS
To configure the Outlook 2003, most safety way is to add a profile of Outlook 2003; therefore the Outlook 2003 can keep the original setting.
1. Open Control panel, double click on Mail
Click Mail
2. In Mail Setup Windows, click Show Profiles….
Click Show Profiles…
3. In Mail Windows, select Prompt for a profile to be used, also please remember the profile of exiting Outlook setting, here is Outlook
1. Select this option
2. Click Add….
4. In Profile Name: of New Profile window, input a meaningful name, here is HTTPS, and then click OK
1. Input a name
2. Click OK
5. In E-mail Accounts windows, select Add a new e-mail account and then click Next
2. Click Next
1. Select this option
6. In another E-mail Accounts windows, Select Microsoft Exchange Server and click Next
2. Click Next
1. Select this option
7. In Microsoft Exchange Server, fill dgex1.chingfung.com, check the option Use Cached Exchange Mode, and in the User Name field, username is the first-half part of email address, e.g. if email address is abc_def@chingfung.com, the username is abc_def, input the user name of the user, and then click More Setting, the screen will hang on here a moment (time is depend the connection speed to Internet)
dgex1.chingfung.com



2. Input the username
3. Click More Setting
1. Input dgex1.chingfung.com
8. After a moment, a warning message popup, just click OK


9. Another window popup, click OK
dgex1.chingfung.com

10. A window called Exchange Server popup, select the Connection tab, check the Connect to my Exchange mailbox using HTTP, and click Exchange Proxy Settings….
3. Click this
2. check this option
1. Select this tab
11. In Exchange Proxy Setting Windows, fill dgex1.chingfung.com in the textbox after https://, check on slow networks, connect using HTTP first, then connect using TCP/IP. In Proxy authentication setting, select Basic Authentication and click OK
dgex1.chingfung.com
4. Click OK
3. Select Basic Authentication
2. Select this Option
1. Fill dgex1.chingfun.com
12. After return to Microsoft Exchange Server screen, click OK
Click OK
13. After return to the E-mail Account window, click Next
dgex1.chingfung.com

Click Next
14. A congratulation screen appears; click Finish to exit the setting

Part IV: Use Outlook with RPC over HTTPS
1. Open Microsoft Outlook, a Choose Profile screen appear, choose the name used in part III step 4, here is HTTPS (Outlook is the original email setting) and then click OK

2. A window popup appear, input username and password in related field. Username must in following format: chingfung\username
3. After short time of delay, Outlook will display the recent email in normal mode. Also the Outlook will download the old email in background. It will take a long time if there have mass volume of email store in server



Part IV: Confirm Outlook is using RPC over HTTPS
1. Start à Run, type “Outlook /rpcdiag”
2. Press enter and select profile
3. After enter the password, Outlook will open in normal situation and a dialog will show the status of the connection, below is a successful case to use RPC over HTTPS

Create root certificate for WM5

1. Use SSLChainSaver to get the certificate from Exchange.
2. Rename XML file to _setup.xml (must)
3. Use makecab to make a cab file with file name rootcert.cab

Prevent or Prohibit Server Drives From Being Visible to Users

  To make changes to this policy for one of the seven default values: Start the Microsoft Management Console. On the Console menu, click  Ad...