BAPI for reading capacity of a workplace/work center?

Hi,
I'm looking for a BAPI/RFC using SAP MII to read the capacity of a workplace/work center in a given time period (eg. one or more days/weeks/...). I would like to use the import parameters plant ( WERKS ), date from, date to, workplace/work center (eg. CRHD-ARBPL ) and capacity category (eg. KAKO-KAPAR ). As output I would like to get a list of (planed/used) capacities as the working time for the given time period at the specified workplace/work center.
In theory the BAPI CBP_EXC_WC_CAPACITY_REQUEST nearly does what I want. The only drawback is, that it outputs the "wrong" time.
Let me give an example: The work center uses at a given day a capacity from 6 to 22 clock, including one hour break. This gives us a working time of 15 hours for this workplace and day. And "15h" is the time I need. But as there are working 5 worker at this work center the BAPI CBP_EXC_WC_CAPACITY_REQUEST returns 75 hours (which is 5 * 15). But the result "75" is useless for me as long as I don't additonal get the number of workers.
I've searched in our SAP system and in this forum, but wasn't able to find another BAPI that gives me the correct time. As an alternative I would need another BAPI to get me the number of workers for a workplace/work center at a given time. But I also was out of luck finding one.
Looking out for help,
Simon

Thanks for your fast reply!
I have looked to both functions before. Beside that they are both not remote enabled (which is not such a big problem as I could copy them or build a custom BAPI around them) I'm not quite sure how they could solve my problem.
If I got it right, I would first use CR_CAPACITIES_OF_WORKCENTER to get the KAPID and using it as input for CLOI_WC_CAPACITY_READ. But I have problems to understand the output of CLOI_WC_CAPACITY_READ. The data type of the capacity is a float ( FLTP ) and the number seems to be to big, eg. 9.800000000000000E+01= 98h for one day.
Could you try to explain your solution once again?
Thanks,
Simon

Similar Messages

  • Different activity type for different capacity category in a work center

    Hello,
    Multiple capacity categories can be created in a work center like
    Engineer
    Sr. Engineer
    Architect
    Rates for all of them will be different (obviously) , however we can only have 1 activity type as default in a work center . We intend to 'HR assignment' corresponding to each capacity category . how can we have multiple activity type for different capacities (Engineer , architect etc).
    With regards,
    Mrinal

    Hi Paulo,
    thanks for your quick reply.
    Requirement is to assign all persons (Engineer, architect ) to 1 work center and to 1 activity , but to default different activity type (corresponding to capacity category) in worklist of time sheet .
    With regards,
    Mrinal

  • FM / Bapi to read capacity utilization

    Hi,
    Is there a BAPI to read capacity utilization for a product-location combo? Or do we have any other means?
    regards,
    shan

    if what you mean is the Capacity utilization of the resources...
    you can see the utilization in the planning book 9ASNP94 capacity view
    you can extract this using the BAPI for Planning book
    there are other ways of extracting this too :
    You can also use /SAPAPO/CDPS_REPT - Order and Resource Reporting
    or in the planning board by choosing the Evaluation >> Resources
    sure of a BAPI but some of these reports might give you a clue about the FM used

  • Displaying the Capacity Load in a Work Center

    Dear Sir,
    i would like to Displaying the Capacity Load in a Work Center for the previous periods . that is for the last two months i would like to know the capacity load in my work centre. in mc01 capacity load are displayed for the future but not in the past
    thanking you
    arun kumar

    Hi,
    In CM01 transaction Menu click on Settings -> General;
    In the data area Interval to be evaluated start field will be blank by default. you can enter in -value so that start date would go in past.
    click on Time periods button . check Period of database selection From date. You can get details only from the date for the Overall profile attached.
    if this has not solved your purpose, you have to change OverallProfile.
    Planning -> Profiles -> Overall Profiles.
    Select another Overall profile.
    Regards,
    Krishna Mohan

  • Capacity Load in a Work Center

    Dear Sir,
    i would like to Displaying the Capacity Load in a Work Center for the previous periods . that is for the last two months i would like to know the capacity load in my work centre. in mc01 capacity load are displayed for the future but not in the past
    thanking you
    arun kumar

    Hi,
    In CM01 transaction Menu click on Settings -> General;
    In the data area Interval to be evaluated start field will be blank by default. you can enter in -value so that start date would go in past.
    click on Time periods button . check Period of database selection From date. You can get details only from the date for the Overall profile attached.
    if this has not solved your purpose, you have to change OverallProfile.
    Planning -> Profiles -> Overall Profiles.
    Select another Overall profile.
    Regards,
    Krishna Mohan

  • BAPI for reading CCMS values

    Hey everyone,
    I am currently developing a small application which reads actual values from the CCMS Monitoring, but I got a small problem.
    I actual use the BAPI " BAPI_SYSTEM_MTE_GETPERFCURVAL" to read the values from the ccms environment (e.g CPU_Utilisation).
    But for some values this is not working. A collegue told me to use " BAPI_SYSTEM_MTE_GETMLCURVAL".
    But this one is also not working for all CCMS Items (eg. it is not working for CPU_Utilisation).
    Is there a BAPI which can read all CCMS values. It would be great if there is an BAPI which has the same input parameters as the ones above.
    Regards
    Markus
    PS: (Yes, I know in the near future there will be a new monitoring environment (MAI))

    Hi,
    I figured something out.
    Each CCMS Object has a type. (performance, logging, allerting)
    https://help.sap.com/saphelp_nw04/helpdata/en/6a/c7453bafc6007ce10000000a11402f/content.htm
    I know, that the BAPI " BAPI_SYSTEM_MTE_GETTIDBYNAME" Delivers me the TID for the given MTE-OBJECT-Name tupel. Inside the TID is a field which is called "MTCLASS".
    Can anybody tell me, where I can find the values for the field "MTCLASS" so that I can decide wether to use "BAPI_SYSTEM_MTE_GETPERFCURVAL" or "BAPI_SYSTEM_MTE_GETMLCURVAL"?

  • BAPI for read FI documents in material document

    Hi all,
    with transaction ME23N i can display Material Document and in the tab 'Doc. info' i can display FI Documents if i click on the button. I'm looking for a BAPI to read this FI documents from the material document.
    Thanks for your help.
    Cheers

    If you mean that you need to know what BAPI's a particular transaction uses, which I can only assume that's what you mean, then you should access the code behind the transaction and search for 'CALL'. That normally is the standard method that think that most people use. 
    Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this. 
    1. Find out the package of the transaction. 
    Start Va01 go to system --> status. 
    Double click on transaction 
    Package is VA 
    Open this package in SE80 
    Open business engineering-->Business object types 
    Find the BO which sounds the most appropriate 
    I would suggest BUS2032 Sales Order 
    Double click. 
    Open methods. 
    Find the released method with from data or something similar in the name 
    , Createfromdat2 
    Position the cursor in it and click the program button 
    Scroll down to find the bapi used in this method 
    With this way you can also find out programs and FM's 
    2. Start va01 go to system-->status 
    Double click transaction VA01 
    Double click on package 
    Read the application component. (this is SD-SLS Sales) 
    Then open the transaction BAPI 
    Sales and distribution>Sales>sales order 
    createfromdat2

  • Pooled Capacity Not updating in Work center

    Hi All, I want to update pooled capacity in Work center. But when i delete the existing capacity it is giving error that " Capacity still being used". Can any one suggest,how to tackle this problem? I want to give solution to Client. Thanks in Advance..!

    HI,
    Capacity Utilisation rate = Actual Capacity / Theoritical Capacity
    Theoritical Capacity= Shift period * No. of machines available
                                 = 8 hrs * 2 = 16 hrs
    Actual Capacity value depends on how the company decides it. Say if the break 30 mins has to be considered, then the actual capacity will be 15 hrs for 2 capacities and hence,
    Capacity Utilisation rate = 15 / 16 = 93.8%
    So, decide the utilisation rate based on the Company's requiremnt.
    Hope the above gives you an idea.
    -Thaila Shree

  • Capacity Planer Group --- Maintenance work center

    Hi,
    I have a query
    1. like do we have to create capacity planner groups same as the planner groups in equipment master data....Do they have any link??
    2. What would be the start time and end time in maintenance work center, for 24 hrs open manufacturing industry with 3 shifts???
    thanks
    DM

    Hello Deepak,
    There is no relation between capacity planner grp & Maintenance planner group...These are 2 different things..
    Now the work centers can be defined for the technicians if  HR module is not implemented...
    To perform the capacity planning for the technicians, there daily working hrs must be maintained in the system..Though the maintenance is working for 24 hrs,Single technician cannot work for entire 24 hrs..
    Hope this will help..
    Thanks

  • What will happen if a maitain both standard available capacity and grouping key ( shift definition and shift sequence) in the capacity header of a work center?

    Hi all,
    Im little confused with the capacity header in work center. In the capacity header there is one place to give start time, end time, length of break and number of individual capacity. And in grouping key i can define the shift and shift sequence. So if im maintaining both of these ( standard avilable capacity and grouping key), which will be considered to calaculate avilable capacity?

    Hi
    If you are running three shifts ,please maintain the data as given belwo
    start :00:00:00
    End:23:59:59
    Break :03:00:00 ( 1 Hour per shift so 3 hrs for 3 shifts)
    No.of individual capacity :1
    System will understand that it is round the clock operation with total three hour brak and you will get 21 hour per capacity
    Hope this helps
    regards
    Prakash

  • BAPI for extracting Capacity profile from resources

    Hi,
    I have a requirement of extracting the capacity profile from resources.
    Is there any BAPI etc that can be used?
    Thanks in advance,
    Zeeshan.

    Thanks Nandha,
    The BAPI is not returning any values. Probably i am not calling with the right parameters. is it possible to send some more details on the necessary parameters? a screen shot would be great.
    Regards,
    Zeeshan.

  • FM or BAPI for reading invoice data from backend

    Hi Experts,
    We use SRM 4.0 and need to read invoice data from Back end (creation time and number).
    Which FM I can use?
    Thanks in advance
    Evgeniy Vazhev

    Hi,
    look at the below BAPI's
    BAPI_CUSTOMER_DISPLAY
    BAPI_CUSTOMER_GETDETAIL2
    Regards
    Sudheer

  • Bapi for reading project information

    hello gurus can any one tell me the bapi which is used to read the project from sap , i,e ps module it should read the wbs elements and activities and newtorks relation of a project
    thanx in advance
    afzal

    hi ,
    there 3 bapi's
    <b>BAPI_PROJECT_MAINTAIN
    BAPI_PROJECT_GETINFO
    BAPI_PROJECT_SAVEREPLICA</b>
    <b>Reward points if useful</b>
    Regards
    Ashu

  • Function modules or BAPI for deleting plan costs on a cost center

    Hi all,
    I search for a function module or bapi to delete plan costs / activity on a cost center.
    At the moment I update the planning with 0, but that cause a mass of needles entries on the cost centers.
    For check and posting I use the function group 6026 - BAPI_COSTACTPLN_* ,
    but there is no function for deleting.
    Has anyone an idea?
    Thx for help - points as reward !

    check
    BAPI_COSTACTPLN_POSTACTINPUT   Activity Input Planning: Posting                
    BAPI_COSTACTPLN_POSTACTOUTPUT  Activity/Price Planning: Posting                
    BAPI_COSTACTPLN_POSTKEYFIGURE  Stat. Key Figure Planning: Postings             
    BAPI_COSTACTPLN_POSTPRIMCOST   Primary Cost Planning: Postings                 
    BAPI_PDTRANSCO_POSTPRIMCOST    Transfer of Planning Data: Post Primary Costs   
    K40C                           CO Actual Postings, Manual                      
    BAPI_ACC_PRIMARY_COSTS_POST    Accounting: Post Primary Costs                  
    BAPI_COPAACTUALS_POSTCOSTDATA  BAPI Operating Concern: Post Costing-Based Actua
    BAPI_PRIM_COST_CHECK_AND_POST  Primary Costs: Formal Parameter Check           
    S@meer

  • Routing fm for assign ing the materials to work center

    Hi all ,
    I have exploded all the sub components of the BOM of a given material number and plant .
    Now i have all the details , now i would like to assign these materials to workcenters available for a finished product in ROUTING process .
    Is there any FM to assign the corresponding components to corresponding work centers in the routing process , so that we have to get the finished product in optimized way .....
    Please let me know you view....
    if there is no FM , let me know you suggestions ...
    Regards
    Raj

    this is one the fm's , c_x is X
    CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
    EXPORTING
        CAPID                       = 'PP01'
        CUOLS                       = 'X'
        DATUV                       = sy-datum
        KNFBA                       = c_x
        KSBVO                       = c_x
        MBWLS                       = c_x
        mehrs                       = 'X'
        mktls                       = 'X'
      MKTLS                       = 'X'
        MDMPS                       = c_x
        MTNRV                       = p_matnr
        WERKS                       = p_werks
    IMPORTING
    TOPMAT                       = l_topmat
      DSTST                       =
      TABLES
        STB                         =  it_stb
      MATCAT                      =
    EXCEPTIONS
       ALT_NOT_FOUND               = 1
       CALL_INVALID                = 2
       MATERIAL_NOT_FOUND          = 3
       MISSING_AUTHORIZATION       = 4
       NO_BOM_FOUND                = 5
       NO_PLANT_DATA               = 6
       NO_SUITABLE_BOM_FOUND       = 7
       CONVERSION_ERROR            = 8   OTHERS                      = 9.
    regards
    Raj

Maybe you are looking for

  • Integration Worklist error: "An internal error has occurred."

    Hi, While accessing integration worklist webapp hitting the error "An internal error has occurred. Please contact the administrator or Oracle support for help". My standalone weblogic server is a view based install, the logs are as follows: [2011-05-

  • CIF Error in APO SMQ2

    Does anyone know what this error is? Order type B Order number 0084046447 Method Message no. /SAPAPO/RRP501 I also see this: A table entry already exists with this secondary key Message no. /SAPAPO/OM_ERROR215 Diagnosis An application program called

  • PDFMaker ignores pdfmarks in Word 2013 PRINT fields

    I've updated from Word 2003 to Word 2013. I'm using PDFMaker of Acrobat  XI. My Word documents contain PRINT fields with pdfmark instructions. These instructions were processed correctly when I used PDFmaker in Word 2003 to create PDF documents. They

  • After sync photos onto computer how do l view them?

    after syncing my data onto computer from iphone how do l view my photos?

  • How do I install a short cut to Face Book?

    How do I install a short cut to Face Book? When I minimize that page, it is too small to move a short cut. I tried copying for a short cut but it won't work. == This happened == Not sure how often == today