Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create Capacity Requirements (Table KBKO, KBED) from external Data

Former Member
0 Likes
3,110

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,893

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.

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

3 REPLIES 3
Read only

Former Member
0 Likes
1,894

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.

Read only

0 Likes
1,893

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.

Read only

0 Likes
1,893

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