I need to create a transfer order for a delivery note using a function module. I found function L_TO_CREATE_DN to do this. Requirement is that transfer order that will be created should have the source storage type and source storage bin that is specified externally. When testing the function, it does not recognize I_LTAP data input so I think it is not possible to pass storage type and bin data here. Please let me know if there are other function modules that can be used. My last option here is using BDC for LT03 transaction but this will have performance issue because the program will create TO for many deliveries.
Thanks in advance!