Skip to Content
0
Former Member
Oct 18, 2005 at 01:43 PM

please help me..I am ABAP fresher

45 Views

can anyone help on this:-

ZWSOABS contains only one field ABSTYP.

my selection screen is

PARAMETERS : S_MONTH LIKE VVIS_SOPTI-SMONTH, "month

S_BTRTL LIKE PA0001-BTRTL. "personal sub area number

i wnt to display these fields in rep output:-

1) <u><b>personal sub area text</b></u> to be displayed based on sel screen.

2)<u><b>no. of occurences</b></u>is total no. of absences in specific period. we get this from ZWSOABS-ABSTYP.

3)<u><b>no. of workers</b></u>

eg:-SELECT COUNT(*) INTO NO_OF_WORKERS

FROM PA0000 AS a inner join PA2001 as b on apernr = bpernr WHERE aENDDA = '99991231' AND aSTAT2 = '3'

4) <u><b>working days lost</b></u>

eg:- SELECT COUNT(*) INTO WORK_DAYS_LOST FROM PA2001

*WHERE ABWTG = P2001-ABWTG.

Can anyone tellme how to take these fields as in internal table and how to display exactly in the report output