Depending on what version of Archicad you are using (add to the signature of your user profile please) you will want to look into Complex Profiles.
These can be walls, beams or columns - meaning you can add doors and windows to a complex profile wall.
There are plenty of posts here now you know what to search for.
Also in the Help files.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11