Skip to Content
0
May 14 at 10:53 AM

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

198 Views Last edit May 16 at 09:21 AM 2 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)