Skip to Content
0
Dec 03, 2009 at 09:52 AM

Fill transaction fields automatically through code

449 Views

Hi Gurus,

Every time we create a material we have to extend it in all plants and in all storage location of every plant.

The steps that we are using are: We first create the material to a plant and a storage location using transaction

MM01. Then we use transaction mm17 and we extend the materials in all plants automatically.

Then we use transaction MMSC to extend material to every storage location. We enter the material code, the plant code and after hitting enter we fill the fields with the storage locations of the plant where we want to extend material to. We have 9 plants and 3 storage location on every plant, so we do this procedure (mmsc) 9 x 3 = 27 times.

Is there a way to write code to fill automatically the fields in MMSC transcaction from a file so that can automate the procedure? Any Ideas how to start?

Thank you in advance