Previous studies using the serial prediction task (SPT) have shown that attending to the locations of objects activates the dorsal part of premotor cortex more than attending to the sizes of objects. The opposite holds for the ventral part of the premotor cortex. The present study used functional magnetic resonance imaging to investigate whether the learning of arbitrary stimulus-response mappings influences this functional dissociation. One experimental group learned to assign stimuli to response buttons based on stimulus size; another group did so based on stimulus location. More specifically, one-half of the participants in both experimental groups learned to assign stimuli to finger movements of their right hand, whereas the other half assigned stimuli to finger movements of their left hand. During scanning, all participants performed both size SPT and location SPT. Thus, we investigated the effects of the attended stimulus property (size or location), the motor effector assigned to it (fingers of left or right hand), and the spatial arrangement of the targets (the same in all groups). As expected, without motor training, the dorsal premotor cortex was less activated during size SPT compared with location SPT. The opposite held for ventral premotor cortex. With motor training, however, this differential activity pattern vanished. Activity in dorsal premotor cortex reflected neither the attended stimulus property nor the motor effector assigned to it. Instead, its activity may be related to the spatial properties of the response targets once some object property, such as size, takes on the "pragmatic relevance" of a spatially directed response.