Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Time Management... using ZES table...

former_member384574
Active Participant
0 Likes
718

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

1 REPLY 1
Read only

Former Member
0 Likes
448

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