I don't think there is a schedule field that would return a correct value for such a case. ArchiCAD is not prepared to return such a value.
In case of Doors/Windows, you can list in the schedule the Room from which it opens and the Room it opens into. But there is no such option for Walls.
....................................................................................................
Get Archicad Tips at https://twitter.com/laszlonagy
AMD Ryzen 1700X CPU, 48 GB RAM, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), WIN10 PRO ENG, AC20-AC26
Loving Archicad since 1995