if E2EDP19001.QUALF = "002" then ( if EDI_DC40.RCVPRN = "0010000039" (trimleft zeroes and map E2EDP19001.IDTNR) else map last 5 characters ) mapPO107