How to calculate actual amount on PO

Hi,
I have to calculate tax and discount on Purchase order and have add that to ekpo-netwr to get the actual amount. Can you please tell me how to do that?
So far I have been taking the EKKO-KNUMV and going to KONV table and serach for records with that KNUMV. But here I am stuck.
I can not understand (I mean I can not find the field to distinguish) which of the records is actually being used in the PO and has an amount (non-zero) against it, which I see in ME23N in "Condition" at header label.
Reward Points Guaranteed.
Regards,
Anid

Hi,
In the PO , I hope yoy might be using the tax code at item level.
Take this tax code and go to the table A003 and get the KNUMH.
Pass this KNUMH to the KONP table to get the condition value.
Add the condition values to the net amount of the PO item. You will get the total amount.
Alaways find the conditions and taxes at thwew item level of the PO.
Regards,

Similar Messages

  • How to calculate tax amount

    Hi,
    I am working in driver program of service sheet entry SF. i want calculate Tax Amount of every line item of service entry sheet number.
      tax code, net value, total value  mention in line item but tax amount not.
    then How to calculate tax amount according tax code...............?

    Hi,
    Try with the below function module.
    CALCULATE_TAX_FROM_NET_AMOUNT
    Jshree

  • How to calculate the amount of viewing the uploaded document in KM?

    hello
         everyone
          I  want to  calculate the amount of viewing the uploaded document in KM,like the iviews of topics in forum.
         thanks in advance
         lexian

    Hi,
       You can develop a hitcount repository services. Each time that you open a document this counter is incremented in one. Then you can show this metadata as a typical property.
    Take into account:
    Dynamic Knowledge Management Content Using Groovy Scripts
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5165
    Documents read statistics
    https://www.sdn.sap.com/irj/sdn/thread?threadID=174925
    Patricio.

  • How to calculate actual activity price using cost center balance

    I have a problem,the case is that: i have two pro.order. orderA settlement to cost center M; orderB is a standard pro.ord,and the work center of orderB link to cost center M. when i calculate the actual activity revaluation.the activity price update the PRO.ordA and B,and the cost center is zero.
    when i settlement the order A,the cost center M is not balance,so i must calculate the actual activity revaluation again.
    now,i want to calculate the actual activity revaluation from the cost center's balance,not the Dredit balance.so how can i calculate the actual activity revaluation

    did you also assigned the cost centre to splitting structure?
    what is not working? the cost are equally distributed on both activities?

  • How to calculate the amount for cleared documents.

    Hi Experts,
    I am working on a program and here i need to display the amount for the cleared document.
    I have a scenario where there are two financial document related to a single cleared document.
    I can get the amount for financial document from BSAK by passing the BELNR value of the financial document and confirm if it is a clearing document by comparing AUGBL value of BSAK with document number of cleared document.
    Actually i am not very clear about the process flow of clearing document.
    If anyone can explain me the same.

    Hello,
    Go through this links it will help full
    http://help.sap.com/saphelp_sbo2004c/helpdata/en/fd/25f4c6d8888e40a521972d0be5d68b/content.htm
    http://help.sap.com/saphelp_45b/helpdata/en/e5/0783e84acd11d182b90000e829fbfe/frameset.htm

  • How to calculate actual selection or group width and height with clipping

    If a group has clipping paths then the height and visible bounds will include the dimensions of all paths selected including the clipped or hidden paths.
    However, the width and height shown on the width and height of the AI detail boxes for the selection shows just the visible dimensions.
    I want to retrieve the same values that is shown on the screen when a group is selected.
    It is somewhat counterintuitive that the "visiblebounds" property does not show just what is visible.
    I'm scaling the visible content of a selection to fit within another path but I need to be able to calculate the dimensions of the only what is visible after clipping.
    What do you have to do with scripting to get these values? Go through all of the path items in a group recursively and save the min and max values of any visiblebounds for clipping paths? Any better alternatives that I don't see?
    Thanks for any help!

    I ended up using the visible bounds for both scale and position as I also discovered that attempting to position a group with the position method would also result in missing the mark. The top and left (x,y) bounds I calculated without the clipped dimensions needed to be used to offset the actual position where I wanted the visible paths to be displayed.
    The functions I used ended up looking like so:
    function GetPoints(dblInch)
         var dpi = 72;
         return dblInch * dpi;
    function getRealVisibleBounds(grp) {
         var outerBounds = [];
         for(var i = grp.pageItems.length - 1; i >= 0;i--)  {
              var bounds = [];
              if(grp.pageItems[i].typename == 'GroupItem') {
                   bounds =  getRealVisibleBounds(grp.pageItems[i]);
              else if((grp.pageItems[i].typename == 'PathItem' || grp.pageItems[i].typename == 'CompoundPathItem')
                   && (grp.pageItems[i].clipping || !grp.clipped)) {
                   bounds = grp.pageItems[i].visibleBounds;
              if (bounds.length > 0) {
                   outerBounds = maxBounds(outerBounds,bounds);
         return (outerBounds.length == 0) ? null : outerBounds;
    function positionVisible(grp,x,y)
         var bounds = getRealVisibleBounds(grp);
         var newX = GetPoints(x) + (grp.left - bounds[0]);
         var newY = GetPoints(y) + (grp.top - bounds[1]);
         grp.position = [newX,newY];
    function maxBounds(ary1,ary2) {
         var res = [];
         if(ary1.length == 0)
              res = ary2;
         else if(ary2.length == 0)
              res = ary1;
         else {
              res[0] = Math.min(ary1[0],ary2[0]);
              res[1] = Math.max(ary1[1],ary2[1]);
              res[2] = Math.max(ary1[2],ary2[2]);
              res[3] = Math.min(ary1[3],ary2[3]);
         return res;
    and were called like so:
    var doc = app.activeDocument;
    if (doc.selection.length > 0) {
         var grpOriginal = null;
         if(doc.selection.length == 1 && doc.selection[0].typename == 'GroupItem') {
              grpOriginal = doc.selection[0];
         else {
              grpOriginal = doc.groupItems.add();
         doc.selection = null;
         if(grpOriginal.layer.name != 'approval') {
              grpOriginal.move(doc.layers['approval'],ElementPlacement.PLACEATEND);
         var artBounds = getRealVisibleBounds (grpOriginal);
         var artWidth = artBounds[2] - artBounds[0];
         var artHeight = artBounds[1] - artBounds[3];
         var imprintHeight = GetPoints(0.625);       // 0.625 is new height, hardcoded for demonstration
         var imprintRatio = imprintHeight / artHeight;
         var section = doc.layers['sectionLeft'];    // section where I placed the art
         var grpArt = grpOriginal.duplicate(section,ElementPlacement.PLACEATEND);
         grpArt.resize(100.0 * imprintRatio,100.0 * imprintRatio);
         grpArt.move(section,ElementPlacement.PLACEATBEGINNING);
         grpArt.selected = true;
         positionVisible(grpArt,0.0,16.75);          // x & y hardcoded for demonstration
    else {
         alert('artwork needs to be selected');
    I'm new at this so are there any better options to do these things?

  • How to calculate line amount?

    I need help in calculating the amount column. Please advise and thank you in advanced!

    Hi,
    Try with the below function module.
    CALCULATE_TAX_FROM_NET_AMOUNT
    Jshree

  • How system calculate miro amount

    Hi Consultant,
    PO 2 unit at $12
    During GR
    Dr inventory 24
    Cr vendor 24
    When in miro,
    1) quantity i change to 3 unit and amount remained as 24
    cr vendor 24
    dr gr/ir      32
    cr price diff 8
    may i know why gr/ir debited 32 and with price difference?
    When in miro
    2) quantity i change to 3 unit and amount i change to $36
    cr vendor 36
    dr gr/ir      36
    cr price diff 0
    why there is no price difference yet system credit this account with 0?
    Thanks

    Hi,
    U material price control is Standard Price.
    so, if you change per unit value from $12 then it will show the Price diff. a/c.
    but if you change the unit and value then it won't be any price difference amt.
    and since you are changing the Qty in MIRO the system allow bcs of Qty varience.
    So, there is no wrong in system.
    SAM

  • How to calculate ACTUAL QUANTITY for a given PM order

    hello all,
    i have  an ALV report requirement like below...
    (for given Pm order AUFK-AUFNR)
    i need to display
    material no       material desc     requirement quantity  Units of measure     Actual quantity
    these fields i have taken from RESB table (matnr from RESB ,maktx from MAKT, bdmng from RESB, units of measure from RESB ),
    now my question is from where do i get actual quantity ....
    in which table does this actual quantity will be stored....
    thankq....

    Check with field RESB-ENMNG as mentioned by Custodio.
    He meant this field only by saying
    If so, it's also in RESB-DENMNG.
    I guess.
    This will only give you the quantity withdrawn.
    But for Actual Consumption Based on date you can  use AUFM ( this table gives the Material Movements carried out for Prod. Order ).

  • How to calculate YTD credit amount and YTD Debit amount

    How to calculate credit amount and Debit amount for Year-To-Date type in GL Trial Balance Report?

    You may try the following options.
    1. Run 'Expanded Trial Balance' report.
    2. Run 'Trial Balance' report.
    3. Create FSG report for trial balance based on your desired output format.
    Hope it is useful.
    Tarun

  • How to calculate HD space needed

    I need to videotape a ceremony on Friday and show it very quickly afterwards. I have a new Canon XL2 cam, and I played around with capturing direct into iMovie 5 using the FW cable. My plan was to capture it this way live; at the end of the 90 min save the project, and then show via SVideo connection to a TV. Not sure how to calculate the amount of HD space I will need for 90 minutes of video. I guessI could also capture just to tape, rewind and show via SVideo, but ideally need less turn around time than that.
    Thx,

    DV (Digital Video) uses up about 13 gigabytes per hour.
    So 90 mins worth would need about 20GB.
    But how long does it take to rewind a tape? Three or four minutes?
    It'd be far better to rewind the tape, and connect the camcorder to a TV, than to lug around a Mac while you're shooting! How're you going to hold onto the Mac if you need to move around?
    If you're going to be static all the time, and won't need to move, it might be OK ..but you'd need to do one or two 'dry runs' of 90 mins each FIRST to be ABSOLUTELY sure that everything goes to plan, and that the hard disc doesn't stutter, or "housekeeping" jobs within the Mac don't interfere, etc.
    Of course, what might suit you better is a dedicated video-capture FireWire drive strapped to the camera, like a "FireStore". That's dedicated to video capture, and does nothing else. It also saves time later, because there's no need to capture from your tape: just edit the footage already on the FireStore disc.
    But would what you get from taping the ceremony (..if you're getting paid..) pay for a FireStore? Hmm.
    I'd stick with tried and trusted tape..

  • How should calculate  variance between dynamic input?

    HI  Experts,
    how should calculate Actual cost varience  between two month.

    Hi
    From the screen shot it says only u r using 2 months here.
    But if you are running for year,then this can be the steps.
    1.sort month ..go to values and the arrange .
    2.The data should display properly monthly wise
    3.Then If you have direct month object then create Previous([Month]).we have previous function
    4.write Diff=[Actual Cost]-Previous Actual Cost

  • How to calculate SELECT time

    I want to know how to calculate time taken by SELECT query.
    For example: I am running one select statement in TOAD(oracle version 9i) which takes 40 seconds to run but in output window it display few records. It says "showing 1 of 500 records, more records exist". That table has total 20 million records.
    Now my question is: Did my SELECT query took 40 seconds? or it took 40 seconds to SELECT 500 records.
    If it took 40 seconds to SELECT 500 records then how to calculate total amount?
    Any help would be very much appreciated.

    Where I will find trace file?
    Toon Koppelaars wrote:
    What you could do is this.
    Say your current query is Q1. Then instead of executing Q1 in toad execute this in Toad:
    select count(*)
    from (Q1)
    /This is not totally safe, since the CBO could decide to alter the execution plan given that you now are not interested in any of the columns you had in the SELECT list of Q1.
    Other alternative is to use sqlplus.
    Set pages 0
    alter session set sql_trace=true;
    Run your Q1.
    alter session set sql_trace=false;
    Find the trace file, tkprof it, and see exactly what happened and how much time it took.
    I'm assuming that timed_statistics is set to true in your instance.Edited by: user639946 on Dec 3, 2010 1:00 PM

  • CFM /TR - how system calculate amount based on rate FX 60A

    Hi all,
    i need to know how system calculates amount based on rate entered upon creating a contract (t-code TX01).
    steps input:-
    1. header - comp code, product type, trans type
    2. partner
    3. purchase curr & amount (eg. IDR 8,345,545,500)
    4. sale currency only (amount system will auto calculate) USD
    5. rate field = 11.553
    6. spot rate will auto pick up from rate
    7. value date
    8. contract date
    upon TBB1 no error. posting log as follows:-
    FX1000+ : 40 8,345,545,500 IDR bank GL acc
                    50 8,345,545,500 IDR clearing acc
    FX2000- : 40 722370.42 USD clearing acc
                   50 722370.42 USD bank GL acc
    but upon TPM18 error occurred as follows:
    DBT_C009 - GL not maintain in acc symbol 5.3.4
    DBT_E039 - no posting spec assigned to update type
    DBT_B018 : 40 0 USD, 431,977,511 IDR gain/loss
                       50 0 USD, 431,977,511 IDR clearing acc
    so, after maintained DBT_C009 as follows still error for DBT_E039:
    40  0 USD, 38 IDR clearing acc
    50  0 USD, 38 IDR P&L gl acc
    what i don't understand is how system calculate and get DBT_C009 & DBTE039.
    what is the function of TPM18?
    thanks.

    Hello Prarnod,
    I have done the first node only for actuals that come from the integration to the internal order.
    I have tried setting up 2 and 3 even though the 3rd one does not make any sense to me
    Thanks,
    Paul

  • How to calculate tax / discount amount on PO

    Hi,
    I have to calculate tax and discount on Purchase order and have add that to ekpo-netwr to get the actual amount. Can you please tell me how to do that?
    So far I have been taking the EKKO-KNUMV and going to KONV table and serach for records with that KNUMV. But here I am stuck.
    I can not understand (I mean I can not find the field to distinguish) which of the records is actually being used in the PO and has an amount (non-zero) against it, which I see in ME23N in "Condition" at header label.
    Reward Points Guaranteed.
    Regards,
    Anid

    Hi,
    Ya. Actually I need to know the Discount, Indiviual taxes (Like Freight tax etc) which we see the the "condition" tab of Header Data in ME23N. I have to make a total of them and subtract from (Sum of EKPO-NETWR ) to calculate the ACTUAL PRICE.

Maybe you are looking for

  • Windows Phone 8.1 (Sliverlight and Win RT) - How to get accessible camera resolutions?

    I would like to ask, how it is possible to get all accessible camera resolutions in Windows Phone 8.1 app (for both silverlight and WinRT). I wanted to use: Windows.Phone.Media.Capture.PhotoCaptureDevice.GetAvailableCaptureResolutions( Windows.Phone.

  • Mac mini processor

    has ever anyone ever saw a centrino processor(1.73 ghz) on a mac mini with DVD writer and 512 ddr2 memory and geforce ddr2 and 60 gb of hard drive, bluetooth, wireless. a guy just bought a mac mini with a centrino processor, thats what he says, and h

  • Help... I can not get my microphone to work

    Help.... I can NOT get my microphone to work with my Blaster X-Fi XtremeGamer Fatal1ty Professional card. When I plug it in and test it (in either Configure Speech Recoginition - Windows Vista / or in Counter-Strike Source, Test Microphone Button und

  • When rotating a simple black rectangle, jagged edges are created. How can I fix this? (for web)

    I have been messing with a simple black rectangle and when I transform it, jagged edges appear. This is the base for a logo for web. I have anti-alising checked in pref. The logo looks horrible and blurry/jagged on the edges even when previewed on se

  • Having an issue restoring a game

    I'm having a bit of trouble. I own an ipod touch and had installed the newest iOS 8 version. Unfortunately the game I recently purchased Valiant Hearts: The Great War including the discounted special pack is not working properly. The add-ons mainly.