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.S
Hi,
You need to set "person selection period" dates, in order to list values with selected parameters.
Daniel
Similar Messages
-
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. -
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 -
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. -
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?
Greetshi ,
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. -
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. -
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 -
Addition of checkbox and 2 fields in ABap query selection screen
Hi
I need to add chack boxes and 2 fields in ABAP query which is using LDB QMI. can u pls let me know how to do that.Hi Tarun,
I am still not clear with the problem..I guess you require plant in your selection screen which you have.
i guess if you go to sq01tcode there is a option infoset query from where you can give your selection options and value.
have you selected all the fields in infoset and made a selection screen?
When you have done with your infoset you just need to diplay the fields and there is a automatic program generated.
Let me know...
Regards,
Nihkil. -
SQ01 - Include a check box on ABAP query Selection screen
Hi Experts,
For my Abap Query, on the selection screen i am planning to include a check box such that if i click on the check box then a field will be displayed in the resulting output . On the other hand if i do not check on i should not be able the field in the output.
Please tell me how do i do this.
Thanks
Venkata Pradeep.In infoset, Extras code tab
Code section: At selection-screen output
Do something like below:
IF radiobutton1 = 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'XXXX'. "XXX is the filed group name you want to hide., you have to find out what is it.
screen-input = '1'.
screen-invisible = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF screen-group1 = 'XXX'.
screen-input = '0'.
screen-invisible = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF. -
Validate plants selected in Abap Query selection screen
Hi Everyone,
I have a requirement wherein i have to validate 'authority check' for the plants populated in the selection screen in an already created abap query.
I tried adding code in the code section. But i dont know how to use the select-option parameter. It already exists(VBAP-WERKS) in the table which is used for join, so i cannot add it in the additional fields. Am i correct ?
Also, i saw that the report program for this query uses this parameter sa SP$00008. I tried using it but it gives an error The IN operator with "SP$00008" is followed neither by an internal table nor by a value list.
Please help.
Also, please advice whether this requirement can be catered in this query alone? or should i go with writing a new report program for this? ( i personally feel that this would beat the purpose of using Abap Query. )
Regards,
TarunHi Tarun,
I am still not clear with the problem..I guess you require plant in your selection screen which you have.
i guess if you go to sq01tcode there is a option infoset query from where you can give your selection options and value.
have you selected all the fields in infoset and made a selection screen?
When you have done with your infoset you just need to diplay the fields and there is a automatic program generated.
Let me know...
Regards,
Nihkil. -
Trigger process chains using ABAP program selection screen.
Hi All
I am loading flat files through process chains. My requirment is such that i need to create a ABAP selection screen so that user can load the flat file from his PC. when the user is loading the flat file i have to copy the file onto the application server folder and then display him the monitor errors/warnings (if any). when my data load is complete i need to archive the file with time stamp onto the application server folder.
Please help me in this regard....
thanks and regards
sairam phaniHi,
1. Using TA: AL11 create a folder in application server.
2. There is a program to send the flat file to application server on r/3 side.
Program Name:RC1TCG3Z.
3. Regarding archiving...I have no idea.
Regards,
Vijay.
Maybe you are looking for
-
DPI Setting can't keep after reboot or recovery on 4K2K display platform
1. Change the default desktop DPI to 200% by Unattend.xml. 2. The DPI will change to 200% after OOBE. 2. Reboot or Recovery OS, the DPI will change to 125%. How can i make 200% as default setting and without any change? thanks!
-
Extension not showing up with mixed versions of CS
Hi, My client has CS 5.1 for all the apps except for InDesign which is CS 5.5. They installed and re-installed our CS SDK extension which is built for PS, IL and ID. While they can see the extension and load it in PS and IL, they are unable to see th
-
Problem with field ZZLOGSYS_FI field
Hi people, i have the following problem: i'm transferring data from an extraction in a SRM server, using the RSA3 tx. During simulation the ZZLOGSYS_FI field, on the table to move towards BW, gets filled. But using the RSA1 tx on BW (right click on t
-
Specific rights on source-system connection?
Hi all, we are up to connect our Solution Manager BW system to our "standard" BW system. But due to security reasons, we only want to allow access to specific datasources from the SolMan BW system. We tried to set up the rights for the BATCH/backgrou
-
Finding appropriate message file for a linguage setting
i am not able to find *.msb file for the arabic language in which i am developing my application. i have fmfus.msb and fmgus.msb files which are default file and support american language.