This website is not affiliated with, sponsored by, or approved by SAP AG.

ABAP-HR Field Error in PA30

Human Resources (PM, OM, PA, TM ,PD)

Moderators: Snowy, thx4allthefish, muhnkee_2

ABAP-HR Field Error in PA30

Postby mail2workflow » Thu Jul 12, 2012 12:34 am

Hi Friends,

I am an Abaper got a requirement for HR .

This is the requirement .

Procedure client does
In Pa30 14infty 1180 sbty they give 12 litres in number/unit field(p0014-anzhl) or if 2 leaves then they calculate like this 30-2 = 28 so for 28 days how much litre petrol they should give (28/30) * 12= 11.2 litres they enter.

Now as an abaper i need to do this automaticaly putting the value when they create this value should fall into field.

For this i found implicit enhancement point but the thing is subtract is not working here.

using FIMA_DAYS_AND_MONTHS_AND_YEARS got total days between dates entered
from pa2001 table got all the leaves and added now i am subtracting total days - leaves to get remaining leaves

this subtraction is not working
i am unable to subtracct an floating decimal from an integer.


Regards
MSR
mail2workflow
 
Posts: 9
Joined: Wed Jul 04, 2012 2:14 am

Re: ABAP-HR Field Error in PA30

Postby Gothmog » Thu Jul 12, 2012 1:39 am

Duplicated in the ABAP forum - locked.
68 74 74 70 3a 2f 2f 74 69 6e 79 75 72 6c 2e 63 6f 6d 2f 62 64 6f 37 6d 77 67
Gothmog
 
Posts: 1941
Joined: Wed Sep 12, 2007 4:46 am
Location: Probably not home


Return to Human Resources

Who is online

Users browsing this forum: Google [Bot] and 7 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.