How to Perform Depreciation Runs in SAP S/4HANA Finance

The depreciation run is a periodic processing program in asset accounting that posts planned depreciation to all relevant assets. Most companies execute the depreciation run every month, although you could run this program on a quarterly or yearly basis.


To execute a depreciation run with SAP S/4HANA Finance, follow the application menu path Accounting > Financial Accounting > Fixed Assets > Periodic Processing > Depreciation Run > AFAB - Execute. Alternatively, you can enter Transaction AFAB directly.


On the selection screen shown in the figure below, enter the company code, fiscal year, and posting period for which to run the depreciation. You can optionally specify an accounting principle if you want to limit the run to one or more specific accounting principles.


You can choose the Totals Log radio button if you want to see only the depreciation totals or choose the Detailed Log radio button to see the depreciation for each asset.


For our example, select the Detailed Log radio button and select the Test Run checkbox, so you can see the results and possible errors before actually executing the run. Proceed by clicking the Execute button.


Depreciation Posting Run


The system issues the message shown below, which notifies you that, in online mode, you can process only up to 1,000 assets. This limitation is in place because the depreciation program consumes a great deal of resources, so if you have more than 1,000 assets, even in test mode, you should run the program in background mode.




Proceed by clicking the Yes button. On the next screen, shown below, you’ll see the proposed depreciation amounts for each asset.


Proposed Depreciation


Click on the button in the top menu to access the message log, as shown below. If any errors arose during the depreciation run, you’ll see text in red.


Display Messages


If you’re satisfied with the depreciation test results, go back, deselect the Test Run checkbox, and execute the program in real mode. The program must run in the background. Start by following the top menu path More > Program > Execute in Background.


Then, the system will prompt you to specify background print parameters, as shown here:


Background Print Parameters


You can specify the printer on which depreciation results should be printed in the Output Device field. Continue by pressing (Enter). Then, you’ll see the screen shown below, where you must specify the start time for executing the program in the background.


Start Time


You can enter specific time and date with the Date/Time button, schedule the run after another job or event, or execute the run immediately with the Immediate button. Save your settings by clicking the Save button. On the bottom of the screen, you’ll see the information message shown in the figure below. This message lets you know that program FAA_DEPRECIATION_POST, which is the depreciation run program, has been scheduled.


Schedule Complete


You can also check the status of the background execution with Transaction SM37. In this transaction, you can select the background job scheduled by user name and date, as shown here:


Select Background Job


Proceed by clicking the Execute button. You’ll see the job name and its status, as shown in the next figure. Once the job has finished, the status will change to Finished and be displayed in green.


Job Overview


Note that most companies schedule their depreciation runs in the background and to run on specific dates based on the month-end schedule, rather than manually executing Transaction AFBP at the end of each month. Then, you could monitor the job status, as shown in the figure above, to analyze errors.


Editor’s note: This post has been adapted from a section of the book Asset Accounting with SAP S/4HANA by Stoil Jotev.


Asset Accounting with SAP S/4HANA
Asset Accounting with SAP S/4HANA

Asset accounting setup is mandatory in SAP S/4HANA — so get the details you need to get it up and running! Walk through the configuration that underpins all of asset accounting, starting with organizational structures and master data. From there, master key tasks for asset acquisition and retirement, depreciation, year-end close, reporting, and more. Finally, see how to migrate your legacy asset data from SAP ERP to SAP S/4HANA. Covering both SAP GUI and SAP Fiori, this guide has it all!

Learn More

SAP PRESS is the world's leading SAP publisher, with books on ABAP, SAP S/4HANA, SAP CX, intelligent technologies, SAP Business Technology Platform, and more!