Difference between revisions of "SAP HCM ABAP REPORTES"

From SapWiki
(Created page with "==Programa ejemplo== <nowiki>REPORT YHCM_EX001. * usar base de datos PNP TABLES: pernr. INFOTYPES: 0001,0002,0007,2001,0082. INITIALIZATION. *only select employees who ha...")
 
Line 25: Line 25:
 
   perform display_alv.</nowiki>
 
   perform display_alv.</nowiki>
  
==[https://help.sap.com/docs/ERP_HCM_SPV/b52ef0936e7c43c7ba12ce64ee6c32db/53b5e05320a7424de10000000a174cb4.html?version=600_HRSP_N8 Report Programming in HR]
+
==[https://help.sap.com/docs/ERP_HCM_SPV/b52ef0936e7c43c7ba12ce64ee6c32db/53b5e05320a7424de10000000a174cb4.html?version=600_HRSP_N8 Report Programming in HR]==

Revision as of 21:13, 22 May 2024

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