i have the following scenario. I created a TR using the function-module L_TR_CREATE.
With that TR-number i need to create a Transfer Order. For this im using the function-module L_TO_CREATE_TR. This function-module throws me the exception PREALLOCATED_STOCK.
Ok...so what i need todo now is to create the TO in pre-allocated stock (3rd Party Central Store).
Like when i use LT04 and try to create TO which is pre-allocated stock'ed and the screen for "Create Transfer Order from TR: Pre-Allocated Stock" opens up giving you the option to select "Pre-Allocated Stock" and when you create it over there.
Could anyone tell me a functionmodule (or fm-parameter) to do that ?
I hope you understand what i need and you could help. Thanks..any help is highly appreciated.