Friday, 23 March 2012

Negative Time Management in HR ABAP

* USING RP-READ-ALL-TIME-ITY * 

REPORT  ZCLASS_H13.

TABLES PERNR.

INFOTYPES: 2001 MODE N, 2006 MODE N.

START-OF-SELECTION.

GET PERNR.

  RP-READ-ALL-TIME-ITY PN-BEGDA PN-ENDDA.

  LOOP AT P2006.
    WRITE:/ P2006-PERNR, PERNR-ENAME, PERNR-STAT2, P2006-BEGDA, P2006-ENDDA, P2006-ANZHL,P2006-KVERB.
  ENDLOOP.