on 02-26-2008 10:51 PM
Hello, experts.
I was asked to get a wagetype data from RT.
The question is that there is the same wagetype
in RT?
I'm thinking about using 'READ TABLE rt....'.
Do you think I might get into trouble?
Should I just use loop RT for desired result?
Thanks for your answers in advance.
Hi
You make the Customizing settings in this section to make wage types of the payroll result, which were
created at the personnel assignment level, also or exclusively available at the person level. To do this, you
transfer the values fromthe Amount and Number fields fromwage types in the appropriate RT table
(Results Table) of the personnel assignments (personnel assignment wage types) to the corresponding
fields of wage types in the RT_PERSON table (Results Table for Person) of an employee (person wage
types). Fromthe RT_PERSON table, SAP R/3 can cumulate the person wage types in the CRT_PERSON
table. In this way, the relevant information is available for either evaluating the individual payroll results
or the cumulated payroll results at the person level, or for further processing. You can, for example,
summarize the total gross amount or the monthly salary of a concurrently employed person fromhis or her
individual personnel assignments to evaluate it in total for the employee.
Note that wage types that do not come fromthe RT table, cannot always be assigned to the sort
criteria for the payroll journal.
REWARD POINTS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually, I just wanted to know there are the same wagetypes in RT internal table, and the answer was YES, as I confirmed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to use the function module 'PYXX_READ_PAYROLL_RESULT'.
CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
EXPORTING
CLUSTERID = 'RQ'
EMPLOYEENUMBER = lv_pernr
SEQUENCENUMBER = w_rgdir-seqnr
CHANGING
PAYROLL_RESULT = li_payres
EXCEPTIONS
ILLEGAL_ISOCODE_OR_CLUSTERID = 1
ERROR_GENERATING_IMPORT = 2
IMPORT_MISMATCH_ERROR = 3
SUBPOOL_DIR_FULL = 4
NO_READ_AUTHORITY = 5
NO_RECORD_FOUND = 6
VERSIONS_DO_NOT_MATCH = 7
ERROR_READING_ARCHIVE = 8
ERROR_READING_RELID = 9
OTHERS = 10.
IF SY-SUBRC eq 0.
append lines of li_payres-inter-rt to i_rt.
endif.
Here i_rt will have the wagetypes.Try to use where used list for this function module,to get more information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.