EDIT PNP Selection screen
Hello
I would like to edit my PNP selection screen (000) with screen painter. Does anyone know if this is possible?
Otherwise is it maybe possible to add tabs to the screen dynamically?
Greets
hi ,
go to the attributes of the program>hr report catagory>then you can create your own selection screen give the name and description...
regards,
venkat.
Similar Messages
-
Not able to hide all fields on PNP selection screen.
Dear Freinds,
i wanted to hide all the field which are given on PNP selection screen, with the help of the
report category i have hided all the field including the Person selection period as i require only the
Data selection period. further through coding as below iam able to remove all the radio buttons
Today, Current month,Current year, from today, upto today,Other Period . But i am getting spaces above period (PNPBEGDA and PNPENDA) . i.e in the frame Period i have spaces being left due to
the radio buttons being Hidden . Could any one let me know how to remove the spaces so that
Period range will set exactly in the frame.
LOOP AT SCREEN.
IF screen-name = 'PNPTIMR4' .
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
IF screen-name = 'PNPTIMR2 .
screen-input = '0'.
screen-invisible = '1'.
ENDIF
IF screen-group4 = '090' .
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
IF screen-name = 'PNPTIMR1' .
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
IF screen-group4 = '092' .
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
IF screen-group4 = '094' .
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
IF screen-group4 = '100' .
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
MODIFY SCREEN.
ENDLOOP
Please could any one let me know how can i push up the Period date (PNPBEGDA and PNPENDDA)
so that i will not have any blank space left out in the frame(Period) .
Thanks & Regards
Divya.
Edited by: Divya Kumari on Jan 4, 2009 1:53 PMhi, sorry i think i misunderstand you question,
if i can understand it right now? the following code can help you i am using "PNP" Screen no '900'.
tables:pc207, hrp1000,pernr, pyorgscreen.
infotypes: 0001. "Organizational Assignments
nodes: payroll type pay99_result.
at selection-screen output.
loop at screen.
if ( screen-group1 = 'RES' or screen-group1 = 'YB1' or
screen-group1 = 'YB2' or screen-group1 = 'YB3' ).
screen-active = '0'.
screen-invisible = '1'.
modify screen.
endif.
endloop.
try the following too,
TABLES:pc207, hrp1000,pernr, pyorgscreen.
INFOTYPES: 0001. "Organizational Assignments
NODES: payroll TYPE pay99_result.
AT SELECTION-SCREEN OUTPUT.
BREAK-POINT.
LOOP AT SCREEN.
IF (
* screen-name = '%BYB1005_BLOCK_1000'
screen-name = '%FYTI007_1000'
or screen-name = '%FBIS010_1000'
or screen-name = 'PYVW0_0'
or screen-name = '%_PYPERNR_%_APP_%-TEXT'
or screen-name = 'PYPERNR-LOW'
or screen-name = '%_PYPERNR_%_APP_%-VALU_PUSH'
screen-active = '0'.
screen-invisible = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Replay if any problem,
Kind Regards,
Faisal
Edited by: Faisal Altaf on Jan 4, 2009 6:55 PM -
Dear freinds how to open the fields in the PNP selection screen
Dear Freinds,
When you use the PNP selection screen , i dont find the Orgeh field in default selection screen .
However , using the code at selection screen output i have closed certain feilds using the loop at screen,
but when iam trying in similar way to show the field
on the selection what is the code i have to use
in the loop at screen...........especially for the field
orgeh .
i have tried the othere options like required.........this working when iam able to make the date fields mandatory, similary i want to try with the below
code to get the field Orgeh on the selection as default feild when we execute the report.
can any one please modify me the code
LOOP AT SCREEN.
IF screen-group4 = '026' .
screen-active = 0.
screen-invisible = 1.
screen-input = 0.
ENDIF.
modify screen.
endloop.
what i have to use in the loop at screen for me to get the orgeh field on the selection screen.
thanks & regards
madhuriHi Madhuri,
Unless you dont declare the orgeh field in hr report category you cannot show it on the selection screen nor you can hide it.
If you do not want to use hr report cateogry.
What you can do is that declare a parameter or selection screen called p_orgeh type orgeh.
Here you can do the hiding on conditions.
Kindly note here that after get pernr you will have to put a check that
check p0001-orgeh in p_orgeh.
Because for the fields declared by you automatic filtering does not happen.
Regards,
Divya
Pts valuable. -
How to populate f4 values to standard pnp selection screen fields
Hi Experts,
my question is how to populate f4 values to standard pnp selection screen field. i am using LDB PNP for a report , it displays several fields with f4 values, i need to remove all the stadard f4 values and want to place my f4 values in the selection screenHi Venkat,
To put ur own values in the F4 help of any field...all u have to do is.
1st fetch all the records that u need to display in F4 help list...in one internal table.
and then use the function module 'F4IF_INT_TABLE_VALUE_REQUEST'
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield =
value_org =
tables
value_tab =
return_tab =
exceptions
parameter_error = 1
no_values_found = 2
others = 3.
where retfield is the field for which u need to give the F4 help.
and valu_tab is the internal table in which u have the list of records to be displayed.
this would do the work...
I dont have the system in front of me...as soon as i have...will try to send a piece of code, to make ur work easy.
Till then hope this helps u...all the best
Regards,
Radhika -
Initialization for Date Fields on PNP Selection screen
Hi All,
I need to initialize the date on the LDB PNP selection screen to today.
I gave the following code in the Initialization
Set the Key Date to Today
pnptimr1 = 'X'.
but this doesn't get reflected on the selection screen.
Please suggest.
Thanks,
Suryakiran D.Hi Suryakiran,
1. Only as Default.
2. Use this.
DATA : firstover TYPE c.
AT SELECTION-SCREEN OUTPUT.
IF firstover = ''.
firstover ='X'.
pnptimr6 = ''.
pnptimr1 = 'X'.
ENDIF.
regards,
amit m. -
Can we modify the pnp selection screen and get only month and year?
Dear Freinds,
I have requirement where i have to modify the PNP selection screen. So with the help of report category and coding in AT SELECTION-SCREEN OUTPUT , i have modified all the fields relating to dates . i.e i have removed all the radio buttons (i.e Today, Current month,current year etc) and finally
i have landed with only Period ( PNPBEGDA & PNPENDDA range) . But i dont want the PNPBEGDA & PNPENDDA range , but i want only is the month and year ( i.e just like the PNPPABRP & PNPPABRJ)
on my selection screen along with the pernr .
i have used the below code to close all the fields except pnpbegda and pnpendda.
AT Selection-Screen output.
loop at screen.
IF screen-group4 = '098' .
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
IF screen-group4 = '092' .
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
IF screen-group4 = '094' .
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
IF screen-group4 = '100' .
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
IF screen-group4 = '104' .
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
MODIFY SCREEN.
endloop.
i.e on my selection screen i want only month & year combination and pernr -
when iam using the logical database PNP . Could any one please let me know how can i get only mon & year only on my selection screen .
If it is possible please let me know .
Thanks & regards
divya.Hi ,
The requirement is that the user doesnt want to enter the date range i.e for ex: 01012008 to 31012008.
As per the requirement the user will enter only the month and year only . so i on the selection screen
i want only the month and year only . Is there any means i can modify the date period which is there by
default (PNPbegda and PNPendda) on PNP selection screen. Instead of we givign to the user the
PNPBEGDA and PNPPENDA i want is only month and year .
AS already the code has already been written and now they have asked that they want only the month and year on the selection screen.
Please suggest me in this regard.If iam hiding all the buttons relating the dates fields, and now if iam adding the parameters for the month and year it is coming below below the fields pernr , personnel ara and subara , company code , payroll area, employee group of the standard fields of PNP selection screen , there by any body could please suggest me how to change.
regards
divya. -
hi experts,
i am using pnp selection screen and i want
emp no , personnel area , personnel subarea , epm group ,emp sub group in my selection screen.
how it can be possible ?
actully there is option to select the particuler field option ,but when i again excute the program it shows the std selection screen .
Thanks And Regards.
Priyank Dixithi,
refer to this links
Re: Change in LDP PNP Selection Screen
Re: Change in LDP PNP Selection Screen
http://brookshireconsulting.com/technical_rc.html -
Pnp selection screen 000 how to put default values
Hello everybody,
my question today is about PNP selection screen 000: How can i put default values in the fields w/o using variant.
or can i restrict the numbers of values returned by " get pernr" with conditions not on selection screens.
thank you in advance!
Eric.use this code to default fields on the event INITIALIZATION. you can modify as per you needs..
*----------------------------- INITIALISATION -------------------------------------------
INITIALIZATION.
pnpstat1-low = '0'.APPEND pnpstat1.
pnpstat2-low = '3'. APPEND pnpstat2.
pnptimed = 'I'.
* Default Dates
CONCATENATE sy-datum+0(4) '0101' INTO pnpbegda.
CONCATENATE sy-datum+0(4) '1231' INTO pnpendda. -
PNP Selection Screen Modification
Hi All,
Can anyone tell how to remove the payroll period section completely from the pnp selection screen. I tried all the means going to HR Report Category, I couldnt find the perfect category to hide the payroll period selection. It neither allow me to create a new one for my program. Please help me out as soon as possible with steps/navigation whichever possible..
Thanks in advance,
Charanyou can create your own selection screen by going to Attributes -> HR Report Category -> New Report Category(button on the bottom of popup screen).
here, you can select/deselect selection criteria.
it looks like you were in the correct place - why didn't it let you create a new report category?
if helpful, please don't forget to reward points.
thanks,
robert. -
HR ABAP - PNP selection screen
Hi Friends,
I am executing the standard report with PNP logical database .
But in the selection screen when I click on further selection and select the parameter company code.
Now I entered the company code "0060", but I am getting the out put for both company code 0060 and 0020,
here I need the out put only for the person which are belongs to company code 0060, but I think the selection screen company code was not controlling the out put.
Also I checked the Infotype internal table p0001, here I am able to see both the company codes, and for that person the process is continuing and I am getting the out put for the company code 0020, bcz the current/valid record for this person is 0020.
Request to let me know any issue there?
Magesh.SHi,
You need to set "person selection period" dates, in order to list values with selected parameters.
Daniel -
Standard PNP selection screen problem in reason for action type
Hi all,
We have used standard PNP in one of our report program.
The input for 'Reason for Action' (excluding a particular reason for action ) has no effect on the actual selection of data from the PNP. i.e. even if a particular reason for action is excluded in the selection, record pertaining to that action for reason is still picked in the PNP selection and passed on to the program through Get PERNR statement.
The above problem seems to affect all the standard and custom HR Reports as well.
Please advise on how exactly the excluding of a particular reason for action work in selection through PNP and is there anyway to solve the problem.
eagerly waiting for your response.
Thanking You,
Regards.
DeepakThanks for your response,
We tried but it did not work.
Our code is as follows,
INITIALIZATION.
W_REPID = SY-REPID.
PERFORM CREATE_RANGES.
START-OF-SELECTION.
GET PERNR.
RP-PROVIDE-FROM-LAST P0000 SPACE PN-BEGDA PN-ENDDA.
PERFORM GET_DATA.
END-OF-SELECTION
If you could give us your email id, we would email the screen shots of the selection screen and the output.
my email id - [email protected]
Thanking You,
Regards
Deepak -
Hi Experts,
By mistake the HR Report Category "HRINCLMS" in LDB selection screen was changed. Now I am trying to change the same but it is not allowing.
After executing the "HINCREMS" program.In standard program, The selection screen 1st block should be KEY DATE with fields TODAY and OTHER KEY DATE . But due to some changes it is showing PAYROLL PERIOD BLOCK with fields CURRENT PERIOD and OTHER PERIOD(remining blocks are coming correctly).
This is because in the HR Report Category "HRINCLMS" the person selection period should be KEY DATE. But defaultly it is taking as NO ENTRY and I am not able to edit the person selection period it is not in editable mode.
Its effecting whole hr screen. Please can any one help me to resolve the problem.
Thanks,
Shafi.And what you said is also right.
This is a tricky one, and I don't know but maybe it is a bug. I tried modifying it in my development system and as soon as i hit enter the value of Person Selection Period is toggling automatically to 'No entry'. So, in my opinion you have two options here:
1) Modify the value via debugging. In this case you have to go to SE16 and display the record for RECPL => HRINCLMS and then set the value for XXXPS to 1
2) The other way is choosing the following options:
a) Data Selection Period = Key Date
b) Person selection period = No entry
c) Payroll Area = No entry
Best Regards
Edited by: Jose Maria Otero on Nov 24, 2011 11:28 AM -
Change in LDP PNP Selection Screen
Dear Friends,
As you all are aware that for LDP PNP we have a selection screen. In the selection screen, Personnel Number field has to be changed as Employee Number. Can some one tell how we can acieve this?
Thanks
SomuHi,
Changing of text will not be possible.
You can change it at data element level which will affect at all places where the data element is used. That is also possible only in ECC.
You can create ur own field if u need and give it a text but then automatic filtering will not be possible.
Regards,
Divya -
LDB PNP, selection screen, org structure field name ?
Hi,
Generally, what are the names of the additional selection-screen fields? There are twenty odds pnp...., the standard ones. But what is the name of the org. structure, the 4th button selection options group fiels? (I need ids of all Org units from org. structure subtree, or the root org id at least)
Thanks,
Piotr...this it is with headerline...
Sergey big spasiba
Piotr -
Edit variable selection screen
Hi,
I want to edit the variable selection screen in WAD 7.0 (change width of colums).
Can anyone give me the template-name?
MichelAs quoted from http://sapfans.com/forums/viewtopic.php?f=16&t=221261
saw this thread on SDN: SAP Business Explorer (SAP BEx)
Question:
Hi,
Most of our BW reports use one Web Template. When the variable screen pops up, the header shows "Variables for Ad Hoc Report" instead of the name of the report that were are executing from the role folder.
Does anybody know how can I get the title of the report to show instead of "Variables for Ad Hoc Report"?
Thanks for your help!
Helena
Answer from SAP Employee Heike Guder:
Hi Helena,
sorry, but this is only possible with modification in class cl_rsr_www_variable_screen method FILL_OPEN_FORM(no customizing for this)
Heike
If you are really into it you might want to start diggin in that class and if do - please let us know the result of it.
Cheers,
Skibum
Maybe you are looking for
-
This phone worked great for 2 years until I inherited it from my partner. Since we changed the phone over to me, it has done this 4 times. The last 3 times it somehow magically came back after taking the Sim card out and putting it back in. I even w
-
CO-PA Planning Costs(Budget) in SAP R/3
Hi All, I am in the process of devloping the report of Cost per Cost Center. I found the data source(CO_OM_CCA_9)for actual costs per cost element. But i did not find the data source for Planning costs with respect to cost element. I need the informa
-
Have Windows XP; downloaded iTunes 9, getting error message
Here is the error message I receive when trying to import a CD. I would appreciate greatly any help. "Warning! iTunes was not properly installed. If you wish to import or burn CDs you need to reinstall iTunes." Thank you!
-
What are the bad Effect of changing sap Standard Programs?
Hi all, I want to know what are the Bad effects of changing SAP standard screen and reports. I need a bit theoretical Explanation. Please suggest me some good and effective matter link. Regards
-
Hello all, I am trying to read all bsp page fragments from a bsp application using webdav but it is not working. I am creating a new network connection on windows 2000: http://<server name>:<port>/sap/bc/bsp/sap/crm_ic_dt_rep/ CRM)IC_DT_REP is the bs