cancel
Showing results for 
Search instead for 
Did you mean: 

How to extract last day processed by time evaluation from PCL1 cluster

Former Member
0 Kudos

Hello Everyone,

I am new to time management and got an object to work on it.I was asked to extract " Last Day Processedu201D by time evaluation that can be found in PCL1 Cluster (B1 for time), internal table QT and also Cumulated time types that can be found in PCL1 Cluster (B2 for time), internal table SALDO.

Can some body help me in knowing which function module would work to fetch the data from this cluster table..

Thanks in Advance,

Chinni.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi.. you do not have to read the cluster for this. Please read it from IT 3- last date for PDC calculation..

Former Member
0 Kudos

Hi Judith,

Its useful to me can you suggest some thing for SALDO too.

Thanks in Advance,

Shanmukhi.

Former Member
0 Kudos

Hi Chinni K,

If you want to extract data of SALDO , you can try this code:

DATA i_timeres TYPE STANDARD TABLE OF ptm_time_results WITH HEADER LINE.

DATA : BEGIN OF t_hr_saldo OCCURS 0.

INCLUDE STRUCTURE pc2b5.

DATA : END OF t_hr_saldo.

CALL FUNCTION 'HR_TIME_RESULTS_IN_INTERVAL'

EXPORTING

int_pernr = t_pernr-pernr

int_begda = t_hr_times_db-kday

int_endda = t_hr_times_db-kday

  • INT_CLTYP = '1'

TABLES

  • GET_TBUFF =

  • GET_BUFFER_DIR =

int_time_results = i_timeres

EXCEPTIONS

no_period_specified = 1

wrong_cluster_version = 2

no_read_authority = 3

cluster_archived = 4

technical_error = 5

OTHERS = 6.

IF sy-subrc <> 0.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ELSE.

LOOP AT i_timeres.

t_hr_saldo[] = i_timeres-saldo.

ENDLOOP.

Former Member
0 Kudos

Hi TWM,

thanks for the reply i already solved the problem in the similar way.thanks

Former Member
0 Kudos

SALDO is a period balance table. it is formed during runtime, when the time evaluation is run. The dynamic values of the period balance are stored in there. Normally, it is recomended to transfer the value of SALDO into a quota.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

i guess you can try with RPCLSTB2

or

HR_TIME_CLUSTER_B1_GET