Ldp pnp

guys help me out
    i am facing a problem
lets us i am using pnp and in th selection screen given by the pnp
as a user i am entering wrong values that is pernr does not belong to the company code
so how to check it?.
any help would be very usefull
sarangan r

hi,
go through these links,
http://www.atomhr.com/know_preview/Reading_Payroll_Results_with_ABAP.htm
http://www.atomhr.com/know_preview/Reading_an_infotype_without_PNP_database.htm
http://www.sap-img.com/abap/list-of-employees-who-have-completed-certain-yrs-of-service.htm
http://www.sapdevelopment.co.uk/programs/custom/zdownempdata.htm
http://www.sapdevelopment.co.uk/programs/custom/zp_postcode.htm
http://www.ct-software.com/reports/ypmlist1.htm
regs,
jaga

Similar Messages

  • Change in LDP PNP Selection Screen

    Dear Friends,
    As you all are aware that for LDP PNP we have a selection screen. In the selection screen, Personnel Number field has to be changed as Employee Number. Can some one tell how we can acieve this?
    Thanks
    Somu

    Hi,
    Changing of text will not be possible.
    You can change it at data element level which will affect at all places where the data element is used. That is also possible only in ECC.
    You can create ur own field if u need and give it a text but then automatic filtering will not be possible.
    Regards,
    Divya

  • About pnp selection screen

    hi experts,
       i am using pnp selection screen  and i want
      emp no , personnel area , personnel subarea , epm group ,emp sub group  in my selection screen.
    how it can be possible ?
      actully there is option to select the particuler field option ,but when i again excute the program it shows the std selection screen .
    Thanks And Regards.
      Priyank Dixit

    hi,
    refer to this links
    Re: Change in LDP PNP Selection Screen
    Re: Change in LDP PNP Selection Screen
    http://brookshireconsulting.com/technical_rc.html

  • SAP Query Infoset

    Dear All,
    I have created a SAP Query Infoset with ldp pnp, i have a customer infotype added to that infoset.
    One of my field in the customer infotype consist of value and text(meaning values are stored in the infotype, which also has some text attached to it which is the check table).
    Now how can i link those two in the infoset, so that user can choose between them?
    Thanks.
    Moderator message: please choose more descriptive subject lines for your posts.
    Edited by: Thomas Zloch on May 26, 2011 10:12 AM
    Edited by: Satish R on May 26, 2011 10:55 AM
    Edited by: Satish R on May 26, 2011 10:59 AM
    Edited by: Satish R on May 26, 2011 11:00 AM

    Hello Satish,
    In SQ01 when you create your output list, you can right-click the column and select "Value and text",  I am on version ECC 6.0.
    Kind Regards,
    Rae Ellen Woytowiez

  • RP_PROVIDE_FROM....

    Hi Mates,
    Is it possbile to use
    RP_PROVIDE_FROM_LAST or RP_PROVIDE_FROM_FIRST inside
    PROVIDE....ENDPROVIDE loop.
    which record it will retrive ....
    Regards,
    Amit Raut

    I'm not sure I understand your question.  If you use for example RP_PROVIDE_FROM_LAST P0001 SPACE PN-BEGDA PN-ENDDA it will bring back the record that is active during the data range specified.  As has been noted it is used when you are getting data using the LDP PNP or PNPCE.
    PROVIDE/END-PROVIDE is also used in conjunction with LDB PNP/PNPCE but depending on what records qualify for your data selection you can bring back multiple records and you can write so that it brings back records from more than one Infotype.
    Each is a separate ABAP statement and I can't imagine a scenario where you use the same Infotype number in both statements.

  • ABAP HR : Restriction of data after GET PERNR

    Hi Folks,
    I am using LDP PNP and using get statement. I am using multiple Infotypes. So all the Pxxxx are getting field with each GET PERNR. I have to extract last record which I am getting using RP_PROVIDE_FROM_LAST.
    Can I avoid getting all the data of a PERNR after GET PERNR or is there any other way to get only the latest record.
    Thanks
    Rahul

    Hi ,
    In my opinion i can infer your questions as ..
    suppose p0000 has 3 records for pernr 5125.
    Get PERNR.
    rpprovidefrom last -> triggers last date ..
    Here usage of rp provide allows u to pick the latest entry . Now you are asking the loading of p0000 should happen only with 1 record( instead of 3 ) .
    Get PERNR.
    --> here  u need to see p0000 with 1 entry only ..
    **rpprovide*from last -> triggers last date ..
    May be a check from initialization to restrict based on date entry within the interval .. and if in that interval there are two records i suppose it cannot pick one.. thats my opinion .. lets see if someone has a better solution .
    BR,
    Vijay.

  • Pay structure consistency across employee, position, job

    Hi
    I want to create an ad-hoc report with employee pay structure (pay type, area, group, level) on IT 0008 and their position pay structure on IT 1005 and job pay structure on IT 1005.
    Any suggestions will be highly appreciated.
    Manish

    I do not think an Ad-Hoc query will work. You can assign only one ldb to a query  and you need data from PA (ldp - pnp) and OM( ldb=pch)
    You will need to write an abap report for this requirement. to the best of my knowledge and belief.
    If you want to create a query, then another way would be to create a PNP based infoset, and add some additional fields in 0001 of your own, and for these additional fields put some abap code of your own to retrieve planned compensation details from position and job.
    Edited by: Harish T K on Jan 18, 2011 4:28 PM

  • PNP LDP Authorization

    Hello All,
    I am using PNP LDP on my report, the authorization are skipping some personnel numbers saying insufficient authorization. But my program requires all the personnel number to be downloaded, please let me know how this can be achieved.
    Thanks.

    When using PNP the system checks your user id security to see if you are allowed to access certain employees.  It should to me as if your User ID will not let you view all employees.  If you are downloading data  to the server then maybe your comapny have a user Id created that has access to all employees so that when the job is scheduled it is able to pick up all employees.
    Failing that have a word with your security team to get your access changed.
    Regards
    J

  • Logical Database PNP. HR and Unicode

    Hi,
    currently we are checking all programs to make them unicode compliant. Using the logical database PNP a lot of macros is loaded automatically. One of them is
    rp_provide_from_last (or rp_provide_from_frst) to get the last record in a specifed time-interval. The existance is stated in varaible named pnp-sw-found, it is 0 if no record was found and 1 if there is one in existance.
    Checking the program (normal syntach check and extended syntax check) leads to the warning that varaibale names with a hyphen are no longer allowed in unicode programs if its not a structure (and pnp-sw-found is not). The program is doing well, and transaction UCCHECK does not mention this error/warning at all. Has someone experience with that issue and perhaps a solution?
    cu
      Rainer

    Thanks for the answers so far. Using PNPCE does not resolve my problem, cause we have a lot of own written reports and i just want to avoid to change them all.
    And using PNPCE idoes not solve the problem, that i have to use pnp-sw-found, this one is still in existance and gives still the warning that thois is not unicode compliant.
    Switching off the unicode flag is no good idea if we wanna go for unicode.
    Anyone else with experience in unicode in the HR Area?

  • Selection Screen  of PNP Logical database

    Experts,
    I am stuck up in filtering of data.
    I am using PNP logical database in Adhoc Query, if I select Current Month as data selection than also it is giving all list of data..
    Can anyone give Input to me.
    it is urgent.
    Point will revert for useful answer.
    Hetal.

    how about if u do this step
    1. Goto- Attribute.
    2. Click "Change"
    3. Click 'HR Report Category'
    4. Click 'Create Report Category'
    5. Click 'new entries' for careating Report Category
    5. Select newly create report category
    6. Click the folder 'Definition of Organizational Selection'.
    7. Click 'New entries'.
    8. Here you assign the required fields to be displayed, for eg pywerks - personal area.
    9. finally assign this newly created 'report category' in the screen you will get upon clicking 'HR report Category' button in the Program attribute screen.
    Hope this may help you.  I am not much into hr abap. but sharing the info which i am aware.

  • HR ABAP - PNP selection screen

    Hi Friends,
    I am executing the standard report with PNP logical database .
    But in the selection screen when I click on further selection and select the parameter company code.
    Now I entered the company code "0060", but I am getting the out put for both company code 0060 and 0020,
    here I need the out put only for the person which are belongs to company code 0060, but I think the selection screen company code was not controlling the out put.
    Also I checked the Infotype internal table p0001, here I am able to see both the company codes, and for that person the process is continuing and I am getting the out put for the company code 0020, bcz the current/valid record for this person is 0020.
    Request to let me know any issue there?
    Magesh.S

    Hi,
    You need to set "person selection period" dates, in order to list values with selected parameters.
    Daniel

  • 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

  • ABAP Report Program Logical Database PNP

    I have a ABAP program using the logical database PNP. The report is config to run on MSS using EP. I have added code to capture the Org Unit when it is pass to the program from MSS.  My issue is how do i capture the org unit value that is passed to the program.   I have added code to capture field pnporgeh  in the START OF SELECTION event.   This works great if you are running the program from R3, but none of my edit checking against field pnporgeh works.

    Hi John,
    I am also having same trouble where in i have added a new custom(Z) report in the MSS ->My Staff -> Reporting under report category -> Time Management (MSS). I am not able to find how the value of org unit which is selected on portal screen is passed to report in R/3 which is using PNP logical db.
    I tested in debugging but selection screen parameter PNPORGEH contains nothing.
    Many Thanks in advance for the help.
    Edited by: Ankit Kashyap on Nov 17, 2010 12:40 PM

  • HR PNP Logical Database Using Cost Center selection: error!?

    Hi all,
    I'm using PNP logical data base and using the selection-fields available through HR Class Reports (a copy of PAY_DEF) but what happens is if in selection-screen I fill the personnel number say 1000, i get the payroll data I'm trying to get, but if i use the search field cost center of that exact person i get nothing. Does anyone has a clue on what i might be doing wrong? Because all the other search fields work, company code, HR area, everyone, but cost center, and I'm positive that i use the right cost center.
    Thanks in advance,
    Paula

    Even though nobody answered me, i finally found the solution for my problem. so and because someone might need it here it is:
    Go to Spro->Personnel Management->Human Resources Information System->Reporting->Adjusting the Standard Selection Screen and then:
    1st Create Report Categories and
    2nd Assign Report Categories
    Since not all rep. categories on the 1st assignment is explicit on how will sel screen appear i advice you to go to the 2nd point, and execute some of the programs that appear there, and that might look alike to what you are looking for, and if you are so lucky as to find one exact use the same report category in your program, if its very alike, well, copy the Report Category into one of your own and change it the way you need it to be.
    Hope this be helpfull for someone.
    Paula.

  • HR Logical database PNP. OO to fill table dynamic table  from PNP  ?

    Hi all
    I want to get some stuff from the HR logical database into a dynamic table
    Here's a real simple example that writes info out to a normal list.
    (report is based on using Logical DB PNP)
    tables: pernr.
    INFOTYPES: 0001,                     "Organizational Assignment
               0002.                     "Personal Data
    SELECT-OPTIONS: language FOR p0002-sprsl.
    INITIALIZATION.
      pnptimed = 'D'.
    GET pernr.
      PROVIDE * FROM p0002 BETWEEN pn-begda AND pn-endda.
        CHECK language.
        WRITE: / p0002-pernr,
                 sy-vline,
                 p0001-ename,
                 sy-vline,
                 p0002-sprsl,
                 sy-vline,
                 p0002-gbdat.
      ENDPROVIDE.
    endform.
    Now what I want to do is replace the write stuff by appending the entries into a dynamic table which I will display as an ALV Grid.
    so I add my structure in the data declarations
    types:  begin of s_elements,
       pernr  type  p0002-pernr,
       ename  type p0001-ename,
       sprsl  type p0002-sprsl,
       gbdat   type p0002-gbdat.
      drop_down_handle  type int4.
    types: end of    s_elements.
    include zz_jimbo_incl.
    build the dynamic table
    create data dref type s_elements.
      assign dref->* to <fs>.
      i_routine = 'POPULATE_DYNAMIC_ITAB'.*
    i_names   = 'NAME_COLUMNS'.
      i_gridtitle = 'HR  TEST'.
    invoker = sy-repid.
    i_zebra = 'X '.
    i_edit = '  '.
    call function 'ZZ_CALL_SCREEN'
         exporting
              invoker     = invoker
              my_line     = <fs>
              i_gridtitle = i_gridtitle
              i_edit      = i_edit
              i_zebra     = i_zebra
              i_names     = i_names
              i_routine   = i_routine
         importing
              z_object    = z_object
              dy_table    = dy_table.
    Now to populate the dynamic Itab the routine below is entered.
    form populate_dynamic_itab changing dy_table.
      assign dy_table->* to <dyn_table>.
      create data dy_line like line of <dyn_table>.
      assign dy_line->* to <dyn_wa>.
    However I can't use GET / PROVIDE / ENDPROVIDE in a Form.
    Anyway round this ---seems HR has an aversion to OO.
    Cheers
    jimbo

    Hi,
    well, GET_PERNR is a so called event_statement. It has nothing to do with ABAP 00.
    Normally it will be like this:
    START-OF-SELECTION.
    GET_PERNR.
    PROVIDE ....
    END-OF-SELECTION.
    -> and here the CALL SCREEN NNNN for ALV-Display.
    Provide-statements you can use in forms of course, and as many times you want during GET and END-OF-SELECTION.
    But as I understood : you just want to save the write-statements?
    I always develop a DDIC-Structure, declarate the data objects in the programm, read the data via Provide into the infotypes, and then make a move-corresponding to my structure. and display it.
    Normally no problem.
    kind regards
    maik

Maybe you are looking for

  • Problem with photo services

    I can,t get onto apple photo services. Got photo book back yesterday with one photo that had super imposed over another. The original photo on my end was fine with no warning signs. All other photos and text was fine. Other old photos were fine no pr

  • Batch file to start and stop services

    I've setup a CF Probe on my Development Server to ensure my CF Production server is up and running (services = Apache and CF Application Server). It checks the PROD login page and if it times out in 30 sec the probe fails. I understand I can execute

  • Hyperlinks in Navigation Menu?

    I want to have a hyperlink to another website in the navigation menu on my website. How do I do this? I can't seem to find anything.

  • Transaction for Output for transportation planning simil VF31 o Vl71?

    Dear Expert, Anyone knows if there are a transaction or a program to run, wich trigger the message wich are in status 3. in the Transport planification (O4F1)?. simil vf31 or VL71?. I will appreciate your help. Best Regards,

  • Copy protection of Midlets

    Hello, Is there any portable way to get a unique-ID in mobile terminals to use it to preclue J2ME applications to be copied without authorization? (getting phone number or phone IMEI does not seem to be portable) F. Gomez