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

Similar Messages

  • 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

  • Functional module for component overview screen in production order

    Hi All,
    My requirement is,
    If I am replacing component in BOM then same I need to replaced in existing production ordder. My input will be old item code(BOM component), new item code, plant, production order(If I do not give prdn order as input then system have to find out all possible enteriesl), order status.
    Can you tell me any functional module or any logic which can serve this purpose. Here I am having two requirements,
    1. To find out all possible production orders in which old item is used
    2. To replace old item by new item

    Dear Chetan,
    if QM recoeding & UD has not taken place, then
    1) Cancle the GR, Confirmation & GI of orders (if Auto GI & GR is activated)
    2) if both are activated, then just cancle the order in CO13
    3) then Go for READ PP MASTER DATA, it will work for You
    Regards
    kumar
    Edited by: kumar kumar on Sep 29, 2009 9:21 AM

  • 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 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 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

  • Function module to change price of uploaded product

    Hi Gurus,
    is there any function module to change price of uploaded product info in crm
    regards
    Naveen
    Edited by: Naveen Kumar on Feb 13, 2009 12:05 PM

    condition record can modify using FM 'CNFPR_RECORD_PUT'

  • 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

Maybe you are looking for

  • How to use an iPad as a second monitor with Bluetooth?

    I know there are several apps that will allow me to use my iPad as a second monitor over my wifi connection. But is there a way to us it over blue tooth or with a special cord? Thanks!

  • Japplet in jsp

    hi all i cant understand what wrong i m doing....i m annoyed very much my jsp page is in /UASEProject/Webcontent directory and applet class is in /UASEProject/Webcontent/registration directory and also its java file. jsp page is running successfully

  • Report on Consolidated Status

    Hi Guys, I am looking for a report which can be generated for all the NC in consolidated status for which Request are waiting in PRD buffer and not imported to PRD yet. scenario Whenever we consolidate a NC all the request goes to PRD buffer and wait

  • Help with resizing rectangles

    I am very new to adobe and have been struggling with a project that I need to do. I have one rectangle the size of 8.5 x 11 and I need to copy the rectangle and then reduce it to 80% of the orginal rectangle. Can anyone help me with this, I have been

  • Client Java 6u43 for OAS Version  10.1.2.3.0

    Hi Following is our environment Oracle Application Server (Infrastructure/MiddleTier): Version 10.1.2.3.0 Additional Component: WebUtil Client Machine: Windows 7 32-bit Current Java version: 6u11 Issue: Clients complain of Forms hanging sometimes. Al