on 10-09-2008 9:18 PM
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.
Hi.. you do not have to read the cluster for this. Please read it from IT 3- last date for PDC calculation..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Hi ,
i guess you can try with RPCLSTB2
or
HR_TIME_CLUSTER_B1_GET
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.