Skip to Content
0
May 14, 2022 at 10:53 AM

Hi all, I am struck with this logic please someone help me

558 Views Last edit Jun 16, 2022 at 07:41 PM 3 rev

I was tying to calculate sum ( menge) material quantity when shkzg = 'S and 'H' rom AMDP class.

when i apply CASE condition it brings incorrect data that duplicate values even if i select distinct values .

i have sample code in ABAP but same i want it in AMDP class to use it in CDS table function.

fig1amdp.jpg

fig2amdp.jpg

fig2amdp.jpg

Attachments

fig1amdp.jpg (31.0 kB)
fig2amdp.jpg (89.2 kB)
fig2amdp.jpg (89.2 kB)