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...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
rp-sel-ein-aus-init. | rp-sel-ein-aus-init. | ||
+ | |||
+ | RP-SET-DATA-INTERVAL 0001 SY-DATUM SY-DATUM. | ||
+ | * rp-set-data-interval 'ALL' low-date pn-endda. | ||
START-OF-SELECTION. | START-OF-SELECTION. | ||
Line 20: | Line 23: | ||
rp-provide-from-last p0007 space pn-begda pn-endda. | rp-provide-from-last p0007 space pn-begda pn-endda. | ||
− | perform process | + | perform process. |
END-OF-SELECTION. | END-OF-SELECTION. | ||
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]== |
Latest revision as of 21:23, 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. RP-SET-DATA-INTERVAL 0001 SY-DATUM SY-DATUM. * rp-set-data-interval 'ALL' low-date pn-endda. 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.