Fonction SAP BAPI_KANBANCC_ADDEVENTDRKANBAN - Create Event-Driven Kanban for Control Cycle

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DELIVERYTIME BAPI1172_DELVRYTIME u 14 X Time of Delivery for the Material Requested
EXCLUDE_STATUS_RESTRICTION BAPI1075_GEN-EXCLUDE_STATUS_RESTRICTION C 1 SPACE X Exclude Authorization Check at Time of Kanban Status Change
KANBANCONTROLCYCLE BAPI1075_3-CTRLCYC_NO C 7 Number of Kanban Control Cycle
PACKINGINSTRUCTION BAPI1172_PACKING_INSTRUCTION u 23 X Packing Instruction
PHYSICALTIME BAPI1075_PHYSTIME u 14 X Time of Material Withdrawal
REQUESTED_QTY BAPI1172_REQUESTED_QTY u 13 X Quantity Requested

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Message, when not Possible to Post the Request

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

Functionality
With this method you can procure a material quantity for a controlcycle. To procure this material quantity one or more kanbans arecreated in the control cycle and set to status EMPTY.
The essential 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 givenby the object.
    • Material quantity

    • Information about the status change is issued.
      COMMIT and ROLLBACK WORK: the function module does not carry out anyCOMMIT work. Command off. This must be ensured by the initiator afterending the function module. Each time the function module is called, aCOMMIT WORK must take place. It is not permitted to call this FMseveral times and to post the result with a COMMIT WORK. If, during theprocess, the FM comes across an error, in some cases the commandROLLBACK WORK wil be carried out. In these cases the kanban is eitherset to ERROR status, or in the parameter RETURN an error message isgiven.

      Description
      Error message, if the material request could not be posted. Dependingon which functions are running when the status of a kanban is changed,a variety of errors can occur.
      Possible error messages are, for example:

      Value range
      Control cycle not available
      Control cycle from WM/PP can not be processed here
      Quantity of measure transferred does not match quantity of measure incontrol cycle
      No authorization for triggering kanban signals in plant
      Time of delivery is in the past
      Function is only possible for event-driven KANBAN
      Please enter a quantity or maintain a quantity in the control cycle

      Description
      Here, the time can be specified for the material quantity requested, atwhich the material should reach the demand source.

      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
      With this key the control cycle is created in the system.

      Description
      If the request for the event-driven kanban was not posted straight awaybut later, then here you can specify the actual time at which therequest was sent. The times in the kanban and in the KANBAN LogisticsInformation System are then updated as if the request had been postedsynchronously.

      Description
      This quantity is requested for the control cycle. To procure thisquantity one or more kanbans are created for the control cycle and setto status EMPTY.
      The unit of quantity does not have to be specified. It is automaticallycopied from the control cycle. If it is specified anyway, then it mustmatc the unit of quantity set in the control cycle.

      Description
      For every event-driven kanban created, a record is entered in thislist. This record contains the following data: kanban and controlcycle, kanban status, replenishment element if one has been created,material document if one has been created and error message if thekanban has been set to ERROR.