Ansicht
Dokumentation

/SCWM/TO_CREATE_MOVE_HU - Generate Warehouse Task for Moving HUs

/SCWM/TO_CREATE_MOVE_HU - Generate Warehouse Task for Moving HUs

Addresses (Business Address Services)   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

With this function module handling unit warehouse tasks can be created. The creation process can be influenced using various parameters. Detailed information can be found in the documentation for the individual parameters.

At the beginning the supplied parameters are checked for plausibility. Then the actual warehouse task creation takes place.

As part of the creation process the process-oriented storage control is evaluated based on the storage process of the handling unit.

Example

Notes

In general this function module should be called once with many items instead of many times with single items.

However, if you need to call this function module multiple times in a program flow to operate on the same data, you have to ensure proper COMMIT, enqueue and cleanup handling.

The system checks foreign locks on the handling units to be moved. It also checks whether there are unprocessed queue (SMQ2) entries for the HU. If one of these conditions is fulfilled, an appropriate error message is issued in ET_BAPIRET and no warehouse task is created. Usually, it is also not allowed to create an handling unit warehouse task for a handling unit that is already moved, which means that there is an open handling unit warehouse task.

If process-oriented storage control is used, then it can happen that instead of handling unit warehouse tasks product warehouse tasks are created. For more information see the documentation on process-oriented storage control.

If you want to create handling unit warehouse tasks with reference to warehouse requests in combination with putaway delay, you should use the function module /SCWM/TO_CREATE_WHR instead. If you want to create product warehouse tasks without reference to warehouse requests, you should use the function module /SCWM/TO_CREATE instead.

Further information

For more information see the Warehousing area under SAP Supply Chain Management, which is part of the SAP Business Suite Applications, on the SAP Service Marketplace. There you can find information on Extended Warehouse Management in SAP SCM containing further implementation hints in an area called Technical Information.





Parameters

ET_BAPIRET
ET_LTAP_VB
EV_SEVERITY
EV_TANUM
IS_RFC_QUEUE
IT_CREATE_HU
IV_BNAME
IV_COMMIT_WORK
IV_LGNUM
IV_PROCESSOR_DET
IV_UPDATE_TASK
IV_WTCODE

Exceptions

Function Group

M/SAPLL03B

ABAP Short Reference   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 3996 Date: 20240419 Time: 192253     sap01-206 ( 77 ms )