BRF+, DB Lookup and External Reference Fields
I would like to make a DB lookup of table KONP of especially the field KONP-KBETR (the condition amount). This field has a reference/amount field KONWA from the structure RV13A:
As suggested at BRFplus Amounts and Quantities from SAP and DB Lookup, I've tried to solve it by generating a view. This solution works, as long as the reference field belongs to a table. Here the reference field belongs to a structure.
We can of course discuss workarounds like making the lookup in SAP ERP before BRFplus and insert it into the function context. Please suggest answers, which are not workarounds.