cancel
Showing results for 
Search instead for 
Did you mean: 

Fetch timetype value from TES table in PCR

Former Member
0 Kudos

Hi,

Please suggest me how to fetch timetype value from TES table in PCR and put a logic that if value is greater than xx then to generate message in time evalution

Thanks,

Anil

Accepted Solutions (0)

Answers (2)

Answers (2)

Sanky
Active Contributor
0 Kudos

Hi ,

You can write the below PCR like below,

ZTST

*

  ****

        HRS=DZZZZ

        HRS?5

               *

                  COLERYYI

               <

                  LEAVE

 

Yse this PCR with ACTIO function. Here HRS?5 is means that comapring some value then message will store through time evaluation error message.

Regards,

Sankarsan

Former Member
0 Kudos

Hi

write a PCR Z001 like below, here ZZZZ is time type and YY is message in T555E ,  I is for information.

PCR Z001

*

****

     HRS = ZZZZZ

     HRS?XX

           *

             COLERYYI

           =

Put PCR in schema

PTIP Z001  GEN

or

ACTIO Z001

Regards

Aj

Former Member
0 Kudos

Hi Ajay,

Thanks for the quick reply,Its working now but I also want that once the message is been generated the time type values should be 0.

Can u pls help me with this.

Regards,

Anil

Former Member
0 Kudos

Hi Anil,

PCR Z001

*

****

     HRS = ZZZZ

     HRS?XX

           *

             COLERYYI

             HRS = 0

             ADDDBZZZZZ

           =

Add two more lines

HRS = 0 --> HRS value set to zero

ADDDB(Time Type)Z --> Putting Z at the end, will reset the value of time type

Regards

Aj