Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>KanbanControlCycle



Index

KanbanControlCycle

KanbanControlCycle


The business object Kanban control cycle describes the
information that is used in KANBAN production. A kanban control cycle
specifies the relationship between a supply area as consumer of a plant
material and its supply source. Moreover, it determines the number and size of the related kanban containers.


11-Dec-2005


Methods

Available Methods


  • AddEventdrivenKanban : Create event-driven KANBAN for control cycle [ BAPI_KANBANCC_ADDEVENTDRKANBAN ]
  • GetList : Determine kanban control cycles with selection criteria [ BAPI_KANBANCC_GETLIST ]
  • WithdrawQuantity : Quantity signal for kanban control cycle [ BAPI_KANBANCC_WITHDRAWQUANTITY ]

11-Dec-2005


AddEventdrivenKanban

AddEventdrivenKanban


With this method you can procure a material quantity for a controlcycle. To procure this material quantity one or more kanbans are created 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 given by 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 after
    ending 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 command
    ROLLBACK WORK wil be carried out. In these cases the kanban is eitherset to ERROR status, or in the parameter RETURN an error message is given.


    11-Dec-2005


    GetList

    GetList


    This method gives a list of control cycles for one or more selectioncriteria. Make sure that the individual selection parameters are linked with a logical AND in the data selection.


    11-Dec-2005


    WithdrawQuantity

    WithdrawQuantity


    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 is completely emptied during this process, then it is set to a
    corresponding status.

    The main entry parameters are:

  • Control cycle (if the function module is called as a method for theobject kanban control cycle, this parameter is not available, but is entered 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 a
    COMMIT 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 set
    to ERROR or in the parameter RETURN, an error message is issued.


    11-Dec-2005