2011 Oct 25 3:42 PM
Hello world,
I want to use functionalities of capacity planning in the PP-Module. Work Centers / capacities for capacity supply are created.
But I don't have any objects in SAP, that can create capacity requirements (e.g. planned orders, production orders, ...) because PP is not in use here. So I need to create capacity requirement records based on external data myself using ABAP.
My expectation was, there must be a function module I can feed with these data and that will create according KBED-records, but I couldn't find one. Now I need help!
Ben
2011 Oct 26 9:48 AM
Wouldn't it be easier to create one dummy material per work center, with a simple routing containing a capacity requirement of 1 second per 1 item, and then maintain planned orders via BAPI to create/change/delete the capacity requirements? Okay, you would need to do some basic PP customizing, but most of it should work out of the box.
2011 Oct 26 9:48 AM
Wouldn't it be easier to create one dummy material per work center, with a simple routing containing a capacity requirement of 1 second per 1 item, and then maintain planned orders via BAPI to create/change/delete the capacity requirements? Okay, you would need to do some basic PP customizing, but most of it should work out of the box.
2011 Oct 26 2:10 PM
Creating objects that create KBED-records is an option I was already thinking of. The point is the volume of 50,000 resources we require. In this context it would mean not only create and maintain (automatically) 50,000 work centers but as many materials and routings as well. This would raise the complexity of the interface.
That's why I don't fancy this solution too much.
Unfortunately it's quite tricky finding out which tables and values are involved bringing a capacity load into CM01.
2011 Oct 28 1:43 PM
I found an easy way to handle this:
Create one Dummy Material with one routing and one operation. All must lead to Capacity relevance.
Create one Planned Order for this Dummy. This creates all required records in KBHD, KBED and others.
Add as many KBED-records as required with same KAPID and increasing counter.
See the result in CM01
To reorganize these KBED records simply delete the Planned Order. All assigned KBED-records are gone then.
QED