Skip to Content
0
Sep 01, 2020 at 07:14 AM

Custom CDS | Add Calculation | Case not working

120 Views

Hi SAP Folks,

Any one know how to check blank field in custom CDS calculation, i need to check if Billing Document number is there need field in CDS as fully invoiced but this is not working everytime it show fully inoviced. Billing document is Char 10 field i tried 10 blanks as well as 10 zeros '0000000000' .

Any help how to achieve this.

case YY1_CDS_INVOICE_DMR1.BillingDocument when ' '

then

'False'

else

'Fully Invoiced'

end