We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-hr] How to store wagetype to a variable

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from JG-SAPHR on Jan 23 at 5:52 PM
Hi

You can store the values(Rate, number, amt, etc) from a wage type, as below:
In payroll:
PCR ZIN1 - initialise variable
ZERO=& ABCD Clear var ABCD

pcr ZSTR - Store w/t ABCD
D WGRTP? If current w/t is DEFG
*
**
***
****
DEFG ADDWT&ABCD Store current w/t details in var ABCD

Schema lines:
ACTIO ZIN1 Initialise var
PIT ZSTR GEN NOAB Store w/t DEFG in var

Similarly in Time eval schema, you can store details in a time type as below:
ACTIO ZINT
PTIP ZSTT GEN

pcr ZINT:
HRS=0
ADDDBABCDZ Initialise t/t ABCD
pcr ZSTT
HRS=x Store val
ADDDBABCDZ Set t/t ABCD to 1.
The parameter Z in ADDDB sets the value in t/type ABCD; using ADDB without Z accumulates to t/type.
ADDDBABCD Add 1 to ABCD

Regards, JG

---------------Original Message---------------
From: Myvimm
Sent: Monday, January 23, 2012 4:14 PM
Subject: How to store wagetype to a variable

Hi Experts,

I have a requirement where in I need to do some processing based on a previously processed wagetype... How can I store a wagetype number to a temp variable to be used later in the same PCR or another...Is it possible?? say the value in WGTYP variable to stored to a temp variable ABCD?

I am pretty new to PCR , so I might be asking something very silly...

Thanks,

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
JG-SAPHR  
Senior SAP HR Consultant
achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Become a blogger at Toolbox.com and share your expertise with the community. Start today.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language