Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

sort remuneration statement (report RPCEDTP0)

Former Member
0 Likes
1,071

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

1 ACCEPTED SOLUTION
Read only

Clemenss
Active Contributor
0 Likes
996

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

6 REPLIES 6
Read only

Clemenss
Active Contributor
0 Likes
997

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

Read only

Former Member
0 Likes
996

Hello Clemens,

Thank you for your answer.

Regards,

Priscila

Read only

Former Member
0 Likes
996

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

Read only

Former Member
0 Likes
996

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)

Read only

Former Member
0 Likes
996

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

Read only

Former Member
0 Likes
996

Please see: