Grab this starting circuit diagram that was provided for your 1997 BMW 318i Series. The content inside consists of :
on-board computer ~ black/green
body electronics control module (behind glove box) ~ black/green
automatic climate control module ~ black/green
generator ~ red
starter ~ black/yellow
hot at all times - B+ jump start junction point ~ red
G202 (below left side of dash) ~ brown
electronic immobilizer control module (EWS II)
front power distribution box (left rear corner of engine compartment)