cancel
Showing results for 
Search instead for 
Did you mean: 

PCR to clear temporary variables created

Former Member
0 Kudos
693

Hi,

I am looking for help on Opeartion in Time Management to clear the temporary variables created during evaluation.

Ex:

*

****

HRS=10.001

ADDVSKITF

So KITF variable will have 10.001 and so on till the calculation goes on.

How can I clear those temporary variables to zero values.Which operation do I use.

ZVR2 * ****

ZERO=&KITF

ZERO=&HYJ

This doesnt help...there is no operation with the name ZERO in SAP.

Appreciate your help.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi, After your Calculation is done make Zero by using HRS.

After Calculation part

HRS=0

ADDDBTime Type.

This will make zero to that time type.

Reg,

Srini

Former Member
0 Kudos

Hi,

HRS=KKITF

HRS*1-

addvskitf

Enough it will intialize as zero.

You can take another variable right in case any business mapping purpose instead of initialize zero.

Edited by: ERP12345 on Jan 11, 2012 12:32 PM

former_member235056
Active Contributor
0 Kudos

Use ZERO= NRA and then ADDWT&KITF and then ADDWT&HYJ.

Thanks,

Ameet

Former Member
0 Kudos

Hi Ameet,

Thanks for the resposne.

I am looking operation in Time Management and not Payroll.

Thanks

former_member235056
Active Contributor
0 Kudos

Hi,

You can use constant with zero value in it from constant table and move it directly to variables.

Thanks,

Ameet