Finance on S/4HANA

Budget variance review on SAP S/4HANA

Runs the monthly variance review on the live ledger: each cost center owner explains the lines above threshold, controllers consolidate, and the CFO sees the top 20.

SCREENSDATA HANDLERSS/4HANA · READ IN PLACES01 My variancesS02 Line explanationS03 Department sign-offS04 ConsolidationS05 Top 20S06 Cycle boarddh_budget_lineBudget lineBPGE · BPJA (budget) · ACDOCP (plandata)dh_journal_lineJournal lineACDOCA (universal journal)dh_cost_centerCost centerCSKS · CSKTdh_employeeEmployeePA0001 · PA0002 (SAP HCM) orSuccessFactorsWRITE BACK TO S/4HANABudget line → BAPI_ACC_PLAN_POST (planning API)rows stay in S/4HANA · access rules applied at read time · each write acknowledged and logged
The screens of the app, the data handler behind each, and the S/4HANA object it reads in place. Writes below the line go through released interfaces with an acknowledgement.
4
objects read in place from S/4HANA
catalogue
6
screens on those rows
catalogue
6 days
to production-grade
estimate
1
objects written back
catalogue
0
rows copied to build it
product
What the app reads

The S/4HANA objects behind each handler

Tables are read in place through the SAP connector, using released read interfaces; changed rows arrive through change capture where the basis team allows it. The rows stay in SAP.

ObjectRead fromFields the app usesFreshness
Budget lineBPGE · BPJA (budget) · ACDOCP (plan data)ACDOCP.HSL (plan amount) · BPGE.WTGES (amount) · BPGE.OBJNR (object) · BPJA.GJAHR (year)live; change capture where enabled
Journal lineACDOCA (universal journal)ACDOCA.BELNR (document) · ACDOCA.RACCT (account) · ACDOCA.HSL (amount) · ACDOCA.RCNTR (cost center)live; change capture where enabled
Cost centerCSKS · CSKTCSKS.KOSTL (id) · CSKT.KTEXT (name) · CSKS.VERAK (owner) · CSKS.BUKRS (company)live; change capture where enabled
EmployeePA0001 · PA0002 (SAP HCM) or SuccessFactorsPA0001.PERNR (id) · PA0002.VORNA + NACHN (name) · PA0001.ORGEH (org unit) · PA0001.PLANS (position)live; change capture where enabled
The trigger

The start criterion in S/4HANA's own fields

In plain words: On working day 3 after a period closes, every cost center line whose actual differs from plan by more than 5 percent and more than 25,000.

The criterion runs in S/4HANA through the data handler, so only the matching rows return. The editor shows the rows it selects, and their count, as it is written.

# start criterion in S/4HANA fields
abs(BPGE.WTGES - ACDOCP.HSL) > 0.05 * ACDOCP.HSL and abs(BPGE.WTGES - ACDOCP.HSL) > 25000

# the same criterion in canonical fields
abs({budget.amount} - {budget.plan_amount}) > 0.05 * {budget.plan_amount} and abs({budget.amount} - {budget.plan_amount}) > 25000
What the app writes back

Through released interfaces

Writes go through released BAPIs and IDocs. Each call returns a document number or an error message, and the app records both beside the decision.

ObjectWhat changesInterface
Budget linerevised forecast amount written to the forecast version of the planning system; explanation stored beside the lineBAPI_ACC_PLAN_POST (planning API)
Acknowledged and logged

Each write stores the identifier S/4HANA returns beside the decision, the person and the time, so the log answers who changed what, and the reconciliation shows it arrived.

Access and prerequisites

What is in place before the first build

SAP roles are mapped to Lima access policies once. A buyer who sees purchasing organisation 1000 in SAP sees the same rows in the app.

  • An SAP user for the connector with read authorisation on the objects the app uses
  • The BAPIs the app writes with, enabled for that user
  • Network path to the application server (PrivateLink or VPN)
  • Change capture switched on for the objects that should refresh within minutes
Register the handlers4 objects from the catalog; each shows its rows at once.
Also on SAP ECC

The same app on SAP ECC

On SAP ECC the same objects live in the classic tables named beside each row; MATDOC becomes MKPF and MSEG, ACDOCA becomes BKPF and BSEG. The BAPIs are the same.

ObjectOn S/4HANAOn SAP ECC
Budget lineBPGE · BPJA (budget) · ACDOCP (plan data)BPGE · BPJA · COSP
Journal lineACDOCA (universal journal)BKPF and BSEG
Cost centerCSKS · CSKTsame tables
EmployeePA0001 · PA0002 (SAP HCM) or SuccessFactorssame infotypes
Nearby

This app on other systems, and other apps on S/4HANA

Budget variance review on

Other apps on S/4HANA

Terms on this page

Plan versionA dated copy of the budget or forecast that actuals are compared with.
VarianceThe difference between the actual amount and the plan for a cost center line in a period.
Read in placeThe rows stay in S/4HANA; the handler sends the filter and the columns and S/4HANA returns the matching rows.
Questions

Does this app copy data out of S/4HANA?

The screens read through handlers that leave the rows in S/4HANA. History the app needs at scale is landed in the lake by the Backbone, which is the exception by design.

What does S/4HANA need to allow?

The prerequisites above: an integration identity with read rights on the objects listed and write rights on the interfaces named, connectivity, and the scopes agreed with the process owner.

Can I run it on SAP ECC as well?

Yes. The screens, criteria and roles stay; the handlers are re-bound to the other system's objects, listed above.

See this app on your data

Bring the process and the systems it touches. In the first session we register the data handlers, draw the levels or the lanes and run the first screen on your live rows.