on 2013 Nov 06 1:50 PM
Hi everybody,
I need to use Mod operation in a calculation of PT PCR but I could not find any solution. You know 1391 Mod 4 is 3. I need a operation to do this in time evaluation PCR for me.
Although I can develop this operation by ABAP but I expect this basic operation provide by SAP. Do you have any idea for this issue?
Regards,
Omid
Hi Omid,
Below might work. Give it a try.
From your example A = 1391 B = 4
HRS=A
HRS/B
ROUNDHR23 (Round Down to nearest whole number)
HRS*B
HRS-A
HRS*-1
Include error handling when A is less than B.
Hope it helps.
Thanks.
Regards
Sairam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
9 | |
8 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.