So you have two different calc views that you call based on the sysid.
Do both of them return a filled DOC_NUMBER column in HANA Studio? You only showed one of them (not sure which).
So you have two different calc views that you call based on the sysid.
Do both of them return a filled DOC_NUMBER column in HANA Studio? You only showed one of them (not sure which).