A series of martensitic, near-equiatomic NiTi shape-memory alloy wires was deformed to strains ranging from 1 to 40% up to stresses of 920 MPa. After deformation, the wires were exposed to a monochromatic, parallel beam of high energy x-rays oriented perpendicular to the wire axis. The transmitted low index diffraction rings show that martensitic texture is increasing with prestrain up to ε=15% after twinning is complete. Further prestraining in the plastic range lowers the texture again indicating that twinning- and plasticity-textures cancel partially each other. Also, deformed NiTi-wires were heated and cooled from 20°C to 200°C under a small constant stress of 6 MPa. The strain change due to the Two-Way Shape-Memory Effect was measured and correlated to the diffraction results.