在舊的經(jīng)典賬本中,SAP 為總計(jì)提供了 GLT0 表。
在新的 GL SAP 中為總計(jì)提供了 FAGLFLEXT 表。
在 S/4 HANA SAP 中提供了總計(jì)的 ACDOCT 視圖。 (ACDOCT_BCK 是一個(gè)表)。
ACDOCT 是 CDS 視圖而不是表。 此視圖將有助于找出每個(gè)期間的總計(jì)和一些標(biāo)準(zhǔn)字段。 這也可以在報(bào)告作者/畫家中使用。 但在 S/4 Hana SAP 中不建議使用 Report Writer/Painter 工具。
大多數(shù)情況下,SAP 客戶使用自定義字段來(lái)增強(qiáng)會(huì)計(jì)文檔。 所以自定義字段可以添加到 ACDOCA 表中,但不會(huì)添加到 ACDOCT 中(因?yàn)樗且晥D)。
如果客戶需要包括自定義字段在內(nèi)的總值怎么辦?
為此,要么擴(kuò)展 ACDOCT 視圖,要么使用 ACDOCA 表編寫求和邏輯。 在每個(gè)程序中使用 ACDOCA 編寫邏輯意味著需要在多個(gè)程序中重復(fù)相同的代碼,而且它不是代碼下推的方法。
所以更好的解決方案是擴(kuò)展 ACDOCT CDS 視圖或創(chuàng)建自定義 CDS 視圖,如 ACDOCT。

ACDOCT was put in place to supplement reporting views sourced from ACDOCA during the initial deliveries of S/4HANA Finance (approximately the 2014-15 time frame). SAP Development quickly moved away from using ACDOCT views for this purpose, relying directly on access to the detailed universal journal table, ACDOCA, instead. ACDOCT is now identified as "depreciated" since although it may still be used in some older SAP delivered code/reports (that's why ACDOCT has not been removed), it is not recommended to be used by any customer (or SAP) for future development efforts.
S4的ACDOCA中,HSL是本位幣金額

ECC中HSL01、HSL02......HSL12代表每個(gè)月的本位幣金額
