Dears, Im trying to calculate Payment terms mismatch. For MM related Invoices,
Payment terms should be equal to PO payment terms.
For this motivation, Im trying to obtain the field EKKO.ZTERM to compare it against BSEG.ZTERM. But Im block because of no not have a common parent in the schema message.
I try different approaches using pullout functions but Im stuck . Can you please advise? below the relations available and the error message
My formula should look like something like this:
CASE WHEN (EKKO.ZTERM)<>(BSEG.ZTERM) THEN NOK ELSE OK END
I read that somehow this can be achieved through the DOMAIN_TABLE but to be honest I could not manage to get it. Below Im including a screenshot of the data model mapping.
image1589721 136 KB
In your current DM you could use a PU function to pull BSEG entries to BKPF, but thats probably not what you want, because in the end you want to do a N:M join (when I understood you correctly), which is not supported in Celonis. In general, to fix this, you could perform such a join on database level, but Im lacking domain knowledge to give any advice here.