|
Is there any way by which I can know all infotypes
which are maintained in my environment. Also, among all maintained infotypes,
for any particular employee which infotypes has been maintained. I don't
want to go to PA20 and check all infotypes. What I wanted, whether there
any table/tcode which provide the information for infotypes.
Solution: Make use of the standard report RPLINFC0 T-code: PC00_M02_LINF0
Notes for Abaper: There are a few function modules associated with Infotype. HR_GET_LEAVE_DATA HR_INFOTYPE_OPERATION HR_READ_INFOTYPE RP_LAST_DAY_OF_MONTHS An example: Use this FM 'HR_INFOTYPE_OPERATION' Example: EXPORTING infty = '0169' subty = 'RRSP' number = p_pernr record = l_p0169 validitybegin = '20121001' validityend = '99991231' operation = 'INS' dialog_mode = '0' "Use default nocommit = '1' "Use default IMPORTING return = l_bapireturn key = bapipakey_tab. IF l_bapireturn-id NE space. WRITE: / p_pernr, 20 'Create was unsuccessful', l_bapireturn-id, l_bapireturn-message+0(40). ELSE. WRITE: / p_pernr, 20 'Create was successful', l_bapireturn-id, l_bapireturn-message+0(40). ENDIF. *--- End of example --- |
|
Also See
SAP Human Resouce Books
SAP Human Resource Tips
Main Index
All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|