To unravel structure formation and functionality of the LPO2-Ade38090/Glu30010 sensor with its N and O functionalities, a comprehensive investigation of the film morphology, local composition/bonding and crystal structure was carried out (Figure ). Throughout the entire laser-irradiated area the films show a typical open-porous morphology (Figure , Figure ) facilitated by the synergistic foaming effects of Glu300 and NaI. The depthdependent attenuation of the irradiation was successfully utilized in a one-step laser treatment to create the lateral heterostructure with transducer and sensor sub-layers (Figure ). Strongly different morphologies of the two layers in terms of composition and structure (Figure , Figure ) afford their different functions. The excellent mechanical integrity and good interconnection are reflected in the cross-sectional data as well as in the sensing tests upon repeated elastic bending (Figure ).