Plays a role in CAM (crassulacean acid metabolism) photosynthesis. (S)-malate + NADP(+) = CO2 + NADPH + pyruvate H(+) + oxaloacetate = CO2 + pyruvate Divalent metal cations. Prefers magnesium or manganese. Homotetramer. Leaves. By salt stress. Belongs to the malic enzymes family.