SAP HCM ABAP REPORTES

From SapWiki
Revision as of 21:13, 22 May 2024 by WikiSysop (talk | contribs)

Programa ejemplo

REPORT  YHCM_EX001.
* usar base de datos PNP

TABLES: pernr.

INFOTYPES: 0001,0002,0007,2001,0082.

INITIALIZATION.
*only select employees who have not left the company when the 
*report selection screen is displayed.

  rp-sel-ein-aus-init.

START-OF-SELECTION.

GET pernr.
  rp-provide-from-last p0001 space pn-begda pn-endda.
  rp-provide-from-last p0002 space pn-begda pn-endda.
  rp-provide-from-last p0007 space pn-begda pn-endda.

  perform process,

END-OF-SELECTION.
  perform display_alv.

Report Programming in HR