on 11-25-2012 3:48 AM
Wanted to have paygrade TRFGR in EDTIN feature as a certain grade needed to have different payslip renum. Amended the std structure PME74 into ZME74. Made feature too and activated. Under TRFGR two options are there GT or otherwise. It default goes to otherwise even though the test data is GT. Pl advice
Instead of changing structure PME74, you should have EDTIN feature called an external routine. As PME74 is accessibled in this routine, you should be able to read ee's pay grade, and assign proper
form based on the pay grade into 'BACK' value (return value from feature).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
through program could bring in P0008 but its empty as pernr is not pulled. If we put GET PERNR in the program still no use. Any guidance?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok...any other possibility?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vivek,
By looking at the abap code involved I'd say your change to the standard feature should't work:
FUNCTION GET_PAYSLIP .
* get variant name
IF PAYSLIP_VARIANT IS INITIAL.
CLEAR: PME74.
MOVE-CORRESPONDING P0001 TO PME74. "
MOVE-CORRESPONDING RGDIR TO PME74.
PME74-MOLGA = T500P-MOLGA. "
* determine payslip variant from feature 104 PERFORM RE549D USING 'EDTIN' '1' PAYSLIP_VARIANT RET_CODE.
there should be something like
MOVE-CORRESPONDING P0008 TO PME74.
Regards,
Carlos.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
9 | |
5 | |
3 | |
3 | |
3 | |
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.