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

Logical Database - PNPC

Former Member
0 Likes
942

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.

6 REPLIES 6
Read only

Former Member
0 Likes
853

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

Read only

0 Likes
853

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

Read only

0 Likes
853

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.

Read only

0 Likes
853

Hi Sharat,

It is very useful to me.

Thank you,

Ravi Kumar

Read only

0 Likes
853

This message was moderated.

Read only

0 Likes
853

This message was moderated.