Posts

Showing posts from January, 2018

Totals table for ACDOCA in S/4 HANA - ACDOCT

In old classical legder SAP provided GLT0 table for totals. In new GL SAP provided FAGLFLEXT table for totals. In S/4 HANA SAP has provided ACDOCT view for totals. (ACDOCT_BCK is a table). ACDOCT is a CDS view not a table. This view will be useful to find out totals per period and with some standard fields. This can be used in Report writer/painter also. But in S/4 Hana SAP not suggesting to use Report Writer/Painter tool. Most of the times SAP customers enhance Accounting document with custom fields. So custom fields can be added into ACDOCA table but it will not added to ACDOCT (Since it is view). what if customer needs total values including custom fields what to do then ? For this purpose either extend ACDOCT view or write sum logic using ACDOCA table. Writing logic with ACDOCA in each program means need to repeat same code many programs and also it is not code-pushdown approach. So better solution is either extend ACDOCT CDS view or create custom CDS view like ACDOCT.

Document storing using GOS

Important transactions:  OAC0 OAC1 OAC2 OAC3 2424109 - Storing using GOS, where are documents physically stored? First thing that should be checked is how the document is being stored using GOS, this will determine how/where the document is stored. If using path GOS => Create => Create attachment; then the document will be stored using SAPoffice. If using path GOS => Create => Store Business Document; then the document will be stored using Archivelink. Now depending on the configuration maintained for each of the above we can find out where the document is stored. If you are storing the documents using SAPoffice please review  2571570  for information on the storage location. If storing documents using Archivelink then the storage location depends on the configuration in transaction OAC3 (Link transaction). This is the transaction where the Object type, Document type, Link table and Content repository are configured, you can see in following for /OPT* the as