‎2009 May 08 3:39 PM
Hi Friends,
If we use PNP as LDB, we will use get pernr. In the same wave if we use PNPC as LDB, which fields we need to take.
If any one is having sample program using PNPC, please post to me and also pls explain how is PNPC useful
Thanks in Advance,
Ravi Kumar.
‎2009 May 08 6:27 PM
Hi Ravi,
I think it is PNPCE, Both PNP and PNPCE are used for same functionality,
But PNPCE has added some more events
but it has all the field which ever are there in PNP
It has some new events like GET PERSON and GET group
you can read the documentation of PNPCE at SE36 -->select lDB as PNPCE and select documentation and click on display
check this program H99_SELECT_PERNR_CE for usage
Regards
Krishna
Edited by: Krishna Gowrneni on May 8, 2009 10:58 PM
‎2009 May 09 10:24 AM
Hi Krishna,
Thanks for the information. I have a requirement to generate report on concurrent employment. Can you give any sample code which has used PNPCE LDB.
Thanks and Regards,
Ravi Kumar
‎2009 May 09 4:31 PM
Hi Ravi,
You can use GET PERAS for PNPCE.
Sample Code is very Difficult as it will be as per your requirements.
You can start like this:
START-OF-SELECTION.
GET PERAS.
PERFORM CLEAR_FLAGS.
PERFORM GET_DATA.
END-OF-SELECTION.
PERFORM DISPLAY_REPORT.
You can do all the fetching of data through Infotypes in GET_DATA perform.
After you get all data in an Internal table , you can display it using Classical List or ALV,by Coding in DISPLAY_REPORT.
Get back to me if you need more inputs.
Regards,
Sharath.
‎2009 May 11 7:35 AM
‎2009 May 13 6:51 AM
‎2009 May 13 6:52 AM