Skip to Content
1
Jan 16, 2019 at 01:55 PM

CDS view Case statement/ Nested condition

11381 Views

Scenario:

IF Purch. doc. Category (EKPO-bstyp) = ‘F’ then Display Purchasing Document (EBLEN)for each unique Material + Vendor (EKKO Table) Combination

IF Purch. doc. Category (EKPO-bstyp) != ‘F’ (or it doesn’t exists) then Display Purchasing Document (EBLEN)where Purch. doc. Category (bstyp) = ‘K’

What We have tried :

1.casewhen ekpo.bstyp ='F'then ekpo.ebeln

when(ekpo.bstyp <>'F'and ekpo.bstyp ='K')then ekpo.ebeln endas PO,

Attachments

capture.png (45.0 kB)