PNP Personnel Selection
Hi,
Scenario: if a person would switch from one Business area to another in the middle of a pay period ( lets say this was in the past ). I have the pay period dates in pn-begda and pn-endda. What can I pass to pnp to tell it to do authorization checks and to do its selection on the past dates, not on current date.
Is there I Macro I can use to pass pnp the dates in the initialization?
thanks.
Hi,
ok so its sets pn-begda to 01011800 and pn-endda to 31129999. Will it use my pn-begda and pn-endda if they are other dates. Because I am pretty sure if you don't specify to pnp, it uses sy-datum for authorization even though you are reporting in the past.
thanks.
Similar Messages
-
Hi ,
I m using PNP logical database and it is working fine when I m entering payroll area and period at selection screen.
But it is showing no data found message when I m entering company code and personal sub-area along with payroll area and period.
I want to fetch data according to company code and personnel subarea also, kindly help me out.
Thanks in advanceHi,
The PNP database selects and filters the PERNRs according to the data selected on the Selection-Screen. If it shows 'no data found', there might not be any PERNR satisfying the conditions given.
Pls search for the PERNRs in the respective Database tables(PA tables) of the Infotypes for the required selections. If there are soem PERNRs satisfying the conditions, it prog must be filtering the PERNRs in the GET PERNR event. Pls check where is the PERNR ignored in debug mode.
Thanks,
Teja. -
PNP and Selection Screen 900 and Authorization
We have used the combination of logical db PNP with selection screen 900 to write a few custom payroll reports. We noticed right away that this combination seems to ignore HR authorizations. Meaning, someone could read payroll results for employees they are not authorized to see. We had to add our own authorization checks.
Am I missing something or is something wrong with the 900 selection screen?Hi Kenneth,
The 900 selection screen is for evaluation of Payroll Results. The system checks whether the user who started the evaluation has the correct authorization for this evaluation. Since the data retrieval is from the Payroll Results and not Master data the regular Authorization checks might not be relevant here. Even if the User has no authorization to view the Employee's Master data, he/she might still be able to view the Payroll results via this selection screen if he /she has the evaluation authorization. You are probably right in having to put in your own authorization checks. I hope I am not wrong.
Regards,
Suresh Datti
Message was edited by: Suresh Datti -
Restrict PNP Personnel Area Field to One Value on Selection Sreen
Hi,
I want to restrict users to enter only one value for pnpwerks (perwsonnel area) field on pnp standard report. How do I hide the push-button for displaying range?
Regards,
LilyHi Lily,
If you are using select-options as input field and want to restrict to one value use the below syntax.
Ex:
DATA spfli_wa TYPE spfli.
SELECT-OPTIONS s_carrid FOR spfli_wa-carrid NO-EXTENSION NO INTERVALS.
If your using Parameter
PARAMETERS:s_carrid like spfli_wa-carrid NO-EXTENSION.
<b>PLEASE REWARD IF USEFUL</b>
Regards,
sunil kairam.
Edited by: sunil kairam on Dec 19, 2007 4:33 PM -
RE:pnp LDB selection screen problem
hi,
hi friends iam facing one problem regarding hr ABAP selection screen ,in my program iam using PNP LDB for bonus details report
i have using selection screen declaration present for single selection.
SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-006.
SELECT-OPTIONS: S_ABKRS FOR P0001-ABKRS NO INTERVALS NO-EXTENSION,
S_WERKS FOR P0001-WERKS NO INTERVALS NO-EXTENSION,
S_BTRTL FOR P0001-BTRTL NO INTERVALS NO-EXTENSION,
S_PERSG FOR P0001-PERSG NO INTERVALS NO-EXTENSION,
S_PERSK FOR P0001-PERSK NO INTERVALS NO-EXTENSION.
SELECTION-SCREEN END OF BLOCK B3.
based on this selection iam fetching the information from infotypes using macros.
now my requirement is iam fetch the information for multiple selections means like payroll areas z1,z2 and z3 payroll informations
should be fetching once. pls any body knows solution please give me reply.
thanks & regards,
mgrao.hi jain thanks for your reply, iam already created report category and assigned my report. here iam giving my report selection
declerations fully below.
S E L E C T I O N S C R E E N *
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001. " DECLEARED REPORT CODE LEVEL
SELECT-OPTIONS: S_DATE FOR SY-DATUM NO-EXTENSION. "Bonus for Financial Year
PARAMETERS: P_BDATE TYPE SY-DATUM OBLIGATORY, "Bous payed as on
P_WKDAYS TYPE CHAR6. "No.of Working Days
SELECTION-SCREEN END OF BLOCK B1.
*SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-006. " COMMENTED report level TAKING FROM LDB PNP
*SELECT-OPTIONS: S_ABKRS FOR P0001-ABKRS NO INTERVALS NO-EXTENSION, " Payroll area
S_WERKS FOR P0001-WERKS NO INTERVALS NO-EXTENSION, Personnel area
S_BTRTL FOR P0001-BTRTL NO INTERVALS NO-EXTENSION, Personnel sub area
S_PERSG FOR P0001-PERSG NO INTERVALS NO-EXTENSION,
S_PERSK FOR P0001-PERSK NO INTERVALS NO-EXTENSION.
*SELECTION-SCREEN END OF BLOCK B3.
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002. "REPORT CODE LEVEL SELECTION
PARAMETERS: P_FORMCP TYPE PIN_RATE, " char6, "Form C %
P_FORMEP TYPE PIN_RATE, " char6, "Exgratia %
P_FORMBP TYPE PIN_RATE. " char6 . "Bonus %
SELECTION-SCREEN END OF BLOCK B2.
SELECTION-SCREEN BEGIN OF BLOCK B4 WITH FRAME TITLE TEXT-004.
PARAMETERS: L_REPORT TYPE ZHRD_FORMC AS LISTBOX VISIBLE LENGTH 40 OBLIGATORY . Report for list box 1 form c
SELECTION-SCREEN END OF BLOCK B4. 2 exgratia
the above selection is iam used first, now iam commented BLOCK B3 SELECTION PARAMETERS and taking the parameters from REPORT CATEGORY ASSINGN MENT.
MY PROBLEM is if i select one payroll area example z1 it showing all pay roll employees bonus details it is not filter the remaining payroll areas my requirement is what are the payrolls iam selecting those pay roll area details only displaying.
data fetching from INFOTYPES 0001,0002,0021 AND 9150 FOR BONUS DETAILS and out put is classical report format.
please kindly give the reply if you knows the solution.
thanks & regards ,
mgr. -
Problem with PNP customized selection screen
Hi guys,
I have done a report in R/3 system using logical database PNP with customized selection screen. i have 3 parameters as below:
1. radiobutton1 group a for current period,
2. radiobutton2 group a for other period.
3. personnel number.
my program works fine in R/3 but not in my portal. i think it couldn't recognize my radiobutton in my customized screen. whichever radiobutton i selected also it would return current month records.
any idea how to fix this?
any configuration that i can do?
thanks.try testing it through ITS first.
in order to do so . Go to sicf transaction and run webgui. Then run the application using the tcode. Check the results.
Seems wrong paramter are getting passed to the SAP system.
Your ITS server should be activated first in order to use webgui otherwise you will be getting dump.
Regards
Atul Shrivastava -
URGENT( PNP LDB SELECTION SCREEN )
hiiiii,
can anyone tell about the field PNPDISBD of pnp LDB in sap-hr , and why it is used. Is There any field on selection screen related to this when we use pnp LDB.Hi,
PNPDISBD is nothing but a date.
Go to SE38 and open the report SAPDBPNP.
And search for the field PNPDISBD then you will come to know its functionality. -
Hi ,
How to omit few fields in data selection period of pnp selection screen.You can disable the selection screen element in at selection screen output event.
Ex: The following code has been written for one of the FI related ldb.
Check the field names of pnp ldb in debugging mode and use it.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-GROUP3 = 'IXS'.
SCREEN-ACTIVE = '0'.
SCREEN-INVISIBLE = 1.
MODIFY SCREEN.
CONTINUE.
ELSEIF SCREEN-GROUP4 = '023'.
SCREEN-ACTIVE = '0'.
SCREEN-INVISIBLE = 1.
MODIFY SCREEN.
CONTINUE.
ELSEIF SCREEN-NAME = 'DD_BUKRS-LOW'.
SCREEN-REQUIRED = '1'.
MODIFY SCREEN.
CONTINUE.
ELSEIF SCREEN-NAME = 'DD_BUKRS-HIGH'.
SCREEN-ACTIVE = '0'.
SCREEN-INVISIBLE = 1.
MODIFY SCREEN.
CONTINUE.
ELSEIF ( SCREEN-GROUP3 = 'VPU'
AND SCREEN-GROUP4 = '007' ).
SCREEN-ACTIVE = '0'.
SCREEN-INVISIBLE = 1.
MODIFY SCREEN.
CONTINUE.
ELSEIF SCREEN-NAME = 'DUEDATE1'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
CONTINUE.
ENDIF.
ENDLOOP. -
Change PNP standard selection screen attributes
Hi experts,
I need to change the standard PNP selection screen parameter BUKRS into "obligatory".
I know it can be done for all reports using PNP through SPRO, but I need it only for one customer report.
Best regards,
A. Cepa.You can hide the standard field on the screen using this -
INITIALIZATION.
LOOP AT SCREEN.
IF screen-name = 'PNPBUKRS-LOW'.
screen-active = '1'.
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
IF screen-name = 'PNPBUKRS-HIGH'.
screen-active = '1'.
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Regards,
Amit -
How do you retrieve PNP variant selection criteria?
I have a variant which I know are stored in the VARI table and I can retrieve almost all the contents of it using the function RS_VARIANT_CONTENTS.
But on the selection screen for my PNP report, there is a button labeled "Search Help" where you can enter more selection criterias, but as far as I can tell, these are not retrieved when using the aforementioned function.
I've tried looking for a function to retrieve these but I can't seem to find one, and I also haven't found a way to just read the CLUSTR and CLUSTD fields of the VARI table directly.
Does anyone know how to retrieve those selection criterias?this is the right function
check if you don't have part of fields in several return tables
fields should be present if there is some value stored in variant for those fields -
Hi all,
When I'm entering CAT2 transaction with the option "Enter for Several Personnel Numbers", in the screen appears a table with employees data: Personnel No. / Name / Pers. area / Subarea / ... Can I define which data should appears here?
Thx!
Miguel Angel.Hello Pia,
Where exactly?
When I'm entering into "Cross-Application Components --> Time sheet --> Specific setting for CATS classic --> Set Up Data Entry Profiles" I can only see the different profiles, and inside each one I can only see the following tabs:
General settings
Time settings
Person selection
Approval
Cost accounting variant
Default values
Worklist
Data entry checks
And if I'm going to "Cross-Application Components --> Time sheet --> Settings for All User Interfaces --> Time recording --> Choose Fields" I can only see the following screen groups:
Settings
Worklist
Data entry section
Thx!
Miguel. -
PNP Report(Selection Screen)
hi,
i had attached the <b>Standard Selection screen</b> to my <b>ALV</b> report but i am not able to apply checks on the Selection screen to filter the data on my report and want to display accordingly..
can anybody help me on this...Hi Dinesh,
Even though I am not able to understand your query, just thought of sharing the idea which I used in one of the ALV.
CASE 'X'.
WHEN rad1.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
i_structure_name = 'ZSTOP_SALARY'
i_grid_title = ' MANUAL STOP SALARY REPORT'
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
WHEN rad2.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
i_structure_name = 'ZSTOP_SALARY'
i_grid_title = ' VACATION STOP SALARY REPORT'
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
ENDCASE.
Just check this... Hope this might help you out.
Best Regards
Renjan -
Set variant for PNP LDB select option of pernr
Hi All,
I want to set variant for PERNR of PNP LDB in one of the program through other program using RS_CREATE_VARIANT FM.
Please help to solve this problem.
Thanks,
Shailesh S. Malkar.REPORT ZTEST. .
tables: pa0003.
ranges pernr for pa0003-pernr.
* Fill neccesary PERNRs
pernr-low = 1000.
pernr-sign = 'I'.
pernr-option = 'EQ'.
append pernr.
pernr-low = 1112.
pernr-sign = 'I'.
pernr-option = 'EQ'.
append pernr.
SUBMIT RHINTE00 WITH PNPPERNR IN PERNR. -
How to change the text in default selection screen
Hi,
I have created the default selection screen(using PNP Logical database) ,In that I wants to display 'Data Selection Period' instead of 'Period'.
Please send me the related code.
Thanks in advace
mohanHR Logical Database is PNP
Main Functions of the logical database PNP:
Standard Selection screen
Data Retrieval
Authorization check
To use logical database PNP in your program, specify in your program attributes.
Standard Selection Screen
Date selection
Date selection delimits the time period for which data is evaluated. GET PERNR retrieves all records of the relevant infotypes from the database. When you enter a date selection period, the PROVIDE loop retrieves the infotype records whose validity period overlaps with at least one day of this period.
Person selection
Person selection is the 'true' selection of choosing a group of employees for whom the report is to run.
Sorting Data·
The standard sort sequence lists personnel numbers in ascending order.
· SORT function allows you to sort the report data otherwise. All the sorting fields are from infotype 0001.
Report Class
· You can suppress input fields which are not used on the selection screen by assigning a report class to your program.
· If SAP standard delivered report classes do not satisfy your requirements, you can create your own report class through the IMG.
regards
vinod -
ORGEH ON HR LDB SELECTION SCREEN
hello,
I am using PNP LDB selection screen i am getting the results when i gave person number but i am unable to get the data for ORGANIZATIONAL UNIT (orgeh).
ANY ONE PLEASE SUGGEST ME HOW TO GET THE DATA FOR ORGEH.
THX IN ADVANCE
MUNNA.Hi,
Please follow
Go to transaction SPRO -> Personnel Management ->Human Resources Inforamtion system -> HIS -> Reporting ->
Adjust the standard selection screen -> Create Report Categories.
I hope if this meet your requirement, please award suitable points and close the thread.
Regards,
Irfan Hussain
Maybe you are looking for
-
How can I recover ONLY contacts from a backup in iTunes?
I had to change my company email in my iPhone 4 mail box, in this change I also brought the contacts from the new exchange group, which I though would only bring the email contacts. It happens that it substituted my phone contacts and now I don't hav
-
How to skip span elements while tabbing thru a JSF view's form
I have a form in a xhtml file that while I tab thru the fields, the focus goes to a <span> element which is rendered from a custom JSF tag. This is an expand/collapse section header. I don't want the focus to stop there at all. I have tried the follo
-
How to disable T60p mic without disabling other mics?
I use a headset occasionally and I want the onboard mic to always be disabled while allowing a plugged-in mic to work. Any advice?
-
Truss: cannot trace set-id or unradable object file: file
Good afternoon, As a tool from my company is running very slowly, I wanted to know where something is going wrong. In order to determine this, I have decided to "truss" the tool: Prompt>truss <tool>Unfortunately I get error message: truss: cannot tra
-
F4 help problem at runtime in ITS (Invalid 'IQ' parameter)
Hi All, We have implemented ITS in EP views. When we run a transaction eg. pa30 ,push the F4 help button for the field, fill some field of the Search window and push the button Search . An exception occurred, which is assigned to class 'CX_SY_DYNAMIC