Skip to Content

DUMP in UNIT_CONVERSION in CDS View

Hello Experts,

I have written below code in CDS view , very basic code, present in ABAP documentation

but when i am running the code i am getting error code 2048

I checked the table T006 both units MI and KM are present( Length Units) .

I am stuck, dont know how to solve this issue. Its version 7.40.

Regards,

Ashish T.

cds-view.jpg (24.8 kB)
error-cds.jpg (70.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 06, 2017 at 04:30 PM

    Under

    https://help.sap.com/http.svc/rc/abapdocu_740_index_htm/7.40/en-US/index.htm?file=abencds_f1_conversion_functions.htm

    you see the name of the shipped example program DEMO_CDS_UNIT_CONVERSION. Does this work?

    What ABAP SP are you using? Is the Hana DB up-to-date? How did you. run the code? Is the database table filled?

    Add comment
    10|10000 characters needed characters exceeded