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.
Similar Messages
-
How to get locked records of a pernr while using PNP LDB
is there any way to retrieve locked records of a pernr
while using PNP LDB??currently the get pernr event is unable to load locked records of a pernr.Hi,
PL use this piece of code in your Program..
INITIALIZATION.
PNP-SW-IGNORELOCKEDRECORDS = 'N'.
Regards,
Suresh Datti -
How to hide some fields in default selection screen in hr abap
Hi experts,
I have created default selection screen,in that in the Period option I wants display only 'Today'.
And in the selection criteria i wants to display personnel number,companycode,personnelsubarea,employee status and instead of payroll area i wants to display 'Org unit'.please tell me step by step procedure,that could be greate helpfull.
Thanks in advance,
mohanuse this logic to display only today in the period option
**Local constants
CONSTANTS:
c_0 VALUE '0' ,
c_089 TYPE char3 VALUE '089',
c_091 TYPE char3 VALUE '091',
c_095 TYPE char3 VALUE '095',
c_097 TYPE char3 VALUE '097'.
At Selection Screen
at selection-screen output.
LOOP AT screen.
IF
screen-group4 = c_089 OR
screen-group4 = c_091 OR
screen-group4 = c_095 OR
screen-group4 = c_097 .
screen-active = c_0.
MODIFY SCREEN.
ENDIF.
ENDLOOP. -
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 -
How to Display key/text in default selection screen?
HI Gururs,
I want to display key/text in variable default selection screen in BI Analyzer in Quality.
please give me any suggestions to resolve this.
Thanks
vadlamudihi,
What i have done is in the cube level, in the dimensions i have made specific properties and set to key/text in development, so its working fine in development of the analyzer, but still its showing text only in quality analyzer.
please give me the solutions if you know any.
regards
vadlamudi -
How to skip the Selection screen while using BAPI_MATERIAL_DELETE
Hi,
I have to delete material master.
I'm using BAPI_MATERIAL_DELETE Fm,
But while executing this BAPI it is going to a screen where it is asking to tick the Check Box for material number.
Can you please tell me how to execute the BAPI Avoiding the selection screen.
Thanks & Regards,
RajenderHi,
Thanks for replying.
We have to run the BAPI in Background, Then how to achieve the default values.
Thanks & Regards,
Rajender. -
Input box on default selection screen
Hi,
how to create an input box on the default selection screen which will accept only 1275 characters.
Can u please help me?
Thanks in Advance,
Sreekala.Hi Sreekala,
You need to use the CL_GUI_TEXTEDIT for creating the box, also you need use the dialog program for that.
For more info on that class check this
Usage of CL_GUI_TEXTEDIT
Text box on selection screen
Hope they helps you.
Regards! -
How to Modify the Selection Screen in Report Painter
Hi All,
I am working on Report painter and writer,
can any body helpme how to change the selection screen i.e i want add some more select options to the exisiting roport .
how can i add more select options to the exisiting one
please let me know the Procedure and provide some relevent documents .
Thanks and Best regards.
umaHello...
In the program ...we can find the following chunk of code..
selection-screen:begin of block B1 with frame title text-001.
Parameters : ....
select-options:.....
selection-screen:end of block b1.
if we need to add any more user inputs we can write the code inside the existing
selection screen....end of block .
or create a new block ..just the block name should be different...
if we are using select options...we need to declare the table name using the key word for the field on which we are giving select options ....
Tables : BSIK.
Please see the following code:
Imagine :- we have the current selection screen..
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS: P_BUKRS LIKE BSIK-BUKRS DEFAULT SPACE.
SELECT-OPTIONS: S_LIFNR FOR BSIK-LIFNR.
SELECTION-SCREEN END OF BLOCK B1.
we need to add 2 more fields on the selection screen ..this we can do as the following
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS: P_BUKRS LIKE BSIK-BUKRS DEFAULT SPACE.
SELECT-OPTIONS: S_LIFNR FOR BSIK-LIFNR,
S_HKONT FOR BSIK-HKONT.
PARAMETER: P_DATE LIKE BSIK-BUDAT OBLIGATORY DEFAULT
SY-DATUM.
SELECTION-SCREEN END OF BLOCK B1.
OR...create a new block...
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
SELECT-OPTIONS: S_HKONT FOR BSIK-HKONT.
PARAMETER: P_DATE LIKE RFPDO-ALLGSTID OBLIGATORY DEFAULT
SY-DATUM.
SELECTION-SCREEN END OF BLOCK B2.
there are many options available in selection screens..like creating check box,radio button etc..
for more info press F1 help on the Selection screen in the ABAP editor
Revert back if not clear and reward if helpful
Regards
Byju -
Hiding some fields in default selection screen in hr abap
Hi Experts,
I am new to hr abap.I have created default selection screen by using LDB .in that i wants to display only the personnel number field.
could any help me how to hide further selections,sort order and search helps at top of screen.
thanks in advace,
mohanuse
at slection-screen output.
loop at screen.
if screen-name = 'PNPBUKRS'. (example)
screen-active = '0'.
endif.
modify screen.
endloop.
==========================
u can do it as group wise also.
loop at screen.
if screen-group1 = 'group name'. (could be group1,2,3,4)
screen-active = '0'.
endif.
modify screen.
endloop.
====================
Hi,
Can u tell me which LDB and report category u are using so that i will send u the code as per the req.
If the above code suits to ur req. pls reward the points.
Regards
eswar -
How to Increase the Selection screen window length width big....
How to Increase the Selection screen window length width big.... I cant able to do some enter text... because of the window size it gives error... can anyone help me out this...
Thanks in advancehi,
Maximum size is fixed for selection-screen.
Split your text into different lines to fit it.
Create a text element for your text and write it as comments.
selection-screen begin of block b3 with frame title text-041.
selection-screen begin of line.
parameters : p_all radiobutton group g2 default 'X'.
selection-screen comment 10(75) text-049.
selection-screen end of line.
selection-screen begin of line.
parameters : p_iloc radiobutton group g2.
selection-screen comment 10(75) text-050.
selection-screen end of line.
selection-screen end of block b3.
Regards
Sailaja. -
Hiding some fields in default selection screen in hr abap created by pernr
Hi experts,
I have created default selection screen,in that in the Period option I wants display only 'Today'.
And in the selection criteria i wants to display personnel number,companycode,personnelsubarea,employee status and instead of payroll area i wants to display 'Org unit'.please tell me step by step procedure,that could be greate helpfull.
Thanks in advance,
mohanhi mohan,
try this
**Local constants
CONSTANTS:
c_0 VALUE '0' ,
c_089 TYPE char3 VALUE '089',
c_091 TYPE char3 VALUE '091',
c_095 TYPE char3 VALUE '095',
c_097 TYPE char3 VALUE '097'.
At Selection Screen
at selection-screen output.
LOOP AT screen.
IF
screen-group4 = c_089 OR
screen-group4 = c_091 OR
screen-group4 = c_095 OR
screen-group4 = c_097 .
screen-active = c_0.
MODIFY SCREEN.
ENDIF.
ENDLOOP. -
How to set default selection in html:radio
hai
how to set default selection in <html:radio>.No it won't help.
You can't set a value into an <input type="file"> control at all. The user has to put values in themselves.
The reason behind this is security. If the programmer could put any value they liked in there, you could upload any file at all from a users computer without their intervention. eg C:\windows\system32\passwords.txt
Bottom line: you can't put a default value into the input type="file" control.
And a good thing too ;-) -
How to have a selection screen in the smartform
Hi,
<i><b>How to have a selection screen in the smartform. <u>Could anybody share with the example of driver program and the smart forms</u> . Please send me ASAP</b></i>
Thanks
Shiva shekarHi,
Refer to this
http://www.****************/Tutorials/Smartforms/SFMain.htm
Thanks,
Anitha -
How to disable the Selection screens of LDB's ?
Hi,
How to disable the Selection screens of LDB's when we r using the predefined LDB for our executable pgm ? and how to include the predefined LDB can u write the Code for including LDb or if possible give an example of a Pgm using a Predefined LDB?
Thanks & Regards,
Gopi.Hi Gopi,
Go through the link,
http://www.sapdevelopment.co.uk/hr/hrhome.htm
Regards,
Azaz Ali. -
How to create multiple selection screens in reports
How to create multiple selection screens in reports
Thanks,
SridharEx: hope you will find an idea from the below example :
SELECTION-SCREEN BEGIN OF BLOCK SEL1 WITH FRAME TITLE TIT1.
PARAMETERS: CITYFR LIKE SPFLI-CITYFORM,
CITYTO LIKE SPFLI-CITYFORM.
SELECTION-SCREEN end OF BLOCK SEL1
SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW.
SELECTION-SCREEN INCLUDE BLOCKS SEL1.
SELECTION-SCREEN BEGIN OF BLOCK SEL2 WITH FRAME TITLE TIT2 .
PARAMETERS: AIRPFFR LIKE SPFLI-AIRPFROM,
AIRPTO LIKE SPFLI-AIRPTO.
SELECTION-SCREEN END OF BLOCK SEL2
SELECTION-SCREEN END OF SCREEN 5000.
INITIALIZATION.
TIT1 = 'ITIES'.
aT SELECTION-SCREEN.
CASE SY-DYNNR.
WHEN '0500'.
MESSAGE W159(at) WITH 'SCREEN 500'.
WHEN '1000'.
MESSAGE W159(at) WITH 'SCREEN 1000'.
ENDCASE.
START-OF-SELECTION.
TIT1 = 'CITIES FOR AIRPORTS'.
TIT2 = 'AIRPORTS'.
CALL SELECTION-SCREEN 500 STARTING AT 10 10.
TIT1 = 'CITIES AGAIN'.
CALL SELECTION-SCREEN 1000 STARTING AT 10 10.
Maybe you are looking for
-
Installed iweb as part of ilife06, application iWeb quit unexpectedly
Hi all, I hope you can throw some helpful advice at me! I have just purchased iLife06 to use iWeb, installed it, patched it, and launched it. 10 seconds in I get a application iWeb quit unexpectedly box, the report box contains this load of geektalk:
-
Hard disc not visable on desktop IMAC
I used a firewire cable to transfer data from imac OS 9.2 to my new macmini. With the result a floating FW icon for hours, some noise at start. I unplugged the cable and now my hard disk is not working/displaying on my imac. So also no reinstall poss
-
Safari 5.1.7 pdf documents are blacked out ?
safari 5.1.7 pdf documents are blacked out.
-
Why is my iPod so slow since ios5
Why is my iPod so slow after I updated to ios5.
-
Hi, How do you send an attachment to a work item, at the time when the work item is created in the inbox