Skip to Content
author's profile photo Former Member
Former Member

Required and Available Capacity

Hi all,

For Z-Report, i have field for Required Capacity and Available Capacity. Please help me to understand how to calculate the required capacity and available and fetch in Z- reports.

I have tables

KBKO Header record for capacity requirements

KBED Capacity requirements records

KBEZ Add. data for table KBED (for indiv. capacities/splits)

Please provide the logic to get required and available capacity.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Feb 19, 2015 at 08:19 AM

    Hello,

    Work center ARBPL and plant WERKS to table CRHD & get Capacity ID KAPID.

    Then pass Capacity ID as Capacity KAPIE to KAKO. Also ARBID from CRHD you can link to KBED.

    Best Regards,

    R.Brahmankar

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 19, 2015 at 01:19 PM

    Hi SAPPP,

    I had a similar requirement in the past and we copied the standard CM01 program (and some of the includes) in order to get the exactly same result in an internal table. I recommend to do this. CM01 calls several functions, most of them not released, and its not so simple to replicate the logic working with tables or a single FM.

    If you are interested, send me a private message and I will share the ABAP code. You can use it as an example.

    Kind Regards,

    Mariano

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.