SAP SD基礎知識之憑證流(Document Flow)

dicksonjyl560101發表於2020-02-09

SAP SD基礎知識之憑證流(Document Flow)


一,根據參考建立Create with reference

可以參考之前的憑證來建立銷售憑證,可以在初始畫面,也可以在憑證處理過程中,通過uniform. dialog box來控制,該對話方塊有6個標籤頁:

Inquiry‚ Quotation, Order, Contract, Scheduling agreement, Billing document;

SAP SD基礎知識之憑證流(Document Flow)


SAP SD基礎知識之憑證流(Document Flow)


在對話方塊中輸入憑證號之後,可以選擇COPY,將完全複製參考憑證;也可以選擇Item Selection來COPY一部分專案以及修改數量;

在處理中,可以為新的憑證定義一個新的Delivery date,此日期設定在頭部,對憑證中的所有行專案有效;

要用參考建立,首先需要配置相應的Copy Control,必須要是符合邏輯的業務處理流程。



二,憑證流Document Flow

銷售流程由一系列有順序的記錄為憑證的process steps組成,該流程鏈儲存在憑證流中;

憑證流為所有的憑證和個別專案更新;

可以通過一個列表來檢視憑證流中的所有憑證;

SAP SD基礎知識之憑證流(Document Flow)

在狀態瀏覽圖中,可以快速的get到有關銷售流程的目前狀態的details;


Eg. : Document flow of quotation

Quotation

.Order

..Delivery

…Invoice

..Returns

…Returns delivery

….Returns credit memo



三,SD中的複製控制Copying Control in SD

在Copying control中,可以決定哪些憑證型別可以Copy到其他的憑證型別,並定義詳細的Copying方法;

比如:

Sales document type from a sales doc. Type:Standard order(OR)<- quotation(QT)

Sales document type from a billing doc.type:Credit memo request(G2)<- invoice(F2)

Delivery type from a sales document type:Delivery (DL) <- Standard order (OR)

Billing doc. type from a sales doc.Type:Credit memo(G2)<-Credit memo request(G2)

Billing document type from a delivery type e.g. Invoice (F1) <- Delivery (DF)

Billing doc. type from a billing doc.type e.g. Invoice cancellation(S1) <- invoice(F1)


銷售憑證的Copying Control


SAP SD基礎知識之憑證流(Document Flow)


可以為Header,Item,Schedule line層設定Copying Control(要符合銷售憑證的結構),每層你需要建立:

Data transfer routines:控制Fields如何Copy;

Copying requirements:需要滿足的條件Check;

Switches:可為每個事務設定特殊控制,例如可啟用或關閉item numbers的transfer

如果你在Item和Schedule line層輸入了無效值或不輸入target value,系統根據Item和Schedule line Category assignment來判定target;


Copying條件Copying requirements

Copying requirements包含為每個業務處理定義的特殊條件,並且可以儲存在所有層次;當所有條件都滿足時,參考憑證才會被建立;

Eg. :

Header level:001—Check source和target的Sold-to party和Sales area是否相同;

Item level:301—Check 將要用來Copy的Item是否有reject的原因或者完成狀態;

Schedule line level:501—保證只有open Quantity大於0的部分會Copy;

SAP SD基礎知識之憑證流(Document Flow)

注意:Routines和Requirements是用ABAP/4程式碼寫的,且能夠通過修改系統的方式在SD配置中進行處理,首先應該檢查系統中現有的物件是否有合適的,通常可以通過Copy標準系統的物件,然後刪除或者增加程式碼行到物件來快速的調整系統;


SAP SD基礎知識之憑證流(Document Flow)


Completion Rule and reference status

當使用'Create With Reference'時,通常需要更新reference的數量或值,所以需要在Copying Control中Check Item層的'Document flow update'Field;

在item category中設定適當的Completion rule,根據Item Category中的Completion rule,之前憑證的Item的狀態會獨立地更新;

SAP SD基礎知識之憑證流(Document Flow)

合同contracts中的Items沒有Completion Rule;

如果你輸入了Rejection的原因,Item會變成'Complete';



四,憑證流資料表


SAP系統中的VBFA 表用於儲存document flow資料。

SAP SD基礎知識之憑證流(Document Flow)


- 完 -


2020-02-09 寫於蘇州市。


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29829936/viewspace-2674874/,如需轉載,請註明出處,否則將追究法律責任。

相關文章