PNP LDB custom selections
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
Similar Messages
-
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 -
Hi Abapers,
I have used Standard PNP LDB in selection screen of my report, there is one button called 'org. structure' in standard Screen if u observe.. now my requirement is to create a new button 'SBU' just like the existing one. by clicking on this button i should get modal dialog box where hierarchy should be displayed which is similar to org. structure...
kindly help me... its urgent.....Hi Premraj ,
Open the program in SE80 and there you can see the screen no 1000 , this is your selection screen.
Go to this screen and add the new button you want to add , and in the PAI of the screen add a new module where you can do your processing and display the resulting screen.
Regards
Arun -
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 -
Custom infotype will also come in PNP Ldb
Hi Friends-
If we create a custom infotype which is starting from 9 eg 9001 , then if we use PNP LDB would this Ldb provide me data for thsi custom infotype also apart from all PA standard infotype ?
Regards
MeetaHello Meeta,
It will not be a part of PA Info types.
Yes, you will be able to get values of the custom info type in the GET PERNR and END-OF-SELECTION loop as you get values for other standard info types. For this you need to declare the custom info type same as you declare info types for which you want data in your program.
Hope it helps.
Thanks,
Jayant -
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. -
HR LDB PNP and customer infotypes in 640
Hello,
I encountered the following problem during an upgrade from 4.6C to SAP ERP Central Component 5.0. When using logical database PNP and customer infotypes the syntax check produces the following syntax error:
- INCLUDE report "%_HR9731" not found
I have added an example program below. Prerequisite for this program is that the cutomer infotype 9731 exists in the system.
Has anyone experienced this problem before? And if so, is there a solution? I can program some workarounds, but I prefer a solution, which does not involve changing my code.
Regards,
Marcel
REPORT ZTESTINFOTYPES.
tables: pernr.
infotypes: 0000,
0001,
0002,
9731 mode n.
start-of-selection.
get pernr.
write / p0002-pernr.
end-of-selection.Hi all,
"You will have to run report RPUMS40CCI (XPRA for generation of
infotype include) for existing customer-defined infotypes.
If you have not run this report then please do so.
The report RPU40CCI creates the infotype include %_HRnnnn (nnnn =
infotype number) and the additional data structure Pnnnn_AF (nnnn =
infotype number) for the given infotype, provided that the correspondin parameter ("generate infotype include" or "generate additional data
structure") are set on the selection screen. If the parameter "maintain only T77ID" is set, no infotype include or additional data structure is maintained, only those entered in table T77ID."
Best Regards
Silvio Galery -
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. -
Reg : Selection Screen For PNP LDB
Hi All,
I am having problem in selection screen of logical database PNP.. I am attaching the screenshot of the screen which I am using.
[https://www.2big2send.com/collect/861452b5d77254eea4fa17cec4842d63]
Actually.. I created 3 radio buttons down in the screen.. i.e. Delta, delta for X date, full file.
If the user click on Delta radio button then he can only select today radio button.. If he select others than.. the error message should come.. Can anyone help me.. coz.. I dont know.. which event is triggering if the user select other than today radio button of the PNP screen.
I put break points on the AT SELECTION SCREEN and AT SELECTION SCREEN OUTPUT.
But, none of the event is triggering.. Can anyone help me regarding this.
Thanks,
Regards,
Jhings.Hi...
Thanks for the reply.. I did this also..
AT SELECTION-SCREEN ON RADIOBUTTON GROUP $zb2.
BREAK-POINT.
$zb2 is the group name of the radio button which is there in PNP logical database selection screen..
Same problem again.. this event is not triggering also..
Regards,
Jhings -
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. -
PNP LDB Sort Order Customization
Hi all,
I need to add a custom field to the list of "Sort Order" fields available on PNP LDB Selection screen. Any idea how can we achieve this??Hi Markus,
No, the Sort Order has not been removed in PNPCE.. which report are you using? If it is tied to the Report Category PNPCE, the Sort Order icon is displayed 4th from the left on the tool bar.. You can alos use the CTRL + F1 keys option.
Regards,
Suresh Datti -
Who's who - add custom selection parameter
Hi,
I want to add a custom selection parameter to the who's who in ESS.
I've copied the standard infoset to a z-one, added siome output-fields and this works well.
But now I want to add a selection-parameter which is not included in the ldb pncp (text of the personnel subarea) and I don 't qsee how I can add this. Someone out there who can help me ?Check the link,
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/108c31e7-b6a7-2d10-3692-c1a9f7a5c4dc?quicklink=index&overridelayout=true
Hope this helps.
Cheers-
Pramod
Maybe you are looking for
-
My iphone will not sync music, I have done it many times before , there is 4,6 GB space it just remains stuck at step 6 of 6 for over an hour, any ideas what is wrong?
-
The App Store search has stopped working since I updated to 8.2 on iPad
Hi since I updated my software to 8.2 on my iPad the App Store search has stopped working but other features work on the App Store only the search option is not responding and says " the App Store is temporary unavailable please try again later " I h
-
when i're install packages , system report: pkgadd error :no packages found in <dir > used command: #pkgadd -d . or #pkgadd -d <dir > pkgname
-
My compound paths have quit working in photoshop CS6
I know I've clicked some icon somewhere to cause this to happen, but I can't seem to figure it out...please help!
-
After downloading OS 5.0, none of my contacts reloaded from the backup. Any idea how to get them back?