SD--sap的SD, FI,MM的業務集成和SD業務常用到重要函數
http://blog.csdn.net/sap_jack/article/details/1066926
SD 和 MM 模塊的業務集成:
1. 當你創建銷售訂單(SO),所有的項目將從MM模塊拷貝物料主數據.
2. MRP和可用性檢查也從MM模塊讀取相關數據.
3. While you create inbound/outbound delivery with reference to a sales order,the shipping point determination takes place with the help of the loading group, plant data, shipping conditions etc. This also refers to Material Master.
4. The material which you are entering in a sales order must be extended to the sales area of your sales order/customer otherwise you cannot transact with this material.
SD 和 FI模塊的業務集成 :-
1. Whenever you create a delivery with reference to a sales order, goods movement takes place in the bacgground. eg. In case of standard sales order, you create an outbound goods delivery to the customer.
Here movement 601 takes place. This movement is configured in MM. Also, this movement hits some G/L account in FI. Every such movement of good s hits some G/L account.
2. The accounts posting in FI is done with reference to the billing documents (invoice, debit note, credit note etc) created in SD. Thus this is a link between SD and FI
3. Tax determination: In case of a tax determination also, there is a direct link between SD and MM
SD 與其他模塊的集成點列表
銷售訂單 –
Integration Points Module
•Availability Check - MM
•Credit Check - FI
•Costing - CO/ MM
•Tax Determination - FI
•Transfer of Requirements - PP/ MM
發貨和過賬 –
Integration Points Module
•Availability Check - MM
•Credit Check - FI
•Reduces stock - MM
•Reduces Inventory $ - FI/ CO
•Requirement Eliminated - PP/ MM
發票 -
Integration Points Module
•Debit A/R - FI/ CO
•Credit Revenue - FI/ CO
•Updates G/ L - FI/ CO
(Tax, discounts, surcharges, etc.)
•Milestone Billing - PS
退貨 & Credit Memo -
Integration Points Module
•Increases Inventory - MM
•Updates G/ L - FI
•Credit Memo - FI
•Adjustment to A/R - FI
•Reduces Revenue - FI
SD Transaction Code Flow:
Inquiry / Document type IN
Tcode for creation VA11,VA12,VA13. tables VBAK,VBAP
Quotation / QT
Tcode for creation VA21,VA22,VA23. tables VBAK,VBAP
Purchase Order PO
Tcode for creation ME21,ME22,ME23. tables EKKO,EKPO.
Sales Order OR
Tcode for creation VA01,VA02,VA03. tables VBAK,VBAP
Delivery LF
Tcode for creation VL01,VL02,VL03. tables LIKP,LIPS
Billing F2
Tcode for creation VF01,VF02,VF03. tables VBRK,VBRP
To create a sales order we need purchase order number and custmer number. Before that, to create a purchase order we need to have material no, vendor no.
To create vendor tcode is
xk01(create), xk02(change) , xk03(display)
Tables are lfa1.
To create custmer tcode is xd01, xd02, xd03.
Table is kna1.
個人收集的業務重要函數
Function Name
|
Function Description
|
Function Pool
|
Function Pool Description
|
示例程序
|
|
||||
SD_SALEDOCUMENT_CREATE
|
|
|
|
|
SD_ORDER_CREDIT_RELEASE
|
SD信用管理
|
VKMP
|
|
|
RV_AVAILABILITY_CHECK
|
RV 可用量和需求
|
V03V
|
|
|
RV_REQUIREMENT_GENERATE
|
RV 可用量和需求
|
V03V
|
|
|
RV_DELIVERY_CREATE
|
SD交貨匯總處理
|
V50S
|
|
|
|
|
|
|
|
出庫單-》財務憑證
|
||||
WS_REVERSE_GOODS_ISSUE
|
Goods Mvmnts and Goods Mvments Reversals
|
V51W
|
|
RVV50L09
|
MB_CREATE_GOODS_MOVEMENT
|
為交貨的發貨
|
MBWL
|
|
|
MB_CANCEL_GOODS_MOVEMENT
|
為交貨的發貨
|
MBWL
|
|
|
訂單
/
出庫單-》發票
|
||||
RV_INVOICE_CREATE
|
出具發票(新建)
|
V60A
|
|
|
RV_INVOICE_DOCUMENT_ADD
|
(保存)其中 SLL_DOCUMENT_TRANSFER單元的調用可作發票出口
|
|
|
|
|
||||
|
||||
發票-》財務憑證
|
||||
RV_ACCOUNTING_DOCULIST_CREATE
|
|
V60B
|
RV-RF接口
|
|
RV_ACCOUNTING_DOCUMENT_CREATE
|
發票-》憑證
|
V60B
|
RV-RF接口
|
VF02(過帳)
|
FI_PERIOD_CHECK
|
財務會計-》憑證-》過帳期間-》未清和關帳過帳期間(表
t001b)
|
FACS
|
FI/CO接口的FI服務
|
很多的檢查函數
|
sd_invoice_release_to_account
|
釋放發票-》憑證
調用RV_INVOICE_DOCUMENT_ADD |
V60A
|
RV-RF接口
|
VFX3
|
RV_INVOICE_LIST_DOCUMENT_ADD
|
|
V60A
|
|
VF02
|
RV_INVOICE_DOCUMENT_ADD
|
根據RFBFK決定是否調用(591行)RV_ACCOUNTING_DOCUMENT_CREATE
|
V60A
|
|
VF02(保存)
|
|
|
|
|
|
|
||||
AC_DOCUMENT_CREATE
|
|
RWCL
|
會計合算接口
|
|
AC_DOCUMENT_REVERSE
|
|
RWCL
|
會計合算接口
|
|
|
|
|
|
|
|
||||
RV_MISSING_DOCUMENT_DATA
|
確定不完整的銷售憑證
|
VO5M
|
|
RVAUFERR
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
NUMBER_CHECK
|
檢查號碼是否在號碼區間內
|
|
R/3 Central Basis Development: Number Ranges
|
|
NUMBER_GET_INFO
|
提供信息為一個數目范圍數據
|
|
|
|
NUMBER_GET_NEXT
|
分配下一個空號
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RWIN_CHECK_SUBSET
|