SD 的重要的資料表

2021-06-14 07:25:58 字數 3228 閱讀 6868

一、重要表列表

表     說明

組織結構     t001  company code

tvko  sales organization

tspa  division

tvtw  distribution channel

tvta  sales area

tvbur sales office

tvgrp sales person group

t001w plant

tvst  shipping point

tvla  loading point

t014  credit control area 

客戶              kna1   general data

knb1   customer master – co. code data (payment method, reconciliation acct)

knb4   customer payment history

knb5   customer master – dunning info

knbk   customer master bank data

knka   customer master credit mgmt.

knkk   customer master credit control area data (credit limits)

knvv   sales area data (terms, order probability)

knvi   customer master tax indicator

knvp   partner function key

knvd   output type

knvs   customer master ship data

klpa   customer/vendor link

訂單              vbakuk vbak + vbuk

vbuk   header status and administrative data

vbak   sales document - header data

vbkd   sales document - business data

vbup   item status

vbap   sales document - item data

vbpa   partners

vbfa   document flow

vbep   sales document schedule line

vbbe   sales requirements: individual records

注意:type(vbtyp field) in vbak,vbap tables( for enquiry vbtyp = a, for quotation 'b' & for order it is 'c'.)

訂單交貨單        lips   delivery document item data, includes referencing po

likp   delivery document header data

注意:(lips-vgbel = vbak-vbeln, lips-vgpos = vbap-posnr)

發票              vbrk   billing document header

vbrp   billing document item

注意:(vbrp-aubel = vbak-vbeln, vbrp-vgbel = likp-vbeln)

sd發運單位        vekp   shipping unit item (content)

vepo   shipping unit header

2、業務流程tcode列表

inquiry ( va11)

|quotation (va21)

|purchase order (me21)

|order confirmation (va01)

|picking list – (vl36)

|packing list - (vl02, vl01)

|shipping – (vt01)

|invoice – (vf21, vf01)

|ar

3、各個業務對應表列表

sales order - transaction va01 - tables vbak, vbap, vbep, vbkd, vbpa, vbuk, vbup.

delivery - transaction vl01n - tables likp, lips, vbuk, vbup.

goods issue - transaction vl02n - tables mkpf, mseg

billing document - transaction vf01 - tables vbrk, vbrp.

return order - transaction va01 - tables vbak, vbap, vbep, vbkd, vbpa, vbuk, vbup.

returns delivery - transaction vl01n - tables likp, lips, vbuk, vbup.

goods receipt - transaction vl02n - tables mkpf, mseg

credit memo - transaction vf01 - tables vbrk, vbrp.

customer wants some money back.

credit memo request - transaction va01 - tables vbak, vbap, vbep, vbkd, vbpa, vbuk, vbup.

credit memo - transaction vf01 - tables vbrk, vbrp.

customer was charged less money ..meaning we want some money back from customer..

debit memo request - transaction va01 - tables vbak, vbap, vbep, vbkd, vbpa, vbuk, vbup.

debit memo - transaction vf01 - tables vbrk, vbrp.

2 資料表的基本操作 建立資料表

在資料庫中,資料表是資料庫最重要 最基本的操作物件,是資料儲存的基本單位。建立資料表的過程就是規定資料列的屬性的過程,同時也是實施資料完整性約束的過程。建立資料表的語法形式 create table 表名 欄位名1 資料型別 列級別約束 預設值 欄位名2 資料型別 列級別約束 預設值 表級別約束 其...

資料表的操作

表是組成資料庫的基本的元素 表的基本操作有 建立 檢視 更新 刪除。表中的資料庫物件包含列 索引 觸發器。列 屬性列,建立表時指定的名字和資料型別,索引 根據制定的資料庫表建立起來的順序,提供了快速訪問資料的途徑且可以監督表的資料 觸發器 指使用者定義的事務命令集合,當對乙個表中的資料進行插入 更行...

MySQL的資料表

mysql中主要使用到三種資料表 myisam innodb與heap。heap是儲存在記憶體中的資料表,如果計算機關閉或重啟或者mysqld程序崩潰,資料表就不存在,而且無法恢復了,但是其速度飛快。heap的限制也比較多,不允許使用 text和 blob資料型別,只允許使用 和 操作符來搜尋記錄 ...