cancel
Showing results for 
Search instead for 
Did you mean: 

PNP or PNPCE What to use !!!

Former Member
0 Kudos

We have this discussion going on !! what is the good practice !! use PNPCE instead of PNP due to concurrent employment. Do we also need to create new report categories .

Can you guys give some inputs on this ? Any experience/suggestion so far ..

Cheers

Usman

Accepted Solutions (1)

Accepted Solutions (1)

former_member181966
Active Contributor
0 Kudos

Go to SE36 and give PNP and PNPCE and see Docmenation.You`ll know the differnce

Thnaks

suresh_datti
Active Contributor
0 Kudos

Hi,

It is better to go in for PNPCE even if you do not have Concurrent Employment to take advantage of the new lDB.The one thing pnpce does do is when the GET executes only the infotype records retrieved for the interval requested will be retrieved. Whereas PNP by default, will retrieve all infotype records for a given PERNR.

SAP recommends to use PNPCE for all new development.

Regards,

Suresh Datti

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

SAP recomends to Use PNPCE , but all the features are

not available as of now.

The Time Management functions for concurrent

employment have not been released for all customers.

They are activated for selected pilot customers only.

Can get some info in SAP Note : 518520 , 516489

Regards,

GSR.

former_member181966
Active Contributor
0 Kudos

Going back to PNPCE discussion , I am just writing s program and passing the intervals like '18000101' to '99991231' in macro Rp_provide_last . I `m getting only one result .

As Suresh described it

<b>"The one thing pnpce does do is when the GET executes only the infotype records retrieved for the interval requested will be retrieved. Whereas PNP by default, will retrieve all infotype records for a given PERNR."</b>

There’re lot of business scenario we need all the results . then we have to go back to PNP ?

suresh_datti
Active Contributor
0 Kudos

No Saquib, you need not go back to PNP.. I guess you can try the following macros RP_SET_DATA_INTERVAL, RP_SET_DATA_INTERVAL_INFTY, and RP_SET_DATA_INTERVAL_ALL to specify the dates.

Regards,

Suresh Datti

Former Member
0 Kudos

RP_PROVIDE_FROM_LAST will only give 1 result. It evaluates your dates and then provides the LAST record that falls in the date range. If you need to see all the records in the date range for a given INFOTYPE you would use a LOOP statment.