Ansicht
Dokumentation

MWMTO006 - Overdelivery and with restriction, also underdelivery

MWMTO006 - Overdelivery and with restriction, also underdelivery

General Material Data   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

With this user exit, the overdelivery of a material can be integrated into the TO processing.

During the stock removal it is sometimes useful to remove more than the requested quantity. In Customizing, you can start complete stock removals for quants (complete stock removal or overdeliveries in the storage type control, overdeliveries in the movement type). If this is not detailed enough, you can achieve a more detailed overdelivery with this user exit.
The user exit is performed when determining the source bin quantity. Only abend messages or system messages may be sent within the function module. There must never be a user dialog as the source storage bin is blocked at this time and the user dialog would undermine the advantages of blocking concept 'B'.

The user exit in the program is function module EXIT_SAPLL03A_009. In order to be able to use the user exit, you must create Include ZXLTOU12 and activate the enhancement with transaction CMOD.
The following parameters are available:

Import parameters

  1. I_LQUA Found stock that is to be used for the stock removal. I_LQUA-VERME The quantity that can be removed at the most.
  2. I_LTAK The respective TO header that contains, for example, the reference documents such as transfer requirement number or the like.
  3. I_LTAP The TO item that has been created so far
Please refer to the interface documentation of function module L_TO_PREPARE_ITEM_INT for more information on the filled fields in I_LTAK and I_LTAP.
  1. I_MLVS Material master
  2. I_MGEF Hazardous material master
  3. I_T331 Control data of the storage type from which the withdrawal is to be made
  4. I_T333 Movement type with which the TO is created
  5. I_T340D Warehouse number control
  6. I_VORGA Transaction within the TO processing

Changing parameter

  1. C_ANFML: the (remaining) requested quantity of this material in base unit of measure. This value can be raised (usefully up to I_LQUA-VERME at the most). For an underdelivery it can also be reduced. In this case, however, this user exit must be in adherence with the customer exit for the underdelivery (MWMTO005). If the requirement to remove all stock is defined for the storage type or if the movement type requires an overdelivery, a change of C_ANFML remains without effect. This quantity is relevant if active ingredient processing is not active (I_LTAP-WIRME is set to its initial value).
  2. C_ANFME: the (remaining) requested quantity of this material in alternative unit of measure. This value can be raised (usefully up to the active ingredient quantity at the most which corresponds to I_LQUA-VERME). For an underdelivery it can also be reduced. In this case, however, this user exit must be in adherence with the customer exit for the underdelivery (MWMTO005). If the requirement to remove all stock is defined for the storage type or if the movement type requires an overdelivery, a change of C_ANFME remains without effect. This quantity is relevant if active ingredient processing is active (I_LTAP-WIRME is not set to its initial value).

There are no export parameters, C_ANFML and C_ANFME are transferred by reference and can be changed directly.

There are no table parameters.






ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 3501 Date: 20240418 Time: 110917     sap01-206 ( 73 ms )