Change of LDB from PNP to PNPCE

HI All,
   I have a HR program where LDB PNP is used. Now I need to change the LDB from PNP to PNPCE. Can any one please tell me what are the mandatory change I need to do in the program after changing the LDB.
Thanks & Regards,
Arnab

Hi,
Purpose
The PNPCE logical database supports the evaluation of HR master data. It includes the functions of the PNP logical database and offers additional evaluation options. Therefore, you should use the PNPCE logical database instead of the PNP logical database for all new developments.
The enhanced functionality of PNPCE in comparison to PNP essentially concerns the evaluation of Concurrent Employment, that is the possibility to group evaluate several assignments/personnel numbers of a person. The new events 'GET PERSON' and 'GET GROUP' as well as an enhanced syntax for the INFOTYPES statement (addition AS PERSON TABLE) for the procurement of infotype data enable you to use the new functionality. The use of these new functions is optional. You can run a PNPCE report that does not use the new events and the addition for the INFOTYPES statement in a PNP-compatible session. Since the PNPCE also has an improved selection screen, each report benefits from this even if the report does not use the functions for evaluating Concurrent Employment.
Prerequisites
A report that wants to use the PNPCE must enter this in its report attributes under Logical database.
In addition, the PERNR structure must be declared in the report using the 'TABLES PERNR' statement. You can only use the PERNR structure again in certain circumstances. The use of the 'GET PERNR' event is therefore forbidden. Instead, use the 'GET PERAS' event. Except for the PERNR-PERNR component, all other components of the PERNR structure are no longer filled and have initial values. This kind of programming (with the exception of PERNR-PERNR) therefore not permitted.
In addition to the 'GET PERAS' event, you can also use the GET PERSON' and 'GET GROUP' events. To be able to use these events, you must declare them using the NODES statement (NODES PERSON', 'NODES GROUP', or. NODES PERAS').
Explanation of Terms
If the 'GET PERSON' and 'GET GROUP events and the 'AS PERSON TABLE' addition for the INFOTYPES statement are not used, the report indicates that it does not require the functionality for evaluating Concurrent Employment. In this case, the report runs in a PNP-compatible session. This is referred to as PNP mode in the following documentation. On the other hand, if the report uses the functionality for evaluating Concurrent Employment we refer to CE mode.
Features
Process of an Evaluation
The PNPCE selection screen offers you as standard a range of functions that you can use to restrict the personnel number and person selection. These are discussed in more detail in the following sections. The process is initially as follows regardless of whether the report runs in CE or PNP mode. All available functions and selection conditions leads to the selection of personnel numbers. If you use the sorting function, this set of personnel numbers is then sorted according to the sort criteria you selected. In PNP mode, the GET PERAS event is triggered as a result for each personnel number.
In CE mode, the persons belonging to the personnel numbers are determined first for all personnel numbers selected. The GET PERSON event is then triggered for each person. The person ID is specified in the OBJID component of the PERSON structure. PERNR_NUM contains the total number of personnel assignments (= personnel numbers) that this person has and the ALL_PERNRS table, which contains a list of these personnel numbers regardless of whether they were actually selected or not. The SELECTED flag is set to X for the personnel numbers selected. The flag is initial for all personnel numbers that are not selected. The PROCESS flag specifies whether the personnel number should be processed in the rest of the process. This flag is set to X by default for the personnel numbers selected. However, the report can set or delete this flag at the GET PERSON event for all personnel numbers. In this way, report and logical database communicate with each other which enables the report to control the rest of the process.
In the next step, the logical database groups all personnel numbers of a person that are to be processed (that is, all personnel numbers that have the PROCESS flag set). The report can control the type of grouping using the PNPCE_GROUPING_FROM_PAYROLL flag (normal or payroll grouping) and using the PNPGPRSN (grouping reason) and PNPGPVAL (grouping value) parameters of the selection screen. The GET GROUP event is triggered for each group of personnel numbers determined. The GROUPING_REASON and GROUPING_VALUE components contain the grouping reason and grouping value of this group. The number of personnel numbers that belong to this group and that are processed subsequently is in PERNR_NUM. The included ALL_PERNR table contains a list of these personnel numbers with additional information. The SELECTED flag specifies whether the current personnel number was originally selected (flag is set) or was marked by the report as to be processed. GROUPING_BEGDA and GROUPING_ENDDA contain the validity period that the personnel number has for this grouping. The NO_AUTHORITY flag is set if there is insufficient authorization for a personnel number. This personnel number is not processed further. The SORT component defines a standard sort order for the personnel numbers of a group. The report can change this by overwriting the values. In this way, report and logical database communicate with each other, which controls the further processing sequence of the personnel numbers.
The GET PERAS event is then triggered for all personnel numbers of the group (with the exception of the personnel numbers for which no authorization exists) in the sequence defined by the SORT component (see above). The SELECTED, GROUPING_BEGDA, and GROUPING_ENDDA components have the same meaning here as with the GET GROUP event. The PROCESSED_BEFORE flag specifies whether the personnel number has already been processed once before (it is possible that the personnel number belongs to several groupings and has been therefore been processed several times).
Thanks and Regards
Ravi

Similar Messages

  • Change existence report LDB PNP to PNPCE

    Hi HR experts !!!
    We want to convert all the existence reports which are using <b>PNP</b> to <b>PNPCE</b>? Do you guys have idea how much time it’ll take? As we have around 1000 reports.
    I need your input guys
    Cheers
    Usman

    Usman,
        I am also on HR project . We’re also discussing the same thing !! but it looks like it need another project to change the LDB to PNPCE as reason being  lots of reports are written using PNP logic in mind.
    But PNPCE Behaves different . Well I must say its another project to change 1000 reports
    FYI...
    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. 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..
    OSS Note # 561645 ( LDB PNPCE: compatibility with PNP )
    Symptom
    In some respects, logical database PNPCE responds differently from logical database PNP. This may cause errors in applications that do not know this difference.
    Other terms
    PNP, PNPCE, payroll period, PNPTIMR9, PNPTIMRA, error message, information message
    Reason and Prerequisites
    There are the following differences between logical databases PNP and PNPCE:
    Unlike PNP, logical database PNPCE does not have two radio buttons you can use to set the payroll period (parameters PNPTIMR9 and PNPTIMRA). Instead, the payroll period is set via parameter PNPTIMED (displayed as a dropdown box on the selection screen). This difference must be taken into account when you call a PNPCE report from another program. Otherwise, in incorrect system response occurs in the PNPCE report called. Problems may also occur if you convert an existing PNP report to PNPCE and want to use an old (PNP) variant.
    If you enter an invalid payroll arear or an invalid payroll period, PNP issues an error message whereas PNPCE only issues an information message. This causes problems if you run a PNPCE report in the background because in this case the program runs into an endless loop instead of terminating.
    Solution
    Implement the attached corrections or import the corresponding support package.
    This changes PNPCE in such a way that it responds like PNP
    Moreover, also look at OSS
    PNPCE: Performance improvement  ( OSS note # 687004)
    Symptom
    You use a report that is based on logical database PNPCE. Either the performance of the report is poor, or the program terminates due to a memory overflow.
    Other terms
    Performance, PNPCE, 0000, 0001, buffer, memory space, memory space consumption, partitioning, FILL_0000_0001_BUFFER, T77S0, LDB, PCEPS, PNP mode
    Reason and Prerequisites
    The PNPCE can be used in a PNP-compatible mode. The mode is 'PNP-compatible' if the report does not program on events GET PERSON and GET GROUP and does not use the 'AS PERSON TABLE' extension for the INFOTYPES statements (for more details refer to the documentation of logical database PNPCE in Transaction SE36).
    In this mode the performance is worse, as if logical database PNP is used. After the implementation of the correction from this note, the performance is significantly improved.
    Another problem is that all personnel numbers that meet the entered selection criteria are internally selected during the execution of the report. Then the system imports all data records of infotypes 0000 and 0001 for all these personnel numbers because they are needed for the internal processing for different reasons. If the amount of personnel numbers or the amount of data records per personnel number is very large, memory problems can occur. The attached correction solves the memory problems.
    Solution
    Implement the correction according to the correction instructions or import the corresponding Support Package. If you implement the correction manually, you first have to implement Note 705870.
    A part of the correction causes the internal processing of the persons/personnel numbers in blocks. If logical database PNPCE runs in PNP mode, the block-by-block processing is executed based on personnel numbers. Otherwise (in CE mode) it is executed based on persons. In PNP mode, logical database PNPCE behaves exactly like logical database PNP concerning the block processing. The settings are also made along the lines of logical database PNP. For a more detailed description refer to Note 705870.
    Standard setting of the block size
    In CE mode the block size is set to 10,000 persons by default. That is, as long as the number of selected persons does not exceed this value, no block processing is executed at all. A memory space analyses showed that this does not cause problems with the memory space in a system with an average number of infotype 0000 and infotype 0001 data records. However, if the amount of data records (= splits) is very large in your system, you have to reduce the maximum block size manually.
    Manual setting of the block size
    There are two different options to set the block size manually: a) report-specific by means of a switch which you have to set in the source code of the report, and b) cross-system by means of a switch in switch table T77S0.
    The report-specific switch is called PNP_MAX_PARTITION_SIZE. It has priority (if switch T77S0 is activated) and must be set in the source code of the report at event START-OF-SELECTION at the latest.
    Example: Set the maximum block size (number of persons that can be processed together) to 250:
    START-OF-SELECTION.
      PNP_MAX_PARTITION_SIZE = 250.
    The switch is recommended for customer-specific reports requiring a lot of memory and therefore need to minimize the additional memory space of logical database PNPCE. It is not suited for SAP standard reports because the report would have to be modified in that case.
    The cross-system switch is maintained in table T77S0. It affects all reports that are based on logical database PNPCE and do not use the report-specific switch PNP_MAX_PARTITION_SIZE.
    The switch belongs to the LDB group and is called PCEPS. The switch is maintained in Transaction SM30 (enter table 'T77S0' and choose 'Maintain'). The switch is delivered (for Release 4.70 in a Support Package) with initial value (0). An initial value causes the switch to be ignored and the standard setting to be used instead. If you want to set the switch, set it to a numeric value. This value specifies the maximum number of persons that are processed together in a block.
    Example:
    LDB  PCEPS  250
    For more information on the procedure of a system upgrade refer to Note 317722
    Thanks
    Saquib
    Message was edited by: Saquib Khan

  • What is the main diff b/n ldb pnp and pnpce?

    hi ,
    what is the main diff b/n ldb pnp and pnpce?
    thanks.

    Hi Arun,
      PNP/PNPCE  - Both are Logical Databases for PA Module
    In PNPCE - CE stands for Concurrent Employment.
    The differnces are:
    The PNPCE logical database supports the evaluation of HR master data. It includes the functions of the PNP logical database and offers additional evaluation options. Therefore, you should use the PNPCE logical database instead of the PNP logical database for all new developments.
    The enhanced functionality of PNPCE in comparison to PNP essentially concerns the evaluation of Concurrent Employment, that is the possibility to group evaluate several assignments/personnel numbers of a person. The new events 'GET PERSON' and 'GET GROUP' as well as an enhanced syntax for the INFOTYPES statement (addition AS PERSON TABLE) for the procurement of infotype data enable you to use the new functionality. The use of these new functions is optional. You can run a PNPCE report that does not use the new events and the addition for the INFOTYPES statement in a PNP-compatible session. Since the PNPCE also has an improved selection screen, each report benefits from this even if the report does not use the functions for evaluating Concurrent Employment.
    Hope this helps you.
    Regards,
    Chandra Sekhar

  • Management Global Employee  Vs C.E + PNP or PNPCE

    All,
         We are moving towards implementing u201CManagement Global Employeeu201D. I am new to u201CManagement Global Employeeu201D   and I found some good documentation at www.saphelpbykevin.com  . Kevin you did great job there like you did with us in Boise, Idaho.  Any way first I wanted to understand the key differences between C.E and MGE?
    After that what effort we need to do in order to change our ABAP program. Can we use PNP with MGE ?
    Iu2019ve worked on  Concurrent Employment in 2006 and I remember we had a hard time changing all our HR ABAP program and LDB to PNPCE . Are we talking about the same effort here? If any body of you has any suggestion , key point please share with me .
    Thanks,
    Saquib Khan

    Lol!
    I didn't see post until now...Not sure if you received the response yet...
    MGE is a subset or submodule of CE.
    CE concept is more align with and more import if you use SAP Payroll and Time. CE is concurrent employment where a person holds more than one position at a time in the same country.
    MGE is management global employee. Where a person move from one position to another during a duration to do an assignment. Upon completing the assignment, the person could localize there or return home.
    PNP and PNPCE. PNP is being discontinued and is replaced by PNPCE. The main difference between the two is PNPCE support the PERSON ID concept. Which is the unique identifier for an employee. It would be best to use PNPCE with MGE as you need that PERSON ID in the HR Report Category.
    Kevin T. Nguyen-Tu
    www.saphelpbykevin.com

  • ABAP-HR, using two LDB ie, PNP and  PCH

    Hi friends,
    How can i use two logical database regarding to master data and organization managemnt.       if i use PNP in Attributes LDB, how can i get tables regarding to organization mangent in reports, so that i can retrieve data from PNP and PCH.
    Effecient answer will be rewarded points....
    Thanks&Regards
    Shiva Prasad

    Hi Amit,
    Thanks for yor valuable answer, i have tried it using 1st mentioned method, but i couldn't get. can u give me sample code.
    i didn't try for the 2nd method.
    i will try.

  • Logical Database - PNP, PCH, PNPCE

    Hi Experts,
    Im New to ABAP HR,
    I would like to know about the logical databases we are using .
    Logical Database - PNP, PCH, PNPCE, basic principles
    If any body cud let me know about the differences , requiremnts , associated with these Logical databses will be much helpful for me.
    Thanks
    Rohini Devi
    [email protected]

    Hi Rohini...
    Global Employee Programming
    Thanks
    Message was edited by:
            Aslam Riaz

  • My daughter has just changed her phone from an iphone to a nokia but when i send her a message it still comes up as an i message and she doesnt receive it?

    my daughter has changed her phone from an iphone to a nokia but kept the same number but when i send her a message from my iphone it still comes up as an i messsage and she doesnt receive it can anybody tell me how to fix this please

    She needs to remove that device from the iMessage database, or if she still has the phone, she can go into Settings, Messages and turn off iMessage. If she still has the phone, she just needs to put the SIM back in for a couple of minutes to turn that off.
    If she does not have the phone any more, she will need to go to her Support Profile, if she registered the phone and delete the phone from the profile.

  • Why am I unable to change text color from black in LR5 book module?

    Why am I unable to change text color from black in LR5 Book Module?

    I'm assuming you clicked on the color patch besides the word <Character> to open the color picker window.
    At the right side of this window there is a vertical bar that has 2 horizontal black lines at the bottom.
    This is actually a slider. Pull it upwards with the color picker and color will appear in the window.

  • Help reqd on Changing the Valid from "date"  for both BOM & Routing

    Hi all...
    Pls advise me how to do the changing of Valid from "date"....
    Is there any process in CC01 or ECM???....
    pls reply me in detail step format (step by step analysis)....
    I wrongly created in CS01 and CA01 as 05.10.2007 as my valid from date instead of 01.10.2007.....
    How to change to my actual one......
    I dont know how to change it exactly.....as im beginner in SAP...pls take this into consideration...and post ur replies imm.
    Pls reply me in detail....will be rewarded at the end while closing this issue.
    thanks & regards
    sankar

    Dear Sankarbabu,
    IF there's no setting for Date Check in OS54 - Engineering Change Management
    Control Data,then you can create a change number with past dates,and also to
    use the same one for changing BOM.
    Tell me one thing you are saying you want to use ECM.Was the earlier one
    created without BOM was created without an ECN?
    See already if you have created your BOM with an ECN,then remove the date
    check setting which I have mentioned in OS54.
    Now goto T code CC02 ,enter the Change number and give the valid from date as
    01.10.2007.
    After that check in CS03 whether this date(01.10.2007)is getting reflected or not.
    I'm sure this will solve your problem.
    Regards
    Mangal

  • Not able to change sales stage from requirtement to reqmt analysis

    in opportunity Not able to change sales stage from requirtement to reqmt analysis
    Error Message:SBL-DAT-00284
    Details error msg is:
    Unable to evaluate workflow rule for foll reason
    Update probability between 0 & 100%(SBL-ODS-00500)
    Edited by: user1074008 on Sep 22, 2010 10:17 PM
    Edited by: user1074008 on Sep 22, 2010 10:18 PM

    Looks like a bug...
    Previos Post Activity Status = Submitted - Access Denied

  • How do I change my Ipod from mac to windows format??

    How do I change my Ipod from mac to windows format?? My Imac is not working at the moment, but I want to use my Ipod on my PC. How do I get my Ipod(mac formated) to get work on my PC??

    Use iTunes on the PC to restore the iPod, or install XPlay on the PC without changing the format. Restoring the iPod will erase everything on it.
    (25085)

  • How do I change an Ipad from one ownership to another?

    How do I change an Ipad from one ownership to another? My husband passed away in June, and I can's seem to
    figure out how to delete his acct. I created a new acct on it in my name, but I can't buy, update, or change anything
    purchased 7/1/13 Ipad 2 - 32G
    Thank you,
    Lynn

    Follow these instructions: What to do before selling or giving away your iPhone, iPad, or iPod touch.

  • How can I change a document from booklet to single pages

    How can I change a document from booklet to single pages?

    Very cumbersome.
    How many pages?
    Make a copy first.
    In Acrobat use the Crop tool to crop half the width. (Pages > Crop Pages.)
    For 11x17 to 8.5 x11  crop all even pages 8.5 left, all odd pages 8.5 right.
    Do you have InDesign?
    Create a new document correct to finished page size.
    (Use Import Multi Page script to) Place all pages offset by the proper page amount.
    Export new pdf.

  • How do I change the keypad From a split key view to having them all together?

    How do I change the keypad From a split key view to having them all together?

    Next to the ,?123 key on the lower right hand of you keyboard is the button that allows that feature. You need to hold that section down and the option will appear.

  • Is it possible to change application state from a component?

    I was wondering if it is possible to change application state from within a custom component and if so, what would the syntax be if I had an application named "zzz" and I wanted to change the app state from "state1" to "state2" from my component?
    Thanks!

    Hi,
    you always have a static class Application.
    Application.application will be the root component. After that you can change it state.
    Application.application.currentState = "state2";
    But it's not the best way to change states. It's better to dispatch events from components and change states in listeners.

Maybe you are looking for

  • Authrorization for Training and event management module

    HI Friends, I am facing an issue related to authorization for users in TEM module. I have created new role by copying Standard Role ofu201DSAP_HR_PE_TRAININGADMINu201D Training Administrator. I have activated only TEM related transactions in u201CP_T

  • MIGO in MM

    during GR in MIGO transaction i have following error "period 003/2008 is not open for account type S and G/L 400000" some one can help me to resolve the error thanks

  • Org.xml.sax.SAXException: Deserializing parameter

    Hi, I am trying to consume a webservice using axis. I am using Spring to call the webservice. When i am doing this i am able to get a response XML, but unfortunately there was an error stating deserializing of the object is failed. Here are my logger

  • Doubt in query

    hi i have 2 columns updatelocation, updatedate updatelocation, updatedate aaa 27-nov-08 aaa 26-nov-08 aaa 25-nov-08 aaa 23-nov-08 i want to chech in last 30 days which date is missing .like above 24 date is missing. but i cant give where updatedate i

  • This app is already installed

    I bought my IMac used from a reputable dealer but the previous owner had downloaded apps with their icloud account. I could not for instance install iphoto because it had already been installed. I took my computer back to the store and they "fixed" i