How to do the dynamic selection in a popup for each new material item in sap?

How can I select the particular plant for a particular material number. I want to select a plant value from a sap popup for each line item(material and plant value will be different). Popup has a around 30 plant values. How it can be achieved?