Welcome to Burgess's blog

本博除非注明,均是原创,您若转载,请指明出处,谢谢配合!

博客园 首页 新随笔 联系 订阅 管理
  4 Posts :: 0 Stories :: 4 Comments :: 0 Trackbacks

2008年10月9日 #

Sales organization, distribution channel and division together are called sales area.
It means certain sales organization can operate certain division through certain distribution
channel.  Here, I will show how to set up sales area.

Step1:  Enterprise Structure--->Assignment--->Sales and Distribution
            --->Set up sales area--->click 'Clock' icon
          

Step2:  select sales organization, and then click 'Assign'
          

Step3:  select Distribution Channels, and then Enter.
            

Step4:  select distribution channel, and then click 'Assign'
          

Step5:  select Division, and then Enter
                     

Step6:  save it
                    
          

posted @ 2008-10-09 16:40 Burgess 阅读(127) | 评论 (2)编辑

2008年9月25日 #

Here, I will show how to create your favorites,the below picture is an example:

1  Inserting an Item from the SAP Standard or User Menu:
1> You can use drag and drop
2>use the menu bar:
Choose an item, and then Favorites-->Add


2  Inserting a Web Address or a File
1>Right-Click Favorites, and then choose Add other objects:

choose Web address or file:

input information required:

2>use the menu bar

3  Inserting a Transaction

posted @ 2008-09-25 22:46 Burgess 阅读(38) | 评论 (0)编辑

2008年9月24日 #

Here,I introduce some methods to import data from excel to DB,

1  By OPENDATASOURCE

SELECT
* FROM OPENDATASOURCE(
    'Microsoft.Jet.OLEDB.4.0',
    'Excel 8.0;DataBase=D:\TEST.xls')...[sheet1$]

Note: Sometimes, error message will occor when executing above script like this:
Msg 15281, Level 16, State 1, Line 1
SQL Server blocked access to STATEMENT 'OpenRowset/OpenDatasource' of component 'Ad Hoc Distributed Queries' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'Ad Hoc Distributed Queries' by using sp_configure. For more information about enabling 'Ad Hoc Distributed Queries', see "Surface Area Configuration" in SQL Server Books Online.

The solution issetting Ad Hoc Distributed Queries to 1,you can refer to my post: http://www.cnblogs.com/Burgess/archive/2008/09/24/1298195.html


2   By Linked server

EXEC sp_addlinkedserver  --add linked server
    @server = N'MyExcel',
    @srvproduct = N'Jet 4.0',
    @provider = N'Microsoft.Jet.OLEDB.4.0',
    @datasrc = N'd:\TEST.xls',
    @provstr = N'Excel 8.0'
GO

Note:You can also add linked server by below method:

exec sp_addlinkedsrvlogin 'MyExcel','false' --login without account (Optional)
go

select * from MyExcel...sheet1$  --query data
go

 

 3  By VBA

 

Code


 4   By SQL Server Import and Export Wizard
Detailed oprating steps is abbreviated here.

5  Other methods:
Please refer to http://support.microsoft.com/default.aspx/kb/321686

 

posted @ 2008-09-24 17:26 Burgess 阅读(1502) | 评论 (2)编辑

sp_configure is an useful SP, and we can display or change global configuration settings for the current server with it.

By default, you can't display advanced options when executing sp_configure. To show them, you must set show advanced option to 1 firsrt by executing below script:

USE master
GO
EXEC sp_configure 'show advanced option', '1'
--the default is 0
RECONFIGURE  --reasonable

Executing sp_configure with no parameters displays all configuration options:
EXEC sp_configure

Another instance:
USE master
GO
EXEC sp_configure 'Ad Hoc Distributed Queries',
'1'
RECONFIGURE WITH OVERRIDE  --forced

posted @ 2008-09-24 17:00 Burgess 阅读(14) | 评论 (0)编辑