How is actual coverage calculated in MD04?

Hi Experts,
Can you please explain how is the actual coverage calculated in transaction MD04?  What are the tables involved?  From which tables the quantities are retrieved?
Thanks,
Vitz.

HI ,
I generally perform ST05 if I have no clue about the tables ...
Example :
                 1. Execute MD04 Transaction
                 2 . Go to ST05 and Activate trace , Check box should only be in SQL Trace
                 3. Input Material / MRP area etc and press enter
                 4. Deactivate Trace
                 5. Display Trace
Now see the second column >>   Obj. name This is name of table refereed by transaction MD04
                               4th Column>>   Recs. >> Number of records fetched  >> Non Zero means record fetched from this table
There will be several tables which are not relevant from Application point like authorization table etc etc ..But if you are able to filter or identify Application table this is good way to find the tables involved ....
Rgs
SB

Similar Messages

  • Actual Coverage in MD04

    Hi All,
    Kindly anyone tell me how system is calculating the actual coverga value in MD04 screen.
    Thanks in Advance.
    Regards
    P.Srinivasan

    Actual range of coverage
    The actual range of coverage states the number of days the available quantity of a material in the periods displayed can cover the requirements in the periods that follow.
    The system calculates the actual range of coverage for all periods that are contained in the 'Period totals' display. This provides the work scheduler with a overview of ranges of coverage in the future. The days' supply, on the other hand, only displays the current situation, as it is calculated using the stock currently available.
    Example
    Per./segment    Reqmts  Receipts Avail. quantity  Actl coverage
    Stock (09.01.)                                  10               1,5 days
    09.03.                   20        20            10               1,3 days
    09.05.                    30       -              -20               0,0 days
    The actual range of coverage on 09.01. is 1.5 days, as there are no requirements for 09.02 and on 09.03. the available quantity only covers requirements for half a day. The system therefore calculates 1 day (for 02.09) plus 0.5 days for 09.03.
    Only work days are used in the calculation.
    Dependencies
    The actual range of coverage is calculated and displayed in both the stock/requirements list in 'Period totals' display and in the planning table.

  • Actual Coverage

    Dear Friends,
    Could anybody explain  me how actual coverage is calculated in MD04.?
    Thanks
    kk

    Hi,
    1. check how the Stock Days' Supply Without Receipts is calculating in sap calculate the coverage without receipts i.e P O)
    Stock = 240 pcs
    1st day: Requirement for 90 pcs => Stock = 150 pcs
    2nd day: Requirement for 70 pcs => Stock = 80 pcs
    3rd day: Requirement for 100 pcs => Shortage
    Range of coverage = 3 workdays minus 1 + 80/100
    = 2 + 0,8
    = 2,8
    2. You need to do the customize For you plant which are all the receipt you include in the cals :
    SPRO - PRODUCTION -MRP - EVALUATION - Define Receipt Elements for Receipt Days' Supply
    3. check how the First Receipt Days' Supply is calculating in sap :
    Stock = 240 pcs
    Purchase orders are included in the days' supply, but not purchase requisitions
    (calculate the coverage with receipts i.e .P O )
    1st day: Purchase order for 50 pcs => Stock = 290 pcs
    Requirement for 90 pcs => Stock = 200 pcs
    2nd day: Purchase requisition for 80 pcs => Stock = 200 pcs (remains)
    Requirement for 120 pcs => Stock = 80 pcs
    3rd day: Requirement for 100 pcs => Shortage
    Range of coverage = 3 workdays minus 1 + 80/100
    = 2 + 0,8
    = 2,8
    Also check the MC43 for the coverage as per the coverage profile that you maintianed in the spro screen
    In this the coverage is calculated as
    Suppose req : 300
    stock               :600
    coverage  days : 30 days
    so average reqmt     : 300 /10      =         30 /day
    so coverage           =        600 (stock) /   30 (avg req)         =  20 days

  • How to do the calculations with currency fields in table control?

    Hi everybody,
    Can anyone tell me how to do the calculations (arithmetical) with the currency fields which have been assigned for a table control fields? Actually they should be fetched from the database table and need to do some calculations and after that the same should get updated at the database level.
    Here, i am getting the short dump after doing the calculations and trying to display at the table control field itself.....
    Can anyone help me in this issue........
    Thank you very much.....in advance,
    Somu.

    Hi,
    Thanks to your replies all,
    But, even though the sign check box is checked in the SAP domain WRTV7, in my program it is not showing the negative sign at all...
    I am keep trying for all the options...
    But still it is not working out...
    My requirement is after fetching the data from the database i need to do calculations and save back same to the customized table field, for which the domain i have checked the sign and have done it also...
    I'd be highly thankful to you, if you can help me out...
    Thank you,
    Somu.

  • Actual price calculation

    Hi Experts,
    We have this scenario:
    1. Activity prices are entered manually in KP26.(Activity type indicator=5)
    2. At the time of CO11N only POWER activity will confirm.
    3. Executing CPTA for overhead allocation.
    4. KSS2 for power activity
    5. No splitting for other cost elements
    6. KSII Actual price calculation
    7. MFN1 Revaluation of order
    After revaluatin of order when i am checking actul cost for activities only power cost is coming.
    Please find the enclosed print screens for same above process.
    Please guide me how to get the actual price calculation for other activities.
    KP26 :
    KSS2:
    KSII:
    CO03:
    Regards,
    Vivaan

    Hi Rajneesh,
    Yes Splitting rule is Activity only.
    Ex.
    1.Order Quantity = 1000
    2. I confirmed yeild 500 Qty & power activity 200 in CO11N.
    3. Now when i execute  CPTA for that order its calculating like below.
    4. KSS2:
    KSII:
    Now actual price is coming same for other activities except power.
    If i maintain no split structure that time in KSII only power actual price coming as print screens posted in original query posted.
    Please advise me on Actuall price calculation as per our business scenario.
    Regards,
    Vivaan
    Now my client is asking is as below
    Cost center report  xxxxxx
    Water GL cost = 60000
    Water Qautnity=1000(This is PO Total order quantity)
    Water actual price=60000/1000 =60
    Confirmed Quantity= 500
    Actual price  calculation for water = 500*60=30000
    same for other activities also.
    Please advise.
    Regards,
    Vivaan

  • Actual Price Calculation Issues

    Hi,
    I need explanation on how the system calculates actual prices in KSII.
    In my cases i maintained Rs 1.00  as variable price for my activity type and cost center combination in KP26. My planned activity is 1000 Mins and actual activity is 3600. in KSII system is showing 2129.64 as actual price calculation. how the system is calculation as 2129.64. If i see cost center report it is showing that over absorption as -2600.
    Please guide me on the actual price calculation.

    HI,
    KSII - Actual Cost/Actual Qty.
    Please check what is your actual cost and Actual qty. in your cost center report and check. Planned qty. or Planned cost is not taken for consideration during KSII.
    Bye,
    Ramesh

  • Blanket PO - Actual Value Calculation

    Hi All,
    Can anybody tell me how the actual value is calculated for each line item in Blanket PO.(In Limit tab you can able to find Overall Limit, Expected Value and Actual Value.)
    Thanks and regards,
    Senthil.B

    Hi Friends,
    I am comparing 4.7 and ECC 6.0 EHP 4 functionalities in MM.
    I found some change has been made to Purchase requisition to save as template.
    Here is the detail in ERP browser.
    "Creation of purchase requisitions for materials.
    - Purchase requisitions can be saved as templates and templates can be used for faster creation of extensive purchase requisitions without the need of manual data entry.
    - Fast maintenance of account assignment with template functionality.
    - Personalization of user interface based on Web Dynpro"
    I could not find the option to save Purchase requisition as template in ECC 6.0.
    Kindly let me know how to activate this menu option or functionality.
    BR,
    SB.

  • Errors arose during actual cost calculation

    Errors arose during actual cost calculation
    No prices could be determinedfor object activitytype company code xxxx , cost center XXXX, activity type XXXX
    Pls let me know immediately friends deperate,
    regards,
    sri

    Hi
    when you gone to the transaction code Kp26 Activity typ price/ planning after give the input press period screen or F6 function key and check what price was maintained for your period 12.
    And even you do one thing go to the transaction code KS02 or 03. Give the cost center and press enter . Then from the meny bar select Environment -> whereused list->.
    And let me confirm how you run the cost estimate for the material
    bye

  • CORUPROC is not doing "Actual-Cost Calculation" - still in CO1P.

    Hello friends,
    As per SAP documentation, and many SCN posts I went through - all of them said CORUPROC is the program to run as batch job, and CO1P is its equivalent online transaction.  In my quality system, I see CORUPROC is not doing the "Actual-Cost Calculation" - and even if I execute CORUPROC online (through SE38), it is not clearing them. (It is clearing the goods movement entries).  CO1P still shows all the order/operation awaiting actual cost calculations.  If I select them in CO1P, and click <save>, they are cleared.
    So can someone guide me how can I make CORUPROC to do the actual cost calculation please.
    Thanks,
    - Chetan

    Hi
    I would expect to have this record processed by report CORUPROC.
    It's quite easy to analyze this program in debug. Set a break-point on the line below:
    IF NOT g_costs IS INITIAL
    Now follow the program execution until function module CO_RB_POST_ACTUAL_COSTS is called. If the function module is called, check if it was executed correctly reading the value of variable SY-SUBRC.
    BR
    Caetano

  • How do I round calculations to two decimal places (form-wide)

    Hi,
    I've created an order form where customers input the quantity of product they want to order and the form outputs the total due (including shipping and sales tax). Depending on user input, the resulting total sometimes contains more than two decimal places. How do I round calculations to two decimal places? Is there a way to do this form-wide?
    I'm new at using Acrobat for calculations. Any help would be greatly appreciated! Thanks...

    The above will affect the displayed value not the actual value of the field nor its value when accessed in another computation. This behavior may cause an error of 1 cent or more in the grand total or sales tax computation. If you want the the value and displayed value to be the same value you can use the following Validation script:
    event.value = util.scand("%,1 0.2f", event.value);

  • How to use the Calculated attibute in view object

    Hi,
    I have a view object query with the calculated attribute name as 'TRANCODE' in the below sql.This query works for the initial page loading.
    After the page gets loaded, there is a search section in the same page at the top.
    Here i will have to build the whereclause to the same query and retrieve the values.
    i am using jDeveloper 10.1.3.1, with adf and jHeadstart.
    Can some one tell as how to use the calculated attribute TRANCODE in whereclause?
    SELECT /*+ first_rows(10) */
    BatchCntl.FILE_CNTL_ID,
    CASE WHEN chk_bit(Entry.ENTRY_FLAGS, 2)='Y' OR Entry.ENTRY_SUBSTATUS = 'D' OR Entry.ENTRY_SUBSTATUS = 'J'
    THEN
    CASE eeh.TRAN_CODE
    WHEN '21' THEN 'C'
    WHEN '22' THEN 'C'
    WHEN '31' THEN 'C'
    WHEN '32' THEN 'C'
    WHEN '26' THEN 'D'
    WHEN '27' THEN 'D'
    WHEN '36' THEN 'D'
    WHEN '37' THEN 'D'
    ELSE eeh.TRAN_CODE
    END
    ELSE
    CASE Entry.TRAN_CODE
    WHEN '21' THEN 'C'
    WHEN '22' THEN 'C'
    WHEN '31' THEN 'C'
    WHEN '32' THEN 'C'
    WHEN '26' THEN 'D'
    WHEN '27' THEN 'D'
    WHEN '36' THEN 'D'
    WHEN '37' THEN 'D'
    ELSE Entry.TRAN_CODE
    END
    END AS TRANCODE,
    FROM Batch_Cntl BatchCntl, Entry, ENTRY_EDIT_HIST eeh
    WHERE (BatchCntl.BATCH_TYPE = 'E')
    AND (BatchCntl.BATCH_STATUS in ('A','D','R','P'))
    AND entry.in_batch_cntl_id = BatchCntl.BATCH_CNTL_ID
    and Entry.fi_rt = eeh.fi_rt (+)
    and Entry.entry_id = eeh.entry_id (+)
    AND (Entry.ENTRY_STATUS in ('A','D','R','P'))
    ORDER BY BatchCntl.BATCH_CNTL_ID, Entry.entry_id
    regards
    Raj.

    Let's say your application module is com.yourcompany.someapp.services.MyService, and let's say you authored a method like the following in the MyServiceImpl.java file:
      public void doSomething(int i, String s) {
      }and you exposed this AM custom method using the AM editor.
    BC4J design time will automatically create you the com.yourcompany.someapp.services.common.MyService interface that will look like this if you go look at the source code:
    package com.yourcompany.someapp.services.common;
    import oracle.jbo.ApplicationModule;
    public interface MyService extends ApplicationModule {
      public void doSomething(int i, String s);
    }To use your custom method from a client, just cast your ApplicationModule to your custom interface like this:
    import com.yourcompany.someapp.services.common.MyService;
      MyService mySvc = (MyService)yourAM;
      mySvc.doSomething(1,"foo");

  • How can i pass calculated value to internal table

    Hi
    i have to pass calculated value into internal table
    below field are coming from database view and i' m passing view data into iznew1
    fields of iznew1
                 LIFNR  LIKE EKKO-LIFNR,
                 EBELN  LIKE EKKO-EBELN,
                 VGABE  LIKE EKBE-VGABE,
                 EBELP  LIKE EKBE-EBELP,
                 BELNR  LIKE EKBE-BELNR,
                 MATNR  LIKE EKPO-MATNR,
                 TXZ01  LIKE EKPO-TXZ01,
            PS_PSP_PNR  LIKE EKKN-PS_PSP_PNR,
                 KOSTL  LIKE EKKN-KOSTL,
                 NAME1  LIKE LFA1-NAME1,
                 NAME2  LIKE LFA1-NAME2,
                 WERKS  LIKE EKPO-WERKS,
                 NETWR  LIKE EKPO-NETWR,
                 KNUMV  LIKE EKKO-KNUMV,
                 GJAHR  LIKE EKBE-GJAHR,
    and now i want to pass
    one field ED1  which i has calculated separatly and i want to pass this value into iznew1
    but error is coming that iznew1 is a table with out header line  has no component like ED1.
    so how can i pass calculated value to internal table iznew1,

    When you declare your internal table , make an addtion occurs 0
    eg . data : begin of iznew occurs 0 ,
                    fields ...
       add the field here ed1.
               end of iznew.
    now when you are calculating the value of ed1,
    you can pass the corresponding value of  ed1 and modify table iznew.
    eg
    loop at iznew.
    iznew-ed1 = ed1.
    modify iznew.
    endloop.

  • How do I create calculations in Adobe Pro 9?

    I have a table with "quan" and "unit price" and a "total cost" column.  I created a text field in the "total cost" field and then went to the calculate tab, selected "value is the" and chose "product" and then selected the 2 items that I wanted to total, "quan" and "unit price".  When I close "form editing" and test it out, it doesn't work.  I have found many videos that show how to create calculations and I follow them exactly as they say and it still doesn't work. What am I missing?
    Thanks!

    Is you use the first option, "The field is the product of the following fields:" you should see a result. Just make sure the fields you want multiplied or selected.
    The following links show how to create calculations in various ways.
    How to use basic calculations in PDF forms
    How to do (not so simple) form calculations

  • How can i make calculation in two file using two parameter

    how can i make calculation in two file using two parameter
    Solved!
    Go to Solution.

    i am having two differnt file, both file having no and time , i want to make programme that when, number and tiome is same in both file give that index onle  in , i am going to attached the file
    Attachments:
    iisc11-jan2010extract.txt ‏1253 KB
    sp3.xlsx ‏12 KB

  • MD04 - How to create a requirement in MD04 for a scheduling agreement

    Hi,
    Pls advice How to create a requirement in MD04 for a scheduling agreement. pls mention the steps and t codes.
    thanks in advance.

    Hi Prajit,
    Sales people will create sales scheduling greements through VA31 T-Code (normally for finished products).In that they define forecast schedules as well as JIT schedules.After creation, these will be appeared in MD04 screen as requirement for that finish material.
    In MRP run,system will create procurement elements (planned orders for example) for these requirements.
    Regards,
    Raja.

Maybe you are looking for