Authorization on PNP logical database

My limited understanding of authorization on reports that uses PNP/PNPCE logical database is that if a user who runs the report does not have authorization for any of the declared infotypes then the report stops with message 'no authorization for infotype ...'.  And if the user has authorization for the infotypes but do not have authorizations for some of the PERNRS then it will only display those records that user have authorization for and shows message saying no. of skipped records (of those that user did not have authorization).
Programmers here say that the users who do not have authorization for some infotypes should still be able to see list for other infotypes that they do have authorization for.
-- Please shed some light on this and guide me if there is a cookbook/document out there about this.
Thanks a bunch.
Netra

Hi Neha,
Adding further.
Each report is different in its own way and there are various ways of controlling the access to the Reports based on ur scenario.
The first check happens at the P_ABAP level where in it checks the access to the program corresponding to that report and level of access (1,2).
If these are missing then it goes further to check for the explicit access
in objects like
P_ORGIN, P_PERNR etc.
Now in some of these reports the processing is designed in such a way that if the access to an IT is not available it throughs a error message and the processing of the report stops at that instance (this depends on the message type which has been defined at that instance to be displayed) so at this instance you need to have access to that IT to proceed further but in some other cases the check does happen but the processing continues without stopping at that check failure(example is P_PERNR, the check happens but is not required for processing the report).
This is one example but there could even more criterion based on which the processing of the report is terminated or allowed to continue depending on the reports utility
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbaabc35c111d1829f0000e829fbfe/frameset.htm">The different message types and their significance is as follows</a>
So what you have been told by programmers is true in some cases but surely not accross all the HR reports and all auth objects.
Hope this helps
Manohar
Message was edited by:
        Manohar Kappala

Similar Messages

  • 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.

  • IN HR PAYROLL REPORT USING PNP LOGICAL DATABASE

    Dear abapers,
                            when i ab runing HR payroll report usin PNP Logical database there are some error occurs.
                INCLUDE  DBPNPCOM
                         IN UNICODE PROGRAMS, THE "-" CHARECTOR CAN NOT APPEAR IN NAME , AS IT DOES HERE IN THE NAME
                        PNP-SW-FOUND.
         INCLUDE  DBPNPCOM
                       IN UNICODE PROGRAMS , THE "-" THE CHARECTOR CAN NOT APPEAR  IN NAMES, AS IT DOES HERE IN THE NAME
                       PNP-SW-IGNORELOCKEDRECORDS.
         INCLUDE  DBPNPCOM
                       IN UNICODE PROGRAMS , THE "-" THE CHARECTOR CAN NOT APPEAR  IN NAMES, AS IT DOES HERE IN THE NAME
                       PNP-SW-ENQUEUEPERNR.
                            PLEASE GIVE ME SOLUTIONS .
                                                                         THANK YOU SIR.

    Hi, please check, these might be warnings, not errors.

  • Using PNP logical database in report

    Hi i'm using the PNP logical database in my report, and i want to hide all fields in the 'Period' frame.
    is there any way to do it automatically or is it necessary to hide them one by one??
    Thanks in advance.

    If you can put them all in the same screen group, you may be able to do this. But you might run into problems when you re-generate.
    Rob

  • Mandatory field in selection screen of pnp logical database report

    Hi experts,
         Im using pnp logical database in my report.
    It give the standard selection screen. I need to make some fields in the selection screen as mandatory like pnpwerks.
    How its possible. Give me some solution.
    Thanks,
    Priya.

    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.

  • Issue with 900 screen of PNP logical database.

    Hi Experts,
    I am using 900 screen in PNP logical database and assigned the default report catagory.
    But in the selection screen when I click on further selection and select any of the parameter like company code/cost center, nothing comes in to the screen.
    Request to let me know any issue there?
    Br/Manas

    hi
    After selecting the fields from further options are you first adding them and then saying ok or just saying ok. Please check and let me know.
    If you add and then say ok these fields appear on the screen,
    Santoshi

  • Line item in PNP logical database

    Hi All,
    Can anyone tell me, what is the selection logic for PNP Logical database, suppose in one report we use PNP Logical database,
    So when we put some date range, so in the output of report there are 2 fields, so during that date range 1 field occurs two time and other field 4 times, so how many line items would be displayed by that report.
    Regards,
    Kumar

    read documentation for report SAPDBPNP or SAPDBPNPCE.

  • TABLES statement in pnp logical database

    I am using PNP logical database in my program.
    when i check for obselete errors it is showing the statements
    "TABLES: PERNR.
    INFOTYPES: 0001,0002." are Obselete
    But my program is logically correct and also working.
    can u tell me how to resolve this error.

    tables sflight is exactly the same as data sflight type sflight.
    The same for the infotypes statement, but then you have to reference to the pa#### table.
    Kind regards, Rob Dielemans

  • Standard screen for PNP logical database

    hello All,
    I am using PNP logical database and i have modified the standard selection screen for PNP.
    But now there is a button that appears , although the rest is supressed as i wanted it to.
    Our forums active contrubutor suresh datti has provided me a solution before to go to sytem then status and then click screen 100 then invisible the push button and activate and re-execute the program. The method seems to work fine. But surprisingly after some time the button appears again..
    any idea..??
    thanks,
    Reena..

    >>>I do not knw how to create a variant or how variant are related to selection screens..can u please elaborate..
    Don't worry..then its not the issue..
    anyway Pl take a look at the following <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/c0/980374e58611d194cc00a0c94260a5/frameset.htm">SAP Help</a> on Variants.
    ~Suresh

  • Query: PNP Logical Database Screen

    Hi,
    My requirement is to default some values in the SORT ORDER button of the PNP screen.
    I can do that by creating a variant and attaching it to the Tcode, but is there any other way to do it.
    Also, I need to add couple of new values to that list.
    Please suggest how to achieve it.
    Helpful replies will be rewarded.
    Regards,
    Amit

    Amit,
    you need to use Report categories as a solution to the issues mentioned in your mail.
    You can access report category by going to attributes of your HR report which is using PNP logical database.
    You will find a button in 'Attributes' dialog screen for HR Report Categories which will enable you to add new fields, default the values etc.
    Reward points , if helpful.
    Regards
    Waz

  • HR ABAP PNP Logical Database Doubt

    Hi,
    I have included a logical database pnp and used nodes statement.
    Nodes pernr
    i want to know what infotypes i can use with that declartion.
    i know there are infotypes from 0000 to 9999. could you tell me which infotypes i can access with this PNP.
    Kindly help me.
    Thanks in Advance,
    Bala.

    Hi BSP
    if u want to acess infotype ,u have to declare the infptypes as
    INFOTYPES: 0000 , "Action
               0001 ,
               0002 , "Personal Data
               0006, "Address
               0008,
               1001,
               0105, "Communication
               0041. "Date Specification
    then START-OF-SELECTION .
    GET pernr.
    and in attributes u have to give Logical database PNP..
    with this i think u can acess all the infotype which u have declared...
    thnx
    Rohit

  • Dump in Zprogram using PNP logical database

    shows the following error when I run a human resources program that uses logical database PNP.
       ASSIGN_BASE_TOO_SHORT: The current ABAP program "SAPDBPNP" Had To Be terminated Because it has come across a statement Unfortunately That Can not Be Executed.
      Anybody can help me understand why this problem occurs?

    You should have run a simple search on this before raISING YOUR OWN QUESTION. sEVERAL PEOPLE HAVE HAD the same or similar issue.
    This thread quotes an oss note which might help you:
    ASSIGN_BASE_TOO_SHORT in DBPNPF03 (SAPDBPNP)

  • Report creation with PNP logical database

    Hi All
    Want to select data according to the begda and endda on the selection screen, if any body has the code will be of great help
    rgds
    aj

    Hi,
    In the attributes,give PNP as logical database.
    Then in the program,paste the following coding.
    tables pernr.
    infotypes 0001.
    start-of-selection.
    get pernr.
    provide * from p0001 between pn-begda and pn-endda.
    write : / p0001-begda, p0001-endda.
    endprovide.
    end-of-selection.

  • 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.

  • Select options for the pnp logical database.

    Hi ,
    We get a default selection screen when we use logical database in HR ABAP.
    But we always get the selection elements as "PARAMETERS" and not as "SELECT-OPTIONS".
    How can we change it to select options ....
    I tried all the options in HR- Report categories but it is not working..
    Kindly Help..
    Regards,
    Ashwin.

    >
    ASHWIN JOHARI wrote:
    > Hi ,
    > But we always get the selection elements as "PARAMETERS" and not as "SELECT-OPTIONS".
    > Ashwin.
    Which fields? Almost all of them are defined SELECT-OPTIONS.. you dont' see the range option directly.. click on he options icon & you can enter the ranges.
    ~Suresh

Maybe you are looking for

  • Problem using Toplink with JUnit

    Hi, I have a problem using Toplink with JUnit. Method under test is very simple: it use a static EntityManager object to open a transaction and persists data to db. When I invoke the method from a test method, it gives me the exception: java.lang.Ass

  • How to include animated files?

    i want to create an applet where by selecting a particular radiobutton i get an animated object i saw a lot of gif files on internet and wanted to include them but when i save them on my PC they dont animate rather they are still pictures how do i in

  • Adobe Premier 11. Error. C:Windows\syste32\acitfx64.dii is either not designed to run of windows or

    Adobe Premier Elements 11. Problem. is    C:Windows\system32\acitfx64.dll. is either no desisgned to run on windows or it contains an error..BAD IMAGE........ i HAVE UNINSTALLED AND RE-INSTALLED BUT HASN'T FIXED THE PROBLEM CAN ANHYONE HELP ME AS I A

  • Trying to get started

    Hi, is there anyone out there that can explain the very basics of the Blackberry Curve, I bought mine through Vodafone (online) last week. It arrived without an instruction book or software. All I've managed to do is figure out my BBM number. Don't k

  • Retry making connection

    Hi all, I have to make a connection through TCP/IP to a device to read some values. But when the machine where the device is installed on has no power supply, my device also has no power suply and the connection will fail. Now i had the idea to retry