Complex PCR calculation - Reg

Hi Gurus,
Please go through the following PCR with input & output tables and explain the calculation. What to do to get the proposed value.
IT
/092 -   Rate: 12.07
WT X000 OT 1.5 rate- Number: 45.00
      Z015      3            AMT?0
      Z015      3   =        NUM?0
      Z015      3   = *      RTE?0
      Z015      3   = * =    VALBS?
      Z015      3   = * = X  GCY Z115*
      Z115      *           VAKEYALZNR
      Z115      *   N        VWTCL 18
      Z115      *   N *      GCY ZZ15
      ZZ15      *            WGTYP?
      ZZ15      *   ****     VALBS0
      ZZ15      *   ****     ADDNA *
      ZZ15      *   ****     FILLF N
      ZZ15      *   ****     WGTYP=*
      ZZ15      *   ****     VALBS1
      ZZ15      *   ****     NEXTR A
      ZZ15      *   ****     ADDNA *
      ZZ15      *   ****     FILLF N
      ZZ15      *   ****     WGTYP=*
      ZZ15      *   ****     VALBS2
      ZZ15      *   ****     ADDNA *
OT
WT X000   Rate: 18.11 Number: 45.00 Amt 814.95
Supposed formula here is: 12.07 * 45.00 * 1.5 =  814.725 ( Proposed Value )
Plese explain the above PCR calculation.

Hi Remi,
Thank you for your answer.
Q. As for processing of your WT X000, what are it's Valuation Bases in V_512W_B ?
- it is valuated in current wagetype and Valuation basis 092 and rate is 150%. 
Q. Have you checked through pe04 what is operation VAKEYALZNR ? Isn't it related to Alternative Payment ?
  yes, it is alternative payment.
P.S. : 12.07 x 1.5 = 18.105, which will give 18.11 once it is rounded up.
A: we never used any round up function,
Though we not used the roundup function why it is rounded up. How and where can we remove this roundup.
Thank you for your help.
Rgds
-AADI

Similar Messages

  • Complex SQL calculated/Group Query

    I am trying to write a complex aggregate query(s) to compile a standings table for a soccer league.
    There are four related tables:
    Matches
    Goals
    Players
    teams
    I have yet to finalize the database structure so I can add fields if necessary.
    In the goals table I track the match that the goal was scored in and which player
    scored it.
    I am trying to create a query that will give me a standings table.
    The fields I need to calculate are:
    team name
    Wins
    Loses
    Draws
    For instance:  There was a match on 4/21/2012.  The players on HomeTeam(A) scored a combined 6 goals.  The players on AwayTeam(B) scored 1 goal (All stored in the Goals table).  Therefore, Hometeam won by a score of 6-1.  I need
    a query that spits out:
    Team                Wins          Losses          Draws         
    Points
    HomeTeam(A)      1                 0                 0                
    3
    AwayTeam(B)       0                 1                 0                 3
    Wins are worth 3 Losses 0 and Draws 1 point each team.
    I am a long time SQL admin, but I think the complexity of calculating this is a little beyong me.  I need some help to get where I need to be.

    Okay, I haven't yet been able to figure out the draws because of the trouble of linking back to both teams, but here's what I have so far.
    First, here is the test data:
    Declare @tvMatches Table (
    MatchID int IDENTITY(1,1)
    ,MatchDate datetime
    ,HomeTeamID int
    ,AwayTeamID int
    Declare @tvGoals Table (
    GoalID int IDENTITY(1,1)
    ,MatchID int
    ,PlayerID int
    ,TeamID int
    Declare @tvPlayers Table (
    PlayerID int IDENTITY(1,1)
    ,TeamID int
    ,PlayerName varchar(30)
    Declare @tvTeams Table (
    TeamID int IDENTITY(1,1)
    ,TeamName varchar(20)
    Insert @tvTeams
    Select 'Winners'
    Union All
    Select 'Losers'
    Union All
    Select 'Friars'
    Union All
    Select 'Planes'
    Insert @tvPlayers
    Select 1, 'Bill'
    Union All
    Select 1, 'Jim'
    Union All
    Select 1, 'Ken'
    Union All
    Select 2, 'James'
    Union All
    Select 2, 'Smithy'
    Union All
    Select 2, 'Flip'
    Union All
    Select 3, 'Dave'
    Union All
    Select 3, 'Alan'
    Union All
    Select 3, 'Ethan'
    Union All
    Select 4, 'Naomi'
    Union All
    Select 4, 'Erland'
    Union All
    Select 4, 'Alejandro'
    Insert @tvMatches
    Select '20120101', 1, 2
    Union All
    Select '20120201', 3, 4
    Union All
    Select '20120301', 4, 1
    --Winners beat Losers 3-2
    --Planes beat Friars 4-2
    --Winners beat Planes 2-1
    Insert @tvGoals --Match, Player, Team
    Select 1, 1, 1
    Union All
    Select 1, 3, 1
    Union All
    Select 1, 5, 2
    Union All
    Select 1, 6, 2
    Union All
    Select 1, 2, 1
    Union All
    Select 2, 7, 3
    Union All
    Select 2, 8, 3
    Union All
    Select 2, 10, 4
    Union All
    Select 2, 11, 4
    Union All
    Select 2, 12, 4
    Union All
    Select 2, 11, 4
    Union All
    Select 3, 1, 1
    Union All
    Select 3, 3, 1
    Union All
    Select 3, 11, 4
    Using this test data, you want to compile the actual match outcomes.  This can be problematic to do on the fly every time though, if you have a lot of matches or teams to calculate for.  But, with a simple cte, we have:
    ;with cteMatches as
    Select m.MatchID
    ,m.MatchDate
    ,m.HomeTeamID
    ,ht.TeamName HomeTeamName
    ,m.AwayTeamID
    ,at.TeamName AwayTeamName
    ,( Select Count(1)
    From @tvGoals g
    Where g.MatchID = m.MatchID
    And g.TeamID = m.HomeTeamID
    ) HomeScore
    ,( Select Count(1)
    From @tvGoals g
    Where g.MatchID = m.MatchID
    And g.TeamID = m.AwayTeamID
    ) AwayScore
    From @tvMatches m
    join @tvTeams ht
    on m.HomeTeamID = ht.TeamID
    join @tvTeams at
    on m.AwayTeamID = at.TeamID
    ) --select * from cteMatches
    This returns the MatchID, MatchDate, team information and the score.  Basically, you have the match, team and player data tied to the goals table, so you just do a count (using correlated subqueries) to get the score of each team.  Next step is
    to calculate the winner and loser (and eventually whether there even was a winner) by comparing the scores:
    ,cteWinners as
    Select cm.MatchID
    ,cm.HomeTeamID
    ,cm.HomeTeamName
    ,cm.AwayTeamID
    ,cm.AwayTeamName
    ,Case
    When cm.HomeScore > cm.AwayScore Then cm.HomeTeamID
    When cm.HomeScore < cm.AwayScore Then cm.AwayTeamID
    Else 0
    End WinningTeamID
    ,Case
    When cm.HomeScore > cm.AwayScore Then cm.AwayTeamID
    When cm.HomeScore < cm.AwayScore Then cm.HomeTeamID
    Else 0
    End LosingTeamID
    From cteMatches cm
    ) --select * from ctewinners
    This returns MatchID, team information and the ID's for winning and losing teams.  For now it returns 0 if it's a draw.  Once we know the outcomes of all the matches, we calculate the actual win/loss for each team:
    ,cteRecords as
    Select t.TeamName
    ,Count( Case
    When cw.WinningTeamID = t.TeamID Then 1
    End
    ) Wins
    ,Count( Case
    When cw.LosingTeamID = t.TeamID Then 1
    End
    ) Losses
    From @tvTeams t
    join cteWinners cw
    on t.TeamID = cw.HomeTeamID
    or t.TeamID = cw.AwayTeamID
    Group By t.TeamName
    ) --select * from cteRecords
    That last cte returns just team name, and then the number of wins and losses for each team.  This is where I got stuck with the draws, because I'm not quite sure yet how to properly assign a draw to both teams involved.
    Now, finally you put it all together with some simple match to determine the points, and there you are:
    Select TeamName
    ,Wins
    ,Losses
    ,(Wins * 3) Points
    From cteRecords

  • Need help on complex math calculation in labview

    I need some help by being pointed in the right direction.  I have a piece of old lab equipment that I will be connecting to labview.  In order to send commands to the hardware, I have to calculate a checksum.  The checksum algorythm requires me to take alphanumeric characters, convert them to binary, perform binary addition, perform an Xor, mask certain digits, and convert the resultant binary string back to an ascii character.  Does labview have the capabilities to do this on it's own, or should I look at connecting to something like an external dll? 
    I have Visual Studio 2008 and some previous VB experience, so I think I could write a program that would do the calculation, but don't really know exactly what type of project (dll, etc.) is best.  Are there any specific settings for the dll so that labview can use it.  I see an example for C++ for Visual Studio 2005, but that is as close as I can get.  I only know VB, not C# or C++
    Can someone please point me in the right direction?
    Tron
    Solved!
    Go to Solution.

    You basically need some logical shifts and ANDs.
    Check version 2.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV
    Attachments:
    Checksum ver 2.vi ‏10 KB

  • Spreadsheet structure - complex cost calculation

    I am trying to set up a semi-automatic spreadsheet that will help me prepare quotes for building work.
    I would appreciate any advice on the best set up that would for this and possible functions I would need to use to make it work. I tried finding a suitable solution or a template but to no avail.
    I'll try to explain the requirements as clearly as I can, but please let me know if there is any further explanation you may require.
    1. I have many tables that I set up to calculate costs and prices of particular types of work, i.e. building a brick wall or laying foundations
    1.1 Each table has the same columns such as'type of resource', 'quantity', 'price per unit', 'cost', 'profit', 'price'
    1.2 Each table has a different number of rows, depending on number of resources required for the particular type of work, some of the tables have multiple header rows to allow for data entry cells, such as 'length' or 'height'
    1.3 I keep the tables in a separate file and just copy the ones I need for particular quote, one type of table may be used several times in a quote, depending on type of job quoted, i.e. I may have more than one wall to price
    2. The main sheet of the quote has a table that lists all the items of work I need to price
    2.1 The columns are: 'item id' (unique number), 'item description' and 'tender price'
    2.2 'tender price' is manually linked to 'total price' in the relevant calculation table (I gathered here that perhaps using INDIRECT function will allow the link to be automatic, correct?)
    2.3 Right now I use 'item id' as the name of the relevant table to be able to recognise which item it calculates
    3.0 I need a summary sheet with few tables that will give me various information. The information required is:
    - materials list and quantities collected from all the calculation tables
    - labour list as above
    - labour and materials per build stage (I need to add stages to the tables first)
    I'm not sure this can work with me using separate tables for each item calculation. I think that if I put all the calculations into one, big table I may be able to pull info out by using categories, however I would like to avoid this as I would end up with very large, messy tables on larger quotes.
    I have used excel and a combination of outline and pivot tables in the past, but it was by no means a perfect solution.
    I hope my explanation is clear and I do appreciate your help.
    Regards
    Bart

    Bart,
    I think I have what you were looking for. I only addressed what I thought was your concern.
    1. I added a table to your "general calculators" sheet, and called it "Data"
    2. I utilized the VLOOKUP and the INDIRECT functions to make your Totals more dynamic.
    3. The formula is going to look to the table referenced in the "A" column of the line. (A3 = 1.1)
    4. The formula will then look at the column heading and find the number in the "Data" table I added.
    5. The lookup will then go over this many columns to find the value of the "Total" line.
    You should be able to copy this formula to all the cells you are looking for the total of. As an example, copy cell C3 to C12. Then range fill to F22. Delete the formulas in C16 and D16 as they will error, because they are not necessary. Repeat the procedure for Job 3, etc.
    If you change the Job (Table) reference in column "A" this will automatically look to the correct table. If you need to add a column some day, Add the column to all the appropriate tables, then add the name and column number to "Data." It should then recalculate correctly.
    I have posted the spreadsheet here:
    https://www.iwork.com/r/?d=samplequoteRevised.numbers&a=p108776228
    If it you cant get to it, let me know....and we can try something else...since I dont have a mobileme account.
    Let me know if you have ANY questions.
    Waza

  • How to do complex engineering calculation in labview.I tried using MATLAB script

    Hello,
    I am trying to use matlab script node to solve two complex equation.But i get different  errors everytime i run my program.sometimes 1048 sometimes 1050 and sometimes it says LABVIEW could not extract variable from Matlab.I am attaching  my MATLAB script node with this thread.Please Help me out to get rid of this problem.
    I am  using LV-8 and MATLAB R-2006a.
    Attachments:
    matlab.vi ‏10 KB

    Hi Praween,
    beside my little MatLab knowledge I tried to replace your formula with equivalent LV code...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    matlab_lv80.vi ‏18 KB

  • Complex number calculation

    Hello everyone!
    I am working on this code to compute complex numbers (a+-bi) and I am a little stuck - I get an error message:
    <<<invalid method declaration; return type required>>>public ComplexN( double re, double im)>>>>
    Please, can anyone help me.
    public class Complex {
        private double real = 0.0;
        private double imaginary = 0.0;
        public Complex() { this( 0, 0 );}
        double r = real;
        double i = imaginary;
        public ComplexN( double re,  double im) { this(re,im);}
        public Complex add( Complex a, Complex b ) { return  new Complex(a.r + b.r, a.i + b.i);}
        public Complex subtract( Complex a, Complex b ) { return new Complex(a.r - b.r, a.i - b.i);}
        public String toString() {return String.format( "(%.1f, %.1f)", real, imaginary );}
        Object[] add(Complex b) {return null;}
        Object[] subtract(Complex b) {return null;}
    ==================================================
    public class ComplexTest
       public static void main( String args[] )
          Complex a = new Complex( 9.5, 7.7 );
          Complex b = new Complex( 1.2, 3.1 );
          System.out.printf( "a = %s\n", a );
          System.out.printf( "b = %s\n", b );
          System.out.printf( "a + b = %s\n", a.add( b ) );
          System.out.printf( "a - b = %s\n", a.subtract( b ) );
    }

    If you take the N off the name, you get this:
    public Complex( double re,  double im) {
      this(re,im);
    }OK, now walk through an instantiation like this:
    Complex c = new Complex(1.0, 1.0);You call that constructor. And that constructor then delegates to the constructor that takes two double arguments. That is, it delegates to itself.
    So it would just go on delegating to itself for eternity. This is bad.

  • PE02 - PCR Calculation

    Hi,
    I have the following requirement -
    I want to extract the decimal part of the amount. To do this, I have to keep the amount in a  var and then use ROUND operation (rounding down), substract the var amount from the rounded amount and there extract it.
    Could anyone tell me how to do this above operation. I need a sample PCR code for this above logic to code in PE02.
    Thank you

    Hi,
    I have pasted my code below,
    5000 Annual Leave Encashment
    AMT=& ZHRY Set
    AMT*KZLEAM Multiplication
    AMT/KZLEAD Division
    MULTI ANA Multipl.amt/no/rate
    ROUNDG-100 Round AMT down
    ADDWT&5000 VAR Variable table
    FILLF A Fill amt/no/rate
    AMT- &5000 Subtraction
    AMT*-1 Multiplication
    AMT?0.5 Comparison
    <
    =
    >
    BREAK Break for ABAP pref.
    My amount is greater than 0.5, but it does not hit the break statement...
    My objective is to find if the amount is greater than 0.5 for the decimal part
    Please use PRINT operation after ROUNDG-100 Round AMT down after AMT- &5000 Subtraction and after AMT*-1 Multiplication so to output amount. We will review when you post results back.
    Thanks

  • Complex Mathmatical Calculation

    My project for the summer is to create a desktop calculator that accepts any altitude between Sea Level and 10,000 feet and any temperature between -15 and 45 degrees Celsius and then automatically displays an aircrafts maximum allowable takeoff weight. Creating the Panel, text boxes, labels etc are no problem with my basic Java programming knowledge but I have no idea where to start with the actual calculations. I would imagine some sort of algorithm would be used but know basically nothing about them. Help getting pointed in the right direction would be greatly appreciated.
    Here's a link to an Aircraft Weight, Altitude and Temperature Chart (WAT Chart) so you can see what I'm talking about. The personal web page is about 110KB because of the chart so it might take about 10-20 seconds to load is you're using a dialup connection. Any help would be greatly appreciated.
    http://mywebpage.netscape.com/MichaelEKauffman/
    Thanks in advance!

    You are right - the posted chart is only applicable to a Hawker Siddeley 125-700A when using 0 Degrees flaps and the automatic performance reserve system (APR). I have similar charts that use 15 degrees flaps and even those that include the use of thrust reversers and with and without the APR. From the posts so far it appears I have my work cut out for me this summer and will be brushing up on my Calculus. The feedback thus far has been greatly appreciated and thanks in advance for any others who have additional feedback or ideas.
    By the way, the posted Weight, Altitude and Temperature Chart (WAT Chart) is the least complicated of the Summer Project. There are also Takeoff and Accelerated Stop Distance charts, First and Second Segment Climb Gradient Charts among others for the same aircraft. My thoughts were if I could figure out how to do the WAT Chart then figuring out other more complicated charts would become a little more obvious. More charts could be posted to my personal web space if somebody indicated an interest. Thanks again everybody for the help!
    Michael

  • Complex Rebate calculation

    Hi All
    I have tough task ahead and i need your help.I have to create a rebate which is used during sales from consigment .It is supposed to work in such a way it takes the amount in the current sales order and minuses it from the amount of material still at consigment(1000 at consigment - 200 at sales order) .The differenece (800) is the base for calculation.We take 800* current price * 2%.The outcome is subtracted from the sales amout (200).The same thing should happen with normal sales but the rebate should not take into account the amount previously sold on the reference document and the discount is on the credit memo request .Does anyone have any good tips how to get started with this ?please:)

    Hi Grinch,
    Glad to hear that your issue had been solved by yourself. Thank you for your sharing which will help other forum members who have the similar issue.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Complex DAX Calculation

    Hi,
    I have an excel calculation that I have tried to convert i into a powerpivot measure. The excel calcualtion is as below:
     (IFERROR(IF(1-ABS((TOTDEMANDQTY-REVISEDFRC)/TOTDEMANDQTY)<0,0,(1-ABS((TOTDEMANDQTY-REVISEDFRC)/TOTDEMANDQTY))),"0.00")
    I was given some great advice to change it to the below as a measure and it almost works but not quite:
    Some Measure:=if(DIVIDE(ABS(FAReportInput[Demand]-FAReportInput[Revised Forecast]),FAReportInput[Demand],0)<1,1-DIVIDE(ABS(FAReportInput[Demand]-FAReportInput[Revised Forecast]),FAReportInput[Demand],0),0)
    The issue is where I have a revised forecast of an amount but a demand of zero I am returning a value of 1 when in fact it should return a value of zero as per the iferror in the excel formula- can anyone help?
    Thanks

    Hi Grinch,
    Glad to hear that your issue had been solved by yourself. Thank you for your sharing which will help other forum members who have the similar issue.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Complex rate calculations

    A bit of background (especially for anyone not in the UK). Here people are registered with their local doctor's practice. The practices are grouped into consortia. There are several consortia with the city.
    I'm looking at hospital referrals. The referrals table has a row for each referral (who, when, what for, etc.), including the practice the person is registered with.
    I have a lookup table for practice to consortium.
    I also have a table of the practice populations, i.e. the number of people registered with each practice.
    What I want is a Disco report for a selected practice, showing the referral rate for the practice and the referral rate for that practice's consortium.
    I've set up parameters to select the consortium and practice, and removed the conditions based on those parameters (otherwise I only get the practice data, not the whole consortium, of course).
    Then I can use CASE statements to get the total referrals and total population for the practice and the consortium.
    Now I need to calculate the rates, but Disco just breaks when I try! It disconnects me.
    So for the consortium admissions I've got:
    SUM(CASE WHEN Cur open practs cons mv.Consortium name = :Consortium THEN "V opref act 0607 disco".M gp refs ELSE 0 END)
    and for the consortium population I've got:
    SUM(CASE WHEN Cur open practs cons mv.Consortium name = :Consortium THEN Pbc weighted pops.Prac pop ELSE 0 END)
    I want to divide the admissions by the population, but Disco won't have it.
    Does anyone have a brilliant solution?
    I think the only way out is to create a table or materialised view with the rates precalculated.
    If you've read this far - thank you!
    Ros

    1. What happens if you pre-calculate the value (calc_div) such as:
    case when NVL(SUM(Pbc weighted pops.Prac pop),0) = 0 then 0
    else
    SUM("V opref act 0607 disco".M gp refs) / SUM(Pbc weighted pops.Prac pop)
    end
    and then check for consortium, such as:
    CASE WHEN
    Cur open practs cons mv.Consortium name = :Consortium
    AND
    Cur open practs cons mv.Consortium name = :Consortium
    THEN
    calc_div
    ELSE 0
    END
    Just wondering if that would be more appetizing to Disco.
    2. I trust you're only displaying aggregated data at this point, right (ie: not mixing detail rows of data with these sum calcs)?
    Not a "brilliant" solution, but maybe see what happens by breaking it down first.
    Russ

  • Complexe percentage calculation

    hi,
    I would like to compute percentage based on this table between ticket and CA based on BUV and ID parameters:
    ID
    BUV
    Ticket
    CA
    103
    BUV31
    2 274 €
    32 662 €
    103
    BUV2
    1 979 €
    32 662 €
    103
    BUV35
    1 788 €
    32 662 €
    104
    BUV31
    2 492 €
    40 900 €
    104
    BUV2
    2 311 €
    40 900 €
    104
    BUV14
    2 283 €
    40 900 €
    with a power pivot table we have that:
    Étiquettes de lignes
    CA
    Ticket
    pct
    103
    97985,37
    6042,14
    6,17%
    BUV2
    32661,79
    1979,24
    6,06%
    BUV31
    32661,79
    2274,44
    6,96%
    BUV35
    32661,79
    1788,46
    5,48%
    104
    122699,16
    7085,82
    5,77%
    BUV14
    40899,72
    2283,21
    5,58%
    BUV2
    40899,72
    2310,67
    5,65%
    BUV31
    40899,72
    2491,94
    6,09%
    Total général
    110342,265
    13127,96
    11,90%
    where foor CA I created a DAX formulas in calculate Field:
    sum([CATotal])/DISTINCTCOUNT([OPFSessID])
    and for Ticket I created in calculate Field again:
    [SommeTicketTotal]
    And the result of the percentage field is still a Calculate Field which is the result of CA/Ticket comuted previously.
    It works perfectly if I want to display only one ID. But if two ID are displayed, the computation is the sum of percentage which is of course wrong.
    For instance if I think about BUV31, i should have 6.47% instead of 12.96%. How can I add buv parameter into the formula to get the right result?

    Hi,
    Yes it is correct. I created a table with only BUV elements and theire percentage. 
    Here is the table:
    Étiquettes de lignes
    pct
    BUV14
    5,58%
    BUV2
    11,66%
    BUV31
    12,96%
    BUV35
    5,48%
    Total général
    11,90%
    As you can see BUV31 has 12.96% but it is wrong it should appear ticket (2274.44+2491.94) / CA (32661.79+40889.72) = 6.48%. So, 0.1296*32661.79=4233. It use 4233 as ticket values. No idea about where it come from.
    I think I should add into the CA calculate field something like "group by" BUV. 

  • Notice days Calculation Error.....

    Dear Experts.....
    I am facing the problem that when i run the leaving action and give the notice period salary to employee system will generate wrong calculation. If i didnot run the leaving action then amount is rightly calculated. Plz find the below RX table entries...
    /101 Total gross                                                    23,885.00
    /110 Net payment                                                        23.00-
    /550 Statutory n                                                    23,885.00
    /557 Cash Paymen                                                    23,862.00
    /560 Payment Amo                                                    23,862.00
    /700 Wage/salary                                                    23,885.00
    /840 Diff. to av01                                   9.00
    /840 Diff. to av02                                   9.00
    3 /001 Valuation b01                                                   6,970.00
    3 /001 Valuation b02                                                   6,970.00
    3 0001 Basic Pay  01                                                   1,441.00
    3 0002 House Rent 01                                                     649.00
    3 0003 Utility    01                                                      72.00
    3 0004 Medical    01                                                      86.00
    3 1001 Attendance 01                                                      30.00
    3 6001 EOBI Eploye01                           10.00                      23.00-
    3 6002 EOBI Employ01                           10.00                     114.00
    3 7002 Notice Peri01                                  31.00           21,607.00
    Employee salary is 7000/-, and notice days are 31 mean one month salary but see the above calculation amount. I have tried PRCL 20 also, but no effect.
    Below check the PCR calculation in Payroll, here system is not calculating anything.
    3 /001 Valuation b01                                                   6,970.00
    3 /001 Valuation b02                                                   6,970.00
    3 0001 Basic Pay  01                                                   4,468.00
    3 0001 Basic Pay  02                                                   4,468.00
    3 0002 House Rent 01                                                   2,011.00
    3 0002 House Rent 02                                                   2,011.00
    3 0003 Utility    01                                                     223.00
    3 0003 Utility    02                                                     223.00
    3 0004 Medical    01                                                     268.00
    3 0004 Medical    02                                                     268.00
    3 1001 Attendance 01                                                      30.00
    3 6001 EOBI Eploye01                                                      23.00-
    3 6002 EOBI Employ01                                                     113.00
    3 7002 Notice Peri01                                  31.00
    Please help me, how to remove this error.

    Abhihash -
    Your suggestion worked good, thanks! Thank you too Naga.
    One more question please. I have grouped on {Asgnmnt.GroupName} for the different departments and have added this code to the details section and suppressed it to remove the duplicates...
    Here's the code....{CallLog.CallID} = Next( {CallLog.CallID})
    My question: Is this the best way/method to remove duplicates?
    I also going to add a Summary to count the days for each group - should I use 'Count' or 'Distinct Count' to get an accurate count of the days?
    Thx.
    G.

  • Please explain the PCR ZY03

    Hi,
    Can any one explain the below PCR calculation.
    This is the valuation basis for /092
    The amount = 950
    daily working hours = 7.5 hours
    TABLE 508A
    NUM=BTGSTDZ
    DIVIDE ANR
    ZERO = A
    ZERO = N
    ADDWT *
    Your immediate response is highly appreciable.
    Rgds
    AADI

    TABLE 508A
    Read table T508A  (use se16n to look at the table if you require)
    NUM=BTGSTDZ
    If I remember correctly, NUM= will set the number field, B is according to Table Values, and TGSTD should be the table field.  The Z seems out of place since the operation only has 10 characters.  Use t-code pe04 to learn more on operation NUM, concentrating on the 6 operands for table fields.
    DIVIDE ANR
    Divide the Amount by the Number, and write the result into the Rate field.
    ZERO = A
    Zero out the Amount field
    ZERO = N
    Zero out the Number field
    ADDWT *
    Write the WT into the Output Table (also called Input Table, or IT).

  • URGENT Help Pls - Absence type to be considered as Attendance in Time Eval

    Hello Experts,
    There is one specific absence type which has to be reported as absence in IT2001.
    This abs type is something an EE works outside of office and need to be tracked as absence. And when the EE has scheduled to go out for work on this absence, there is an absence request form and approval process. Everything is in place.
    But, since the EE is performing work on this absence, this absence type needs to be considered as attendance in Time Eval so that number of hrs work in a day gets added up. Plus, we have specific OT rules, it EE works more than 8 hrs and less than 10hrs in a day, he get 1.5 time rate in OT. And if he works more than 10hrs, he gets double OT. But if he works less than or equal to 40 hrs in the same week, he does not get OT.
    Due to this complex OT calculation, the above absence type needs to be added or considered as regular working hrs so that the EE get OT accordingly.
    Please reply me VERY URGENTLY. Somenone with helpful answer and/or suggession will be awarded points.
    Thanks in advance

    Hi Subodh,
    Would you please send me those PCR's, i have a similar situation but with time, if he starts before 6am gets double time and after 6am he gets 1.5 times for overtime.
    E-mail address:[email protected]
    Thanks in advance
    Prakash

Maybe you are looking for