Fonction SAP BAPI_KANBANCC_WITHDRAWQUANTITY - Quantity Signal for Kanban Control Cycle

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EXCLUDE_STATUS_RESTRICTION BAPI1075_GEN-EXCLUDE_STATUS_RESTRICTION C 1 SPACE X Exclude Authorization Check at Time of Kanban Status Change
KANBANBARCODE BAPI1075_GEN-BARCODE N 11 X Bar Code
KANBANCONTROLCYCLE BAPI1075_3-CTRLCYC_NO C 7 X Number of Kanban Control Cycle
KANBANID BAPI1075_LIST-KANBAN_ID N 10 X Identification Number
KANBANNO BAPI1075_LIST-KANBAN_NO N 3 X Kanban Item Number/Control Cycle Item
PHYSICALTIME BAPI1075_PHYSTIME u 14 X Time of Material Withdrawal
WITHDR_QTY BAPI1172_WITHDR_QTY u 13 Quantity Withdrawn from the Control Cycle

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Message if Quantity Signal not Possible

Paramètre Reférence Long. Facultatif Description
STATUSCHANGERESULT BAPI1075_3 701 X Result of Kanban Status Change

Functionality
With this method, a quantity signal is carried out for a kanban controlcycle. The system searches for full kanbans in the control cycle andwithdraws the specified material quantity from these. If a kanban iscompletely emptied during this process, then it is set to acorresponding status.
The main entry parameters are:

  • Control cycle (if the function module is called as a method for the
  • object kanban control cycle, this parameter is not available, but isentered by the object instance).
    • Material quantity

    • The information about the status change is issued.
      COMMIT and ROLLBACK WORK: the function module does not carry out anyCOMMIT work. Command off. The initiator must make sure of this his selfafter ending the function module. Each time after calling the FM aCOMMIT WORK must take place. It is not permissible to call this FMseveral times and then to post the result with a COMMIT WORK. If the FMfinds an error during the processing, then in some cases the commandROLLBACK WORK is carried out. In these cases the kanban is either setto ERROR or in the parameter RETURN, an error message is issued.

      Example

      Notes

      Further information

      Description
      Error message, if the quantity signal could not be posted. Depending onwhich functions are being used during the kanban status change, avariety of errors could occur.
      Possible error messages are, for example:

      Value range
      Control cycle not available
      Control cycle from WM/PP cannot be processed here
      Kanban data is locked by user <(>&<)>
      Data could not be locked (system error)
      The quantity to be withdrawn is not available in the kanban
      Unit of measure transmitted does not match that of the control cycle
      No authorization for triggering kanban signals in plant

      Description
      Exclude authorization check for kanban status change
      This parameter determines whether the authorization check for a kanbanstatus change is carried out. The system checks whether the user isallowed to set the kanban status for the control cycle, plant, andproduction supply area. As standard, the authorization check is alwayscarried out. If the parameter is set to 'X', the authorization check isexcluded. The authorization check for the kanban status change can onlybe used if the Business Function Kanban Enhancements for LeanManufacturing (LOG_PP_LMAN_02) has been activated.

      Description
      Barcode of kanban

      Description
      With this key the control cycle is created in the system.

      Description
      Kanban identification number

      Description
      Kanban item number/control cycle item

      Description
      If the quantity signal is not posted straight away but later, then herethe actual time can be entered at which the material is withdrawn. Thetimes in the kanban and in the KANBAN Logistics Information System arethen updated as if the quantity signal was posted synchronously.

      Default
      The current time is taken as default.

      Description
      This quantity is withdrawn from the control cycle; the system searchesfor kanbans in this control cycle, which contain material. The materialquantity is withdrawn from these kanbans. If one or more kanbans arefully emptied, then they are set to status EMPTY.
      The unit of measure does not have to be specified. It is automaticallytaken from the control cycle. If it is given anyway, then it must matchthe unit of measure given in the control cycle.

      Description
      For every kanban whose status has been changed, a record is given inthis list. This contains the following data: kanban and control cycle,new status, replenishment element if one has been created, materialdocument if one has been created and the error message if the kanbanhas been set to ERROR.