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

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

[sap-hr] Picking the value of PBEG and PEND in case of multiple entries of same subtype of 2002

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

Posted by Sunita Singh (SAP HR Consultant)
on Feb 5 at 9:27 AM
Hi Experts,
Our client's business requirement is to have provision handling multiple entries multiple entries of same subtype of IT 2002 on same day with different Time entries.For example one IT 2002 Styp 1 has entry 10 am to 14 pm & other entry of IT 2002 styp 1 as 14 pm to 16 pm.
In this scenario I want to have TWT with start time of 1st 2002 record i.e 10 & another TWT with end time of last 2002 record i.e. 16.
I have written a PCR as
OUTTPORIGS Origin status
*
COLOP* TIP >TOP curr.TType
P
HRS=PBEG Set
ADDDB90T3 Add to day balance
HRS=PEND Set
ADDDB90T4 Add to day balance
But its giving me value of 2002 start time as (10+14=24) & END time (14+16=30) respectively.
Since TIP will have entries with origin E & A as well with P and any entry can be 1st or last entry depending on time, I can't use VRSTFIRST & VARSTLAST.
Please suggest me how to handle such scenario through PCR. Is there a way we can make decision on From & To of TIP entries.
You can also suggest me if such need can be handled at masterdata level so that we can have just one entry
Regards
S S
__.____._
Copyright © 2011 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
View this online
  
Most Popular White Papers

In the Spotlight
Midsize Companies Work Smarter with Business Analytics. Watch the IBM Webcast
_.____.__

0 comments:

Post a Comment

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