Kanban- User Exits

This post will give you the details of the user exits that are available for the KANBAN Process. I will invest time in future to update the list in detail.

MPKB0001  User’s own functions in the Kanban processing
MPKB0002  Customer defined display in kanban board
MPKC0001  User exit for kanban calculation
MPKCCY01  User-Defined Fields in Kanban Control Cycle (P
MPKCCY02  Customer Error in SumJC Control Cycle
MPKD0001  Kanban output as EDI
MPKP0001  Customer Defined Display in Kanban Board
MPKP0002  Customer-Specific Fields Call Interface
MPKR0001  Customer fields in kanban control cycle      

Kanban – For SD


In my previous posts we have seen on the Kanban for the Inhouse, External procurement, interestingly we do have kanbans for the Customers also.
In the Current manufacturing world the kanban is involved in the full production to sales of a Product.
There are many articles / Case studies / White papers that flows when you google for this topic.


The manufacture produces the material and supplies to the customer in a Kanban container.
This kanban containers is in cyclic movement between the Customer and the Supplier.
Large automobile giants currently are working on this kanban with lot of automation’s.
The manufacture can use REM / Discrete Production method as per the business requirement.
I have taken the example of REM environment.
In this post i will guide you to set up this scenario.
Master Data Requirement:
1. Material Master, BOM, Routing,Workcenter,Production version – All this for the REM setup.
2. The material master should support sales functions
3. Customer Material Information.
4. Kanban Control cycle.
Configuration Pre Requisites:
1. OM11- Inhouse replenishment strategy
* Control Type – as 2-Processing with Planned orders and Cost collector.
* In this Kanban With SD needs to be selected with 1-Delivery what status Full and GI when status is in use.
2. SD- Scheduling Agreement Document type
* You can use BL, check the MRP for Dlv Schedule type to the correct one.
I have worked with A.
Process Flow:
1. Set up the Master data for the FG so that it is ready for reporting Production.
2. Now Create a Scheduling agreement for the FG material.
3. Here in the Forecast delivery Schedule you can maintain few values ( 1000 ea) for next 3 months.
4. The assumption is the Customer gives us a Forecast delivery schedule well ahead of time and periodically sends us the JIT delivery schedule.
5. Once you have set up the scheduling agreement create the control cycle for FG, in this you have to maintain the SD scheduling agreement in the In house replenishment strategy.
6. Once your Control cycle and SD scheduling agreement is ready , the kanban cycle can get started.
7. Now whenever we receive the JIT delivery schedule we wil update the quantity in the JIT delivery schedule of the SD Sched. Agreement.
8. Now let us say the Empty kanban container is received from the customer then during the receipt of this empty container the status of the container will be changed as EMPTY,
* This status change will trigger a Planned order created for the Fg.
9. As the planned order is triggered now the Manufacturing department will be producing the product and filling the container.
* Once the container is Full now the Status will be changed form EMPTY TO FULL.
* This Status change will trigger a DELIVERY to be created for the Scheduling Agreement.
* At the same time a GOODS RECEIPT /ISSUES will be posted for the PLANNED ORDER.
* STOCK Of the FG will be increasd.
10. Now as the container is full now it is ready to be transferred to the customer, so when the container is physically sent to customer place then the status of the container will be changed from FULL TO IN USE.
* This status change will do a PGI for the DELIVERY.
* The stock of FG will be reduced.
11. After this the Billing and other business process can be started.
12. This above process cycle will help you to configure the basic cycle of Kanban for the SD cycle,
13. The below Diagram is for reference.

Kindly Post your querries/ Feedback.

Kanban-External Procurement


In my previous post we have seen the Kanban for the In house production. In this post
I will be writing about the Usage of Kanban in the External procurement.

In this Kanban we will viewing the usage in the External Procurement for the below procurement types
1.Purchase order.
2.Scheduling Agreement with Delivery schedule.

1. Kanban with Purchase order:

1.1 Master Data Requirements:

1.Material Master ( Procurement type F)
2.Vendor Master
3.Purchase Info Record( ME11)
4.Source list ( ME01)
5.Kanban Control cycle ( PKMC)

1.2. Configuration Requirement:
1. External procurement Strategy- OM12
· In the Control Type – You need to maintain with Purchase order

1.3. Requirement Over view.

· When Kanban Status is set to empty a Purchase order needs to be triggered.
· When the Kanban Status container is Full – A GR needs to be posted

1.4. Process Flow:
i.Create material master for the External procured material
ii.Create a vendor master; maintain the Purchase info record, Source list.
iii. Now Create a Control cycle with PKMC.
iv. In the control cycle maintain the External procurement strategy with
purchase order.
v.Also maintain the Kanban qty, no of kanban etc.
vi.Once the Kanban is done , now you can review the status of the Kanban in the Kanban Board
With Pk13n.
vii.Now the status will be set as wait as this is the initial status,
viii.Now you can right click the container and click the ‘Set next statuses.
ix.Now this will trigger the status to Empty. And you can review the information about this kanban And you can see a replenishment element purchase order has been triggered now.
x.This PO can processed for further actions like PO print, Sending to vendor eTc.
xi.Once when you receive Good, you can go the Kanban board and change the status as “Full”.
xii.Now this status change will post a Goods Receipt against the PO.
xiii.After this the next set of actions like Invoice verification, vendor payment etc can be triggered.
xiv. This cycle of activity can be continued for all kanbans of this kanban control cycle.

2. Kanban with Scheduling Agreement & JIT Schedules.
2.1 Master Data:

i.Material Master ( Procurement type F, JIT Indicator as 1)
ii.Vendor Master
iii. Scheduling Agreement ( Type LPA with JIT Forecast Profile)
iv. Purchase Info Record( ME11)
v.Source list ( ME01) with the Scheduling agreement
vi.Kanban Control cycle ( PKMC)

2.2. Configuration:
i.External procurement Strategy- OM12 with Control Key 7 Summarized JIT calls.
ii.SA Release Creation Profile.

2.3 Requirement Overview:
·When Kanban Status is set to Empty a JIT Call needs to be triggered.
·When the Kanban Status container is full – A GR needs to be posted against this JIT call.

2.4. Process Flow:
i.Create the material master for the externally procured material
ii.Create Scheduling agreement with LPA, Assign Profile and kanban indicator in the item additional data
iii.Assign the SA in the Source list.
iv. Create control cycle and maintain the External Proc Strategy and SA details.
v.Once the Kanban is done , now you can review the status of the Kanban in the Kanban Board With Pk13n.
vi.Now run the MRP run so that the demand triggers some schedule lines( Pre requisite- this is planned in MRP and it has some depended demands)
vii.We need to see the Schedule lines in the MDO4 screen.
viii.Now Release the SLines with ME84.
ix. After this review the status of the container in the Kanban Board PK13N.
x. Now you can right click the container and click the ‘Set next status’.
xi. Now this will trigger the status to Empty. And you can review the information about this kanban And you can see a replenishment element JIT Call has been triggered now.
xii.Again you can change the status from EMPTY to FULL in the same T.code PK13n.
xiii.This status change will do a Goods Receipt for the JIT Call.

This post helps you to do the start up of kanban for the External procurement, Kindly drop in your comments and clarifications. Also I will be posting about the SD-Kanban in the Next post..so keep watching.

Kanban – Inhouse Production

* kanban is one of the manufacturing methods that are used in the most of the manufacturing industries recently.
* In SAP Kanban is used in the different Procurement Process like Inhouse Production, External procurement, & Stock transfer ,
* Currently SAP Has capability of handling the same for the Sales and Distribution as customer kanban also.

* This topic helps the user to configure the kanban in the SAP system for the Production Planning with different procurement Types.

* Generic Master data requirement.

Master Data:
1.Material master
2.Bill of Material.
3.Work Centre
4. Routing.
5. Production version.
6. Product Cost collector(PCC) – For Rem process.

1. OM11-In house production strategy.
2. Supply Area.
3. Rem Profile.
4. production Scheduling profile.
5. All other setting for the production order related process.

1. Strategy 0001- Working with kanbans and PCC

1.1. This strategy works based on the REM planned order.
1.2. So the care on the master data setup with rem profile, Prd versions, product cost collector are all to be verified before we start the setup.
1.3. After we have checked for the master data setup we need to set up the Kanban control cycle.
1.4. Kanban Control Cycle – T.Code – PKMC
1.5. In PKMC – give the Plant, supply area, and you can see a creation indicator to create the same.
1.6. In the control cycle we need to define the kanban container related setting, Like No .of.Kanaban’s, Quantity / kanban container, And also the procurement strategy.

1.7. Here we will be working with In house production strategy.

1.8. There are few other tabs like Flow control, Kanban calculation, print control

1.9. To keep the scenario simple we are not maintain any ting in the other 3 tabs.

2.0. Once you complete this setup you can go to the kanban Board with T.code Pk13n.

2.1. Kanban Board- PK13N.

2.2 This helps you to view the status of the kanban containers,

2.3. Kanban has different status like Empty,Full,in use, etc. We will work with only 2 status like
Empty and Full.

2.4. Status – Empty means- There is is no material inside the Container, Full means – The container is having Full Quantity of material as mentioned in the control cycle.

2.5. PK13N- Now enter the T.code and See the status of the container.

2.6. Generally Whenever we see the container for the first time we will be seeing it as Wait,

2.7. Now we need to change the status as Empty.

2.8. To do this you can see an icon for Full or you can right click the mouse by placing the cursor on the container.

2.9. As you change the status the colour of the container also changes.

3.0. Empty Kanban – Red Color, Full Kanban- Green Color.

3.1. Also when you change the status from Empty to Full – A Goods Receipt  is posted and stocks are increased.

3.2. When the status is changed from Full to Empty –
3.3. Now Whenever there is change in the status ShopFloor The same will be done in the kanaban board also, Currently these has been automated with interfacing with RF Scanners also.

2. Strategy 0002- Working with Planned order and PCC
2.1. This Strategy exactly works like that of 0001 described above, The difference is it creates planned order that are visible in the md04 screen.
2.2  These Planned orders are the Replenishment Elements.
2.2. Apart all are Same like the 0001 strategy.

3. Strategy 0003- Working with Production order.
3.1. This strategy creates replenishment element of production order.
3.2. here the scheduling is to be forward scheduling so you need to create a production scheduling profile, which makes forward scheduling and Release the production order immediately as it gets created,else you will get error.
3.3.Apart all the process are similar.

The above is the beginning for someone new to kanban, Kindly leave your comments for any query.