Function Module to Calculate Capacity per Shift.

Hello SAPients.
I have to create a report where I have to distribute the production requirement (table KBED) in different shifts. I tried to calculate the values with normal calculation in programming but it's getting too complicated finding the right amounts per shift. For example, I have a requirement of 100 CAses and 3 shifts for the 09/10/2006, the output should be 50 in first shift and 25 for the second and the third shift. I have to consider the capacity of the Work Center and the Shift.
Do you know of a function module to achieve this?
Thank you in advance for your help.
Message was edited by: Ricardo Fernández Vázquez

Hi All,
Just to reopen this issue, even I am looking for a similar functionality.
To reinstate the requirement:
I want to find shifts and corresponding capacities for a work center. These details are obtained from CR03 and CR13 transaction.
If possible do let me know Function module or tables for the same.
Debs

Similar Messages

  • Function module to calculate capacity requirements of production order

    HI
    Hav a requirement to calculate capacity requirement  for production orders like we see in cm50... does anyone know a function module to calculate capacity requirement?

    Hi All,
    Just to reopen this issue, even I am looking for a similar functionality.
    To reinstate the requirement:
    I want to find shifts and corresponding capacities for a work center. These details are obtained from CR03 and CR13 transaction.
    If possible do let me know Function module or tables for the same.
    Debs

  • Function Module to calculate Open Contract Quantity

    Hi All,
    Is there a function module to calculate Open Contract Quantity?
    Thanks.

    Hi Ravi,
    Thanks for the reply.
    For this FM, i need to pass the Sales Doc Number. Is there an FM where i can pass the contract number?
    Best regards,
    Sindy

  • Function module to calculate available budget

    Hi everyone
    Is anybody aware if there is any function module which calculates the available budget from the report alr_87013558?
    thanks and kind regards

    thanks Paolo
    yea, i tried to debug that report but in vain
    is there any other way?
    I could get the value assigned, the budget value but not the actual
    So was wondering if anybody can help me
    thanks for your help

  • Function module to calculate Estimate delivery lead time

    Hi Experts,
    It's ugrent.
    In APO System,
    I need a function module to calculate the estimated delivery lead time, The estimate delivery lead time is the time in weeks between the current date and the estimated delivery date. This is rounded up to the next integer value.
    Thanks in advance,
    Regards
    Adil

    Hi Vishal,
    I've declared two variables
    DATA: LDATE(20),
               LTIME(20).
    CALL FUNCTION 'GET_SYSTEM_TIME_REMOTE'
    IMPORTING
      K_DATE        =
      K_TIME         =
       L_DATE         = LDATE
       L_TIME          = LTIME
    AND IN THE FORM HEADER I'VE GIVEN IT AS,
    WA_HEADER-TYP  = 'S'.
    WA_HEADER-INFO = ': Date'.
    WA_HEADER-KEY  = LDATE.
    APPEND WA_HEADER TO IT_HEADER.
    WA_HEADER-TYP  = 'S'.
    WA_HEADER-INFO = ': Time'.
    WA_HEADER-KEY  = LTIME.
    APPEND WA_HEADER TO IT_HEADER.
    STILL IM NOT GETTING WAT ELSE IS REQUIRED ?

  • Function module to calculate Variable-Size Item

    I am creating a report for manual reservation. User wants to calculate quantity of material if he enters size1, size2 and size3. Also he wants that a formula key option to be provided so that he can mention conversion formula. Is there any standard function module to calculate quantity?

    Hi Vishal,
    I've declared two variables
    DATA: LDATE(20),
               LTIME(20).
    CALL FUNCTION 'GET_SYSTEM_TIME_REMOTE'
    IMPORTING
      K_DATE        =
      K_TIME         =
       L_DATE         = LDATE
       L_TIME          = LTIME
    AND IN THE FORM HEADER I'VE GIVEN IT AS,
    WA_HEADER-TYP  = 'S'.
    WA_HEADER-INFO = ': Date'.
    WA_HEADER-KEY  = LDATE.
    APPEND WA_HEADER TO IT_HEADER.
    WA_HEADER-TYP  = 'S'.
    WA_HEADER-INFO = ': Time'.
    WA_HEADER-KEY  = LTIME.
    APPEND WA_HEADER TO IT_HEADER.
    STILL IM NOT GETTING WAT ELSE IS REQUIRED ?

  • Function Module to calculate pallets

    Hi,
    I need a Function Module to calculate pallets for free of charge articles while creating a sales order.
    can someone name any FM for this purpose.
    Thanks in advance

    Hi Abhishek,
    Check FM L_PALLET_SUGGESTION.
    Hope this helps.
    Thanks
    Lakshman

  • Function module to calculate due date of FI document

    Hi All
    I need a function module to calculate the due date of FI document considering BSId Zterm ( Payment terms ) Document date , Basline date .
    Regards,
    chitra

    call function 'FI_TERMS_OF_PAYMENT_PROPOSE'
      exporting
        i_bldat         = gv_bldat
        i_budat         = gv_budat
        i_cpudt         = sy-datum
        i_zfbdt         = gv_zfbdt
        i_zterm         = gv_terms_paym
        i_bukrs         = gv_comp_code
      importing
        e_zbd1t         = gv_zbd1t
        e_zbd2t         = gv_zbd2t
        e_zbd3t         = gv_zbd3t.
    faede-shkzg = 'H'.
      faede-koart = 'K'.
      faede-zfbdt = gv_zfbdt.
      faede-zbd1t = gv_zbd1t.
      faede-zbd2t = gv_zbd2t.
      faede-zbd3t = gv_zbd3t.
      faede-bldat = gv_bldat.
      call function 'DETERMINE_DUE_DATE'
        exporting
          i_faede = faede
        importing
          e_faede = faede.
    *    if sy-subrc eq 0.
      duedate = faede-netdt. <<<<<< ------

  • Function module to calculate withholding taxes

    Hi all,
    Can anyone please tell me if there is any function module to calculate withholding taxes?
    Thanks,
    Diogo LF Moreira

    Hi,
    You can use the function module FI_WITHHOLDING_TAX_CALCULATION
    Regards,
    SDNer

  • Function module to calculate WBS Remaining Plan

    Hi all,
    Is anyone know if there is Function Module to calculate WBS remaining plan?
    thanks,
    libl69

    Try function MD_CONVERT_MATERIAL_UNIT
    the table of UOM's is MARM.
    Doug

  • What is the function module to calculate "years of services" in HR?

    What is the function module to calculate "years of services" in HR?

    hi ,
    following function module will help you to find the years of service
    CALL FUNCTION 'HR_HK_TOTAL_YOS' "HR-HK: Calculate an employee's total years of service
      EXPORTING
        years1 =                    " pea_scryy     Years of service
        months1 =                   " pea_scrmm     Months of service
        days1 =                     " pea_scrdd     Days of service
        years2 =                    " pea_scryy     Credit years of service
        months2 =                   " pea_scrmm     Credit months of service
        days2 =                     " pea_scrdd     Credit days of service
      output_format = '01'        " char2         Format to display the output
      IMPORTING
        years =                     " pea_scryy     Total years of service
        months =                    " pea_scrmm     Total months of service
        days =                      " pea_scrdd     Total days of service
        .  "  HR_HK_TOTAL_YOS
    thanks u..

  • Function module to calculate quantity of unrestricted stock

    Is there any function module to calculate the quantity of unrestricted stock in alternate units of measure.
    For example we have a material '123456', its unit of measure is 'EA'(eaches) and we have 172 'EA'.
    but this material can be issued only in boxes. Each box has 50 'EA.
    I believe that SAP has a standard function module to convert the quantity, because the quantity gets updated in transaction 'MMBE' depending on our UOM selection.
    If not can you please let me know which table stores the relation between the UOMs.
    Thank you,
    Goldie.

    Try function MD_CONVERT_MATERIAL_UNIT
    the table of UOM's is MARM.
    Doug

  • Function module which calculates GL balances

    Hello to you all,
    I am looking for a function module which calculates balances for GL account as Tcode FS10N do.
    I would like to implement this FM in an ABAP program,
    Thanks,
    Amir

    Hi
    Check the  Code, if it could be of use to you
    http://www.sapfans.com/forums/viewtopic.php?f=10&t=317349
    Regards
    Sanil Bhandari
    Edited by: Sanil K Bhandari on Jun 29, 2011 6:17 PM

  • Function module to calculate Requirements !!!! Pls Advice

    Hello friends ,
    I need to find the function module used to calculate the Capacity Requirements (Hours) in CM01 transaction . Is there any function module using which this SAP program calculates the Requirements( Hours) . Please advice .
    Thank you

    Hi Hari,
    Try the FM "CBP_EXC_WC_CAPACITY_REQUEST".
    Hope it helps.
    regards,
    Raj

  • Function module for avialble capacity shiftwise

    Hi,
      I'm searching for a function module for a workcenter where it gives me available capacity in Hrs and shift wise for a given period and daywise. I have a tested a FM CR_CAPACITY_AVAILABLE_TIMES but its giving me with all the break times. is there any FM to get the reult like date shift avialble capacity.
    Regards
    Ramana

    As there are No inputs for a long time I'm Closing this Thread.
    Thanks
    Ramana

Maybe you are looking for

  • Within which program was a PDF created?

    Hello, I have a PDF document created with MS Word 2010 -- but I do not know if this pdf was created with Acrobat Pro oder something else: Document properties, tab "Description", "Application": "PScript5.dll Version 5.2.2" When I am converting such a

  • How do I fix an error message during the installation of Flash on a Macbook running Mavericks?

    Hello Everyone, I'm getting an error message when installing Flash on my Macbook running the most current version of Mavericks.  It starts to install, then says "Could not complete installation" and the only option that I have to quit the installatio

  • ALE idoc (MM)

    Hello Gurus!!                   I want to know the exact procedure how to post the idoc(ale) in material mapping using transactions BD10, BD91, BD92, BD30, CLD1, CLD2 and MEK3.                  Kindly let me know the same and please it would help me

  • Using custom SessionCookieFactory

    Hello. I’m trying to use derived SessionCookieFactory defined as the jbo.ampool.sessioncookiefactoryclass parameter in my ApplicationModule. I’m trying to use code: public SessionCookie createSessionCookie(String name, String value, ApplicationPo

  • Error when restoring

    Please HELP! I was trying to restore my Ipod Touch but there was an error so now my Ipod is not working and I can't even sync it....Thanks