Suppressing 'Further Selections' in PNP LDB
Hi All,
Can you please tell me how I can disable the 'Further Selections' button in the PNP logical database? I am unable to find anything suitable in the report category which can disable this feature.
Thanks and Regards,
Vidya.
Hi Vidya,
U cna do this in HR REPORT CATEGORY.
In attributes of your program u have push button HR report category in the bottom.
Click on it and u can see a screen Report category assignment
Depending on ur requirment u can modify the selection screen using the report category.
here select Master data radio button and check the possible values present.
U have some standard report categories u can check the required report category or lese u can create ur own report category.
U can select
X____001 Sort, No time period; Status 2
X____002 Sort, No time period; Payr. area, Pers. no. Status, ...
X____003 Sort, No time period; Payr. area, Pers. no. Status, ...
X__00001 Sort, No time period, Payroll area, Personnel number
report category..
Best regards,
raam
Similar Messages
-
Hi experts,
How to supress the whole selection screen of PNP logical database with custom selection screen in report?
Thanks&Regards,
KarthiHi,
Why do you want to suppress all the fields? It seems not to logical. When you suppres (leave blank), no restriction will apply to data picked by LDB. This can have dramatic affect on performance as entire population from the system will be fetched.
I suggest first to fill some PNP fields in PBO (like PNPBEGDA, PNPENDDA etc) then set those fields invisible (hence suppress) them. This way, thought invisible they still apply filtering and program run.
Loop at screen.
if screen-name CS 'PNP'. "to suppress all fields use this.
screen-active = 0.
"or
screen-input = 0. "to make them visible but read only
modify screeen.
endif.
endloop.
Regards
Marcin -
About pernr orgeh on selection screen (PNP LDB)
Hi All,
ITS URGENT.....
i am tryieng to retrive the holiday compensation data from P0001 P2001 infotypes
i got screen but when i am tryieng to access the data by using person number (PERNR) WITHOUT GIVING ANY INFORMATION its coming out of the GET PERNR Event.
IF ANYBODY HAVE THE LOGIC PLEASE SEND ME .....
THX IN ADVANCE...........
MAHEN........Hi,
IT2001 would give you results for absences and not compensation, look into IT0083 i think for leave compensation details..
as far as get pernr event is concerned follwings things are mandatory..
tables: pernr.
infotypes: 0001,2001.
start-of-selection.
get pernr.
Here you can retrive data if available..
like:
p2001-pernr
or
p0001-pernr.
end of selection.
please check if the data is present in infotypes with the period specified on the selection screen.
And always use addition MODE n while retrieving data from time infotype 2001 onwards... -
HR-ABAP: Defaulting Radio Button on Selection Screen of PNP LDB
Hi all,
I am using PNP LDB (Logical Database) for program which is used for Payroll Results.
Now I have a requirement wherein it is necessary to select 'Up to today' as default on the selection screen.
We are having 4.7C version of SAP. I tried following code in INITIALIZATION event:
Initializing Selection Screen Data Selection Option to 'Up To Today'
INITIALIZATION:
MOVE: 'X' TO pnptimr4, " This is the option which I want as Default selection.
space TO pnptimr1,
space TO pnptimr2,
space TO pnptimr3,
space TO pnptimr5,
space TO pnptimr6.
But still I dont see this Radiobutton getting selected as Default selection while running the program.
By Default it selects Option : 'Other Period' (pnptimr6).
Any Idea how to resolve this ??
Regards,
Avinashhi...
When the INITIALIZATION event occurs, you can set default values for the selection screen.
The fields for the data selection are defined in structure QPPNP.
Possible values for field PNPTIMED are:
D = Today (key date)
M = Current month
Y = Current year
P = To current date
F = From today (from current date)
The person selection fields are defined in include program DBPNPSEL. They are internal tables that must be filled using APPEND.
so in intialization you have to write code as
PNPTIMED : P.
so up date will be defaulted in selection screen.
award points if helpful. -
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. -
How to avoid default selection screen in HR interfaces(using pnp ldbs)
How to avoid default selection screen in HR interfaces(using pnp ldbs)
Dear Rakesh,
The report category is used to change the selection screen of programs that use the 'PNP' logical database.
See links bellow:
http://www.sapdevelopment.co.uk/hr/hr_repcat.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/15/229357553611d3967f00a0c9306433/frameset.htm
Report categories for selection screen in HR programming
Also visit the following blog:
/people/alvaro.tejadagalindo/blog/2006/02/19/how-to-deal-with-hr-payroll-reports
Regards,
Naveen. -
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. -
Adding a field in further selection option when using PNP
when we run a report using PNP we get a further selections button on top. can we add a new field like molga, in that further selection option if yes then how...can someone help me on that.
Hi,
I guess the Report your using must be SAP standard report.If yes, then you have to copy that program to some Z-program & make the change in the program itself.
Because this logic is in program itself.
This is the only way.
Correct me, if I am wrong.
Can I know the name of the report?
Thanks,sarika. -
Hi All,
I have created a report using PNP LDB and assigned a master data report category. I have also created additional selections in my report, besides the selections offered by the LDB/report category. The issue is, the additional selections that I have defined appear at the bottom of the screen below the standard selections. I need my custom selections to be shown at the top of the screen and the standard selections below that.
How do I do that ?! I appreciate any pointers.
Thanks,
Kiran.HI Kiran,
use reporting catagiries .
change selection as per your requirment
rex -
Supress 'Further Selection' And 'Search Help' buttons from LDB selection sc
Hi,
How to supress/invisible 'Further Selection' And 'Search Help' buttons from LDB selection screen?
waiting for reply.
Shweta.Hi,
1) try to use another version of sel-screen
2) work with loop at screen:
LOOP AT SCREEN.
CASE SCREEN-NAME.
WHEN 'ANLAGE-LOW' OR 'ANLAGE-HIGH'
OR '%_ANLAGE_%_APP_%-TEXT'
OR '%_ANLAGE_%_APP_%-VALU_PUSH'
OR '%_UNTNR_%_APP_%-TEXT'
OR 'UNTNR-LOW' OR 'UNTNR-HIGH'
OR '%_UNTNR_%_APP_%-VALU_PUSH'
OR 'BEREICH2' OR 'BEREICH3'.
SCREEN-INVISIBLE = 1.
SCREEN-INPUT = 0.
SCREEN-OUTPUT = 0.
WHEN 'BUKRS-LOW'.
SCREEN-REQUIRED = 1.
WHEN OTHERS.
CONTINUE.
ENDCASE.
MODIFY SCREEN.
ENDLOOP.
A. -
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. -
Hi Experts,
We are in ECC version 4.6B. In the programs using LDB PNP am facing a strange issue.
In the selection screen I am restricting the data to personnel area say '20'. But still employee belongs to other personnel area are appearing in the report.
I have never come across such problems in ECC 6. May be this is the problem in old version of SAP.
I checked the old programs in the system and all have used "check" statement to overcome this.
But in the selection screen there are many fields in the "Further selection". Is it wise to add check statement for all. Or is there any SAP note which can solve this???
Thank You...Hi Manas,
Did you check the difference by choosing the reporting period. First the reporting period is given preference and then later on the second block Selection criteria is given .. Check with the period Today and ALL in your Report.
Cheers,
Jacks -
Create a screen by teh help of pnp ldb
hi expert ,
i have a file ( new hire file )
New Hire file: This interface program will be scheduled to run in the background and all the mandatory fields will be defaulted as shown below. End date will be defaulted with system current date and Begin date will be defaulted with CURRENT DATE 7 DAYS. The selection criteria can be changed for testing purposes and can be further be extended by using the logical database PNP. A report category should be created for LDB PNP. but i don't find MOLGA in pa0001 , so please give the code for this screen.
Screen Field Description
TYPE Reference Field Comments
S_MOLGA Country key Select option PA0001-MOLGA Mandatory. Default with 10
S_PERSG Employee group Select option PA0001-PERSG Mandatory. Default with 1
S_PERNR Employee Select option PA0001-PERNR Optional
P_BEGDA Begin date Parameter SY-DATUM Mandatory. Default with SY-DATUM 7
P_ENDDA End date Parameter SY-DATUM Mandatory. Default with SY-DATUM
thanks.Hi
You have to create a separate HR report Category in the report of PNP LDB and use
From the program attributes after assigning the LDB PNP you will get the Report Category in the down.
click on it
and check for the related fields
and you can modify the report category by making some fields disable so that you will get the required fields on the selection screen.
MOLGA is not there in PA0001
it is there in T500L,T500T, T500P and HRP1005 tables
take from it
<b>Reward points for useful Answers</b>
Regards
Anji -
List of persons selected with PNP
Hi all,
Is it possible to get the list of selected persons using the pnp LDB.
Thus before get pernr statement i want know the list of all selected persons.
Thanks in advance,no, you have to collect each and every PERNR to build the list
but you may apply a processing on the list only after a user action
Maybe you are looking for
-
How can I get my audiobooks in order on my iPod touch?
I have an iPod touch (4th gen) and recently downloaded a series of audiobooks from iTunes (Doug Bradley's Spinechillers). There are thirteen books in the series, and I'm not able to make them display in order on my iPod. I've edited their info in iTu
-
I have had to take my pc back to factory settins, so lost my itunes, tried to install again getting message saying the installation package could not be opened verify the package exists and that you can access it or contact the vendor to verify that
-
Qosmio E10: Is it possible to upgrade the graphic adapter?
Hello there, I have a question regarding a Qosimio E10. Is it possible to upgrade the graphics Adapter to a more recent one. (Now : Geforce FX 5200 Go 64 Mb) Because the one i use now is ot of date and I dont want to buy a new notebook just because o
-
I've been trying to convert a batch of large PDF files to PDF searchable files by using the OCR of Acrobat. In the middle of a batch, a large (1000+ page) document crashes acrobat. I have narrowed it down to this image: http://img90.imageshack.us/img
-
Podcasts show as already submitted
I recently had 3 podcasts removed from your iTunes store because I am changing the feed and, since I can't edit or change the source code on the prior feed (at Mevio), I had to have them canceled/removed, with the intent to resubmit them. All three p