How to Use External Number to Create DO Using Bapi

Dear experts,
I have a requirement where I have to create Outbound Delivery order for combining Multiple sales order. I have found the bapi BAPI_DELIVERYPROCESSING_EXEC to fulfill the requirement but I want to give the Delivery number as the user uses external number range. How could I use external Delivery number to create the DO using this bapi or can anyone suggest any other bapi or FM which fits my requirement?

Please kindly suggest to me or guide me how I can achieve this task. It would be of great help.

Hi Neal,
Thanks for the help. The below link is about the creation of material using external number but my requirement is to create an Outbound Delivery using a BAPI wherein I have to provide External Delivery number. I have to create a DO using Multiple SO also. I have Google and search on Archives but could not got any clue. The question has been asked, but not answered. I think I need to go for BDC method in this case.

Please kindly suggest to me or guide me. Can I use any BAPI to create DO with Multiple SO using External Delivery Number?

I took a quick look at that BAPI. There are 2 spots (EXTENSION1 and EXTENSION2) where you can pass values to the process via user exits. Here is what it says in the help for EXTENSION1, among other things:

"The corresponding user exit EXIT_SAPLV50R_CREA_001 is called after inbound IDoc processing, but before deliveries are created in the delivery pool (V50S)."

Perhaps there, or in EXTENSION2, is where you might be able to introduce the external number?