Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9067

Re: Shortfall of hours and Paid holiday count

$
0
0

Hi Deepak,

 

You should write PCR something like this below:

 

Shortfall of Hours

 

Z123

*

  ****

       OUTTPPTYPE

                   1

                    HRS=PNUM

                    ADDDB9XXX

                    COLOP*

                   *

                   COLOP*

 

 

Time type 9XXX will be a daily time type  (Refer this document for your reference Time Types - The DNA of Time PCRs).

 

This PCR should be included as below:

 

RTIP  Z123 GEN in the schema after function TIMTP.

 

Another PCR should be written as below:

 

Z234

*

****

      HRS=S

      HRS-D9XXX

      HRS?0

      >

      ADDDB9002

      *

 

Include this PCR after Z123 in the schema as below:

 

ACTIO Z234     

 

 

 

Paid Holiday count

 

Create a monthly time type 9029. (Refer this document for your reference Time Types - The DNA of Time PCRs )

 

Z345

*

****

      VARSTHOLCL

                     1

                       VARSTDAYTY

                                       1

                                         HRS=1

                                         ADDDB9029

                                       *

                     *

 

Include this PCR in time schema after function P2011 as shown below:

 

ACTIO Z345

 

You can query this time type as period balance in TCode PT_BAL00.

 

I hope the above solution resolves your issue.

 

Let me know how it goes.

 

Thanks and regards,

Vivek Barnwal


Viewing all articles
Browse latest Browse all 9067

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>