Yes, it has created with plant 0000.
But F1 on that field shows that it is maintenance plant "WERKS". Also when I drop down on that field It shows all the maintenance plant codes, not planning plant.
Also if I create PR manually via ME51n I can choose plant 1111 and it works.
Please not 1111 is only maintenance plant in my spro config. there is no planning plant code 1111 in my config.
config - allocation of planning plant to m plant
M.Plant - Planning Plant
0000 - 0000
1111 - 0000
Any Idea?