To overcome this issue HANA models can be built on Payroll posting tables as described in below steps:
Join BKPF and PPDHD with join on
BKRF.BLART = PPDHD.BLART
BKPF.XBLNR = PPDHD.XBLNR
BKPF.BUKRS = PPDHD.BUKRS
BKPF.CPUDT = PPDHD.DOCNUM
JOIN PPDHD with PPDIT with condition PPDHD.DOCNUM = PPDIT.DOCNUM
Fetch DOCLIN, HKONT, KOSTL, PRCTR with 1: n cardinality
JOIN PPDIT with above projection with condition on DOCNUM and DOCLIN and fetch the RUNID and LINUM
Get the sum of BETRG by PERNR SEQNR in aggregation
Now the model can be used to find the total spend across the employee groups and organizational objects. In the Semantics layer we do not include Employee level details as this report would be shared by the finance or reporting and analytics team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |