sepulveda:
Works here, ArchiCAD 13, both via Trim to Roof and Solid Element Operations. If the roof edge and wall edge are aligned, and the wall surface and roof edge have the same material, I don't see why it would not work.
You should add a Signature to your Profile (click the Profile button near the top of this page) with your ArchiCAD version and operating system (see mine for an example) for more accurate help in this forum.
David