‎2008 Oct 29 10:24 AM
Hi experts!!
I need help with this dates problem....
I have to read the cluster B2, specifically ZES table, and I want to print the data for three differents weeks that I have in selection screen. When I see the information of the cluster in RPCLSTB2 I can see in table ZES the concept and the date but when I try to catch the date in the table ZES I only have the day...how can I reference to the program the date?
I explain....
Selection-Screen....
Week1 (select options).........
Week2...................
Week3.........
Now I need to go with one of the weeks to the cluster and catch the data that are between Week1 , Week2 and Week3, but when I access to this table I only have the day...no the month.... how can I do this?
Thanks a lot!
Regards,
Rebeca
‎2008 Oct 29 12:48 PM
Hey Rebeca,
Just look into below information.if this info usefull for u thats gr8.
DATA: T_ZL TYPE PC2BF OCCURS 0 WITH HEADER LINE.
data: begin of tgetbuff occurs 0,
x(10),
end of tgetbuff.
CALL FUNCTION 'HR_TIME_RESULTS_GET'
EXPORTING
GET_PERNR = PERNR
GET_PABRJ = YEAR
GET_PABRP = MONTH
GET_CLTYP = '1'
TABLES
GET_TBUFF = TGETBUFF
GET_ZL = T_ZL
EXCEPTIONS
NO_PERIOD_SPECIFIED = 1
WRONG_CLUSTER_VERSION = 2
NO_READ_AUTHORITY = 3
CLUSTER_ARCHIVED = 4
TECHNICAL_ERROR = 5
OTHERS = 6.
Regards,
Lakshman.Annamaneni