2009 Nov 20 3:44 PM
Dear gurus,
I need to find an exit for report RPCEDTP0, because a need to sort the remuneration statement by name and last name.
The standard button SORT ORDER from report RPCEDTP0 is not giving me what I need...
Does anyone know something that may help me?
Thank you in advance,
PC
2009 Nov 20 7:44 PM
Hi Priscila,
from ECC600 upward, we have the enhancement framework.
Although I have serious doubts about the standard software quality if you 'enhance' whereever whatever code.
Implicit Enhancement Options allow us to insert source code plug-ins before the first and the after the last line of includes, methods, reports, and function modules.
Open the source code in the abap workbench editor, click the spiral-like enhancement button (6th button on editor toolbar). Then we are in 'enhancement mode'. Now edit -> Enhancement operations -> Show Implicit Enhancement Options. Then look for a useful point to insert some program lines, i.e. your custom sort. Click in the code next to an enhancement arrow, edit -> enhancement operaions -> Create.
For the rest you should first check some documentation about [Enhancement Framework|http://help.sap.com/saphelp_nw70/helpdata/en/70/63da4023a28631e10000000a1550b0/frameset.htm]. And always be careful.
Regards,
Clemens
Dear gurus,
I need to find an exit for report RPCEDTP0, because a need to sort the remuneration statement by name and last name.
The standard button SORT ORDER from report RPCEDTP0 is not giving me what I need...
Does anyone know something that may help me?
Thank you in advance,
PC
2009 Nov 20 7:44 PM
Hi Priscila,
from ECC600 upward, we have the enhancement framework.
Although I have serious doubts about the standard software quality if you 'enhance' whereever whatever code.
Implicit Enhancement Options allow us to insert source code plug-ins before the first and the after the last line of includes, methods, reports, and function modules.
Open the source code in the abap workbench editor, click the spiral-like enhancement button (6th button on editor toolbar). Then we are in 'enhancement mode'. Now edit -> Enhancement operations -> Show Implicit Enhancement Options. Then look for a useful point to insert some program lines, i.e. your custom sort. Click in the code next to an enhancement arrow, edit -> enhancement operaions -> Create.
For the rest you should first check some documentation about [Enhancement Framework|http://help.sap.com/saphelp_nw70/helpdata/en/70/63da4023a28631e10000000a1550b0/frameset.htm]. And always be careful.
Regards,
Clemens
2009 Nov 25 12:52 PM
2009 Nov 25 5:12 PM
Hi,
I'm trying to follow a suggestion that Ted Dinh gave me. He gave me a good advice:
" Priscila :
I guess you want to sort by first name, last name instead of last name , first name (as this sort is already available in 'Sort Order' list).
SAP logical dbase PNP uses selected fields in structure PS0001 for sorting and hard-coding these fields in include 'LRPPNTOC',
form 'FILL_SORT_CONDITION_TABS'.
Assume that you stored 'First Name Last Name' in field 'ENAME' of IT0001 (e.g. SNAME field has 'DOE JOE', and ENAME field has 'DOE JOE'), you probably can add field 'ENAME' into the list of sort-able fields (by using enhancement point to change SORTORDER_POSITION' to '26' (currently set to 0) for SORT_ORDER-FIELDNAME = 'ENAME') . This way field 'ENAME' will become available when you click on 'SORT ORDER' .
Rgds.
Ted Dinh "
Now I need to discover what is happening, because I'm not havin success yeat.
Regards,
Priscila
2009 Nov 25 5:18 PM
Below are the user exits/Badis for the report RPCEDTP0
Enhancement
HRPYPT01 HR-PT: Rounding mechanism for tax and Soc Sec amounts
HRPYPT02 HR-PT: Layout for RPCIIDP0
HRPYPT03 Employee grouping for coverage rules
HRPYPT04 HR-PT: Retrieval of EH&S and training data (Social Balance)
HRPYPT05 HR-PT: pay date calculation for Vacation Allowance
HRPYPT06 HR-PT: Detection of employees for Social Balance
Business Add-in
HRPAYPT_SS_SPLITS HR-PT: processes SS splits
HRPAYPT_SOCPQ01 HR-PT: Enhancements for Social Protection - Social Report
HRPAYPT_OVR_001 User exit for Overtime Record
HRPAYPT_ABSENCE_PER HR-PT: CATS absence periods
EXIT_RPCTAXP0_01 HR-PT: enhancements for tax declarations
EXIT_RPCALCP0_PVACV HR-PT: extensions for holiday allowance (PVACV)
EXIT_RPCALCP0_PVACO HR-PT: Ampliações para Subs. de férias (PVACO)
EXIT_RPCALCP0_PVACA HR-PT: extensions for holiday allowance (PVACA)
2009 Nov 26 2:32 PM
Hello Srini Vas,
I really appreciate your answer but I need to sort PNP... and to do that, I need to use the enhancement that I created
Thank you,
Priscila
2009 Dec 04 3:58 PM