Support for Logical Databases PNP/PNPCE
On this topic I would like to know:
1. Will SAP will continue to support PNP or will support for PNP be eventually phased out?
2. Were can I find the official SAP document that covers the introduction of PNPCE?
3. Where is it stated officially by SAP the recommendation for all new development to use PNPCE?
Edited by: John McKee on Oct 14, 2009 11:17 AM
Hi John,
I can not make an official SAP statement here but given the fact that there are several thousand reports based on PNP from SAP and even more from Customers the answer is:
1. Will SAP will continue to support PNP
Yes
1. will support for PNP be eventually phased out?
No
2. Were can I find the official SAP document that covers the introduction of PNPCE?
3. Where is it stated officially by SAP the recommendation for all new development to use PNPCE?
Go to trasnaction SE36 enter PNPCE as LDB and read the thorough documentation.
PNPCE has simply a nicer Selection screen and much more options to predefine it in the report class.
If you have no CE you can simply use it in the old PNP-mode for details see the extensive documentation.
Hope that answers your qestions,
Michael
Edited by: Michael Fruechtl on Oct 14, 2009 11:47 AM
Similar Messages
-
Selection screen for logical database PNP..
hi all,
I am having a requirement to produce a HR Report where i need to use logical database PNP. Now the issue is i need to supress some of the elements of standard selection screen of PNP and add a couple of fields of mine.
i have been looking all around and i got few of the below methods.
its good to use a report category.
somewhere it says include it in ur program using selection screen block..
can you please guide me which is the best way and what would be a perfect solution?
thanks in advance,
ReenaHi reeena,
1. simple
2. u want to
a) add ur own fields
b) suppress some fields
3. a) is simple, just add your parameters,
in your program, and they will appear
b) use SCREEN logic
4. just copy paste to get a taste of it
(it will HIDE the PAYROLL AREA field)
and add MATNR field
5.
report abc.
TABLES : PERNR.
PARAMETERS : MATNR LIKE MARA-MATNR.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME CS 'ABKRS'.
SCREEN-INVISIBLE = '1'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
regards,
amit m. -
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 -
Logical database PNP not retrieving data for custom infotypes.
Hi all,
I am using logical database PNP in a program. I have declared infotypes as follows:
INFOTYPES: 0001, 0002, 0041, 9801, 9840.
The problem is that the logical database is retrieving data for the standard infotypes but not for the custom infotypes. Any explanation as to why data for custom infotypes is not being retireved and how this can be solved will be greatly appreciated.
regards,
Hamzasolved
-
How to extend dynamic selection for Logical Database PNPCE
Hi All,
I need to extend dynamic selection for Logical Database PNPCE. Can someone able to help with steps?
Thanks
RanjithHi All,
I need to extend dynamic selection for Logical Database PNPCE. Can someone able to help with steps?
Thanks
Ranjith -
Selection screen for HR report with logical database PNP
Hi All,
I am writing a HR report. And I use the logical database PNP. Also I create a HR report category for this report. In the report category, I can define the selection screen field. But all these fields are selection option format. My question is How can I add parameters, radiobutton group and checkbox in the selection screen. Thanks.
AlexHi Alex,
Sorry for replying so late. Please try this tutorial:
w w w. s a p t e c h n i c a l. c o m -> tutorials -> ABAP-HR -> Creating HR Report category in PNP logical database
Sorry, I put it like this, because direct link doens't let me post the answer. Don't know why.
It can also be something with your custom code in selection screen. Though it works fine for, try to remove COMMENTs and observe the result. Maybe parameters are overlapping somehow. First try this:
SELECTION-SCREEN begin of BLOCK blk2 WITH FRAME TITLE text-002.
PARAMETERS RefDate type DATS.
parameter BFlag type c RADIOBUTTON GROUP grp1.
PARAMETER FFlag type c RADIOBUTTON GROUP grp1.
parameters days type i.
PARAMETERS spvsr like PA0001-MSTBR.
selection-SCREEN end of BLOCK blk2.
If that works together with the report category, try to extend it with adding a selection-screen comment, but do this in reversed order (comment goes first and FOR FIELD addition is supplied) like this:
SELECTION-SCREEN begin of BLOCK blk2 WITH FRAME TITLE text-002.
PARAMETERS RefDate type DATS.
SELECTION-SCREEN begin of line.
SELECTION-SCREEN COMMENT 3(10) text-003 for field bflag. "FOR FIELD, and goes first
parameter BFlag type c RADIOBUTTON GROUP grp1.
SELECTION-SCREEN COMMENT 16(10) text-004 for FIELD fflag. "here two
PARAMETER FFlag type c RADIOBUTTON GROUP grp1.
SELECTION-SCREEN end of line.
parameters days type i.
PARAMETERS spvsr like PA0001-MSTBR.
selection-SCREEN end of BLOCK blk2.
If still not working, see if text-003 and text-004 are not too long (you expect them to be 10 chars), This may somehow affect selection screen.
You may also try with setting cursor position explicity by:
SELECTION-SCREEN begin of line.
SELECTION-SCREEN POSITION 3.
SELECTION-SCREEN COMMENT (10) text-003 for field bflag.
parameter BFlag type c RADIOBUTTON GROUP grp1.
SELECTION-SCREEN POSITION 16.
SELECTION-SCREEN COMMENT (10) text-004 for FIELD fflag. "here two
PARAMETER FFlag type c RADIOBUTTON GROUP grp1.
SELECTION-SCREEN end of line.
It is really hard to identify where can be a bug as it is working fine for me. Keep trying with different variations, it should finally run with some.
Regards
Marcin -
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
RainerThanks 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? -
To use logical database PNP in class builder
Hi
Inside the class builder (SE24), i have a created a method.
Now while implementing that method, that is between method and endmethod
statement can i implement logical database PNP or PNPCE.
If 'yes' how to use it.
if 'no' what is the other way to implement authorization.
Pls help meHello,
assume that the routines GET_ITnnnn are written by yourself. For reading infotypes ABAP Objects provides us with same very helpful classes as shown below:
* define data
DATA:
gif_employee type ref to if_pt_employee,
go_employee type ref to cl_pt_employee,
gt_infotypes TYPE tim_tmw_itlist_tab,
go_control TYPE REF TO if_pt_td_control,
go_data TYPE REF TO if_pt_td_base,
go_pnnnn TYPE REF TO if_pt_td_itnnnn,
gt_p0001 TYPE TIM_P0001_TAB,
gt_p0002 TYPE TIM_P0002_TAB,
gt_p0003 TYPE TIM_P0003_TAB.
start-of-selection.
GET pernr.
<b>* Create employee instance</b>
gif_employee = cl_pt_employee=>get_employee( pernr ).
go_employee ?= gif_employee.
<b>* Get master infotypes (0001, 0002)</b>
CALL METHOD go_employee->get_master_data
EXPORTING
im_begda = id_fromdate
im_endda = id_todate
IMPORTING
* EX_I0000 =
EX_I0001 = gt_p0001
EX_I0002 = gt_p0002
* EX_I0007 =
* EX_I0008 =
<b>* Append all other required infotypes to itab</b>
APPEND '0003' TO gt_infotypes.
CALL METHOD go_employee->get_infotypes
EXPORTING
i_itlist = gt_infotypes
i_fromdate = id_fromdate " start date
i_todate = id_todate " end date
* I_FILTER =
i_noauthcheck = 'X'
IMPORTING
e_result = gt_infty_request
e_retcd = gd_retcd.
* Please see documentation of parameter e_retcd...
LOOP AT gt_infty_request INTO go_control.
go_data = go_control->data. <b>" get data object</b>
* Casting
TRY.
go_pnnnn ?= go_data.
CATCH cx_sy_move_cast_error.
CONTINUE.
ENDTRY.
<b>* Convert infotype (semi-transparent -> transparent)</b>
CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = lo_pnnnn->prelp
IMPORTING
pnnnn = gs_p0003.
APPEND gs_p0027 TO gt_p0003.
ENDLOOP.
The class CL_PT_EMPLOYEE provides us already with very easy access to so-called master infotypes (000, 0001, 0002, 0007 and 0008). All other infotypes can be read using method GET_INFOTYPES.
Using these classes we have a very convenient and standardized way of accessing all kinds of infotypes.
Vasanth -
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 -
Transporting Views created for Logical Database in QAS
Hello all,
Can anybody let me know teh steps...
How to transport views created for logical database from dev to QAS...
kindly give the steps...
thanks
saurabhI don't think PNPCE does anything with HRP infotypes. PNPCE is all about PA data since PERNR is the main key. Logical DB PCH is the one that deals with HRP Infotypes.
-
Logical Database PNP cannot fetch correct data?
I use logical database PNP fetch HR master data.
PA0001 has records with company code = 0960 .
But can not fetch data using GET PERNR.
however
PA0001 has not records with company code = 0770 .
But it got so many data using GET PERNR.
WHY..............
person originally transferd from 0770 to 0960, It is OK.I belive this is not concurent employment why we need to use
PNPCE
Please be specific about your question
Regards -
Selection screen and logical database PNP
hi all,
I am having a requirement to produce a HR Report where i need to use logical database PNP. Now the issue is i need to supress some of the elements of standard selection screen of PNP and add a couple of fields of mine.
i have been looking all around and i got few of the below methods.
its good to use a report category.
somewhere it says include it in ur program using selection screen block..
can you please guide me which is the best way and what would be a perfect solution?
thanks in advance,
ReenaIn the Program Attributes, click on the pushbutton 'HR Report Category'.Click on the 'Create' icon in the pop-up window that comes up. You will get a list of all the available Report Categories. Go through the list & if you don't find one that suits you, select one that is closest & click on the 'Copy As' icon in the menu bar..
Now, you can remove the unwanted fields & add yours for selection. save it & and attach it to report in the attributes.
~Suresh -
Logical database PNP (Suppress message)
Hi,
we are having 1 report which is using logical database PNP
this is being shown in ALV
when the user runs the report the output is shown and after pressing BACK button the below lines are being shown
Personnel numbers skipped by the database driver
Reason 1: insufficient authorization, no. skipped personnel nos.:
this is being done by logical databse program SAPDBPNP
is there any way to supress this mesasge
thanking you in advance
regards
Sai easwarI belive this is not concurent employment why we need to use
PNPCE
Please be specific about your question
Regards -
'PERSON is not a node of logical database PNP'
Hi All,
We are upgrading from 4.6 to ECC6.00.Previously we used the include RPCIPE0D with PNP database in one of the programs and had no errors.Now in ECC6.0,there is a huge change in the code of RPCIPE0D when compared to 4.6C.
When i use this include in one of my programs with PNP database it throws an error as "'PERSON is not a node of logical database PNP'".Do i have to use PNPCE?If so,plz explain why.Hi Shruthi,
Main Program RPCIPE00 of your include program RPCIPE0D is built with the Logical Database PNPCE which has the node PERSON. When you try to activate your custom program with your program as main program, Since the include has the following code in it.
NODES: person, group.
this node will be checked against the LDB provided in your Custom Program.
Regards
S. Balasubramanian -
Logical DataBase PNP - Adding customised Field
How do everyone,
I have recently added a new field to the HR master infotype 0001.
How does one include this new field within the locgical database i.e. PNP, PNPCE
so that it is automatically included in the report selection screen??
Any help or suggestions would be much appreciated.
AndyHi,
Follow the link.
Re: Logical Database PNP. HR and Unicode
Regards
Rajesh Kumar
Maybe you are looking for
-
Big Brother TV show has no audio.
I bought and downloaded the first show from Big Brother 9. It downloaded just fine, has a beautiful picture but no sound at all. I can get other things to work in ITunes like the Radio shows works perfect. No audio problems. But no sound for Big Brot
-
Designer crashes when opening form
We have a form that was created with Designer, but I am no longer able to open it for editing. When I try, I get the error that LiveCycle Designer has stopped working. The last time I needed to update the form was about two years ago, which I was abl
-
Aperture / iPhoto not recognizing CR2 Canon Raw anymore
hello all, ive been using lightroom to manage my photos which are a CR2 Canon Raw from my Canon 5D Mark II. I recently decided to try out aperture and see if id like it better since i do use iPhoto to manage all of my simple little snapshots from my
-
Material master iDOC for inbound process
Hi, I am trying to post the Data to the inbound iDOC for material master and i want to set the KZKUP(coproduct Flag) in MARA table but there is no field in the E1MARAM segment of the MATMAS03 iDOC to set this flag. There is one field in the E1MARCM s
-
Meeting Place 8.5 Active users being moved to default group
Customer has multiple groups set up in Meeting Place 8.5 server which is getting Users from a Call Manager (8.5). Intermittantly different Users are moved from their correct group into default group. Random occurance. Users have not changed anyt