First - please read: https://blogs.sap.com/2014/01/31/how-to-ask-questions-about-script-logic-issues/
Nested ternary operator is not supported with ABAP calc engine. Please check!
Also try to create test case without LOOKUP with data from one model. Provide log!
Add comment