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

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)

在狀態瀏覽圖中,可以快速的查找到有關銷售流程的目前狀態的詳細信息;

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)

Sales document type from a billing doc.type:Credit memo request(G2)

Delivery type from a sales document type:Delivery (DL)

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

Billing document type from a delivery type e.g. Invoice (F1)

Billing doc. type from a billing doc.type e.g. Invoice cancellation(S1)


銷售憑證的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 寫於蘇州市。


分享到:


相關文章: