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

Re: PCR to overwrite ZL table WT values

$
0
0

Ok Sujata.

 

I am sharing the Pcr details but with out seeing your all pcrs and schema design would be difficult to say where to insert in the Schema.

 

ZTST (Calculating actual working hours in a day)

*

  ****

       OUTTPORIGS

               *

                     COLOP *

               P

                     HRS=PNUM

                     ADDDB 1000Z

                     HRS=S

                     ADDDB 1001Z

               E

                     HRS=PNUM

                     ADDDB 1000Z

                     HRS=S

                     ADDDB 1001Z

 

Insert this pcr after P2002 function in th etime schema like below

 

PTIP ZTST GEN

 

ZCHK (Check worked less than half day dws or more)

*

   ****

          HRS=D1000

          HRS?S

                *

                   HRS=D1001

                   HRS/2

                   ADDDB 1002Z

                   HRS=D1000

                   HRS?D1002

                        <

                             HRS=1

                             ADDZL 9000

                        *

                             HRS=0.50

                             ADDZL 9000

               >

                  LEAVE

 

Insert this PCR before CUMBT function with ACTIO function like below

 

ACTIO ZCHK

 

Check and tell me.

 

 

Regards,

Sankarsan


Viewing all articles
Browse latest Browse all 9129

Trending Articles



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