LDB selection screen -Diff b/w Data selection / person selection period
Hi Experts,
Want to know what is the difference between
Data Selection Period
Person Selection Period
in the other period , in the selection screen of the LDB PNP.
Thanx in Advance.
Regards,
IFF
hi,
Plz follow this link.
Re: Data selection period & Person selection period
This will Help.
Regards
Sumit Agrwal
Similar Messages
-
In the LDB selection screen -Diff b/w Data selection / person selection
Hi Experts,
Want to know what is the difference between
Data Selection Period
Person Selection Period
in the other period , in the selection screen of the LDB PNP.
Thanx in Advance.
Regards,
IFFhi,
Please Refer to this link.
[abap hr question;
This will Help You.
Reward if helpful.
Regards
Sumit Agarwal -
Calling the selection screen of report with data for the selection field
I have the selection screen with 2 fileds.
sales order and payment terms.
My requirement is to update the payment terms into the ztable for the given order.
Sometimes the payment terms will be there ie already maintained ,in that case i need to show to the user the existing payment term ,so that he can modify and save that one.If the payment term is not existing then simply i can go inside the program and update the payment term.
What I thought of doing is , writing a report program and then after the user inputs the selection screen ie order number , I Will check in the ztable and if the payment terms is found then i will use the key word leave list processing. But i dont know how to populate the payement term in the selection screen oncegaing from the programHi shiva,
when the user enters sales order number on screen, in parameter 1,
you want to show payment term, on selection screen itself, in parameter 2.
We can use the event
AT SELECTION-SCREEN.
Eg. PO Number <----
> User
Below is sample code for same.
If you enter PO Number, the system will show the corresponding user in parameter2.
Just copy paste.
REPORT YAM_TEMPA09.
PARAMETERS : EBELN LIKE EKKO-EBELN.
PARAMETERS : ERNAM LIKE EKKO-ERNAM.
AT SELECTION-SCREEN.
ERNAM = ''.
SELECT SINGLE ERNAM
FROM EKKO
INTO ERNAM
WHERE EBELN = EBELN.
regards,
amit m. -
Selection screen must show current date + 1
Hi Guys,
In my selection screen i have given
parameters: date like sy-datum default sy-datum.
I have added + 1 after sy-datum.
But i am not getting tommorows date.
So can I display current date = current day + 1 Day in selection screen itself.
Thanks,
Prasad.parameters: date like sy-datum default sy-datum.
INITIALIZATION.
DATE = sy-datum + 1. " Tommorows date will be display on the selection screen.
OR:
parameters: date like sy-datum default sy-datum.
AT SELECTION_SCREEN OUTPUT.
DATE = sy-datum + 1.
Regards,
Gurpreet -
Selection screen modification based on various buttons in selection screen
Hi,
I have 1 query related with Selection screen modification.
In my Report Program,I have created GUI Status for my selection screen
Now 2 buttons in application toolbar are coming on selection sceen.
For this i used,'At selection screen output' event.
And there are 2 blocks on selection screen.
If user press button1 then block2 should not display.
and if user press button2 then block1 should not display.
but the problem is i m not getting reqd result and also while doing debugging its not showing me sy-ucomm value.
Any pointers on this.
Thanks,
MamtaHi Mamta,
have it in a group then you can write code accordingly see sample example,
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : p_r1 RADIOBUTTON GROUP rad
USER-COMMAND clk DEFAULT 'X'. " upload Radio Button
SELECTION-SCREEN COMMENT 5(35) text-003.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN : BEGIN OF BLOCK 001 WITH FRAME TITLE text-001.
PARAMETERS: p_upl LIKE rlgrap-filename MODIF ID a "Upload File
DEFAULT 'c:\temp\parbmat.xls',
p_werks like t001w-werks MODIF ID a, "Plant
PARAMETERS: p_rest LIKE rlgrap-filename MODIF ID a "Dwonload File Path
DEFAULT 'c:\temp\Success.xls'.
SELECTION-SCREEN : END OF BLOCK 001.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : p_r2 RADIOBUTTON GROUP rad.
SELECTION-SCREEN COMMENT 5(35) text-004.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN : BEGIN OF BLOCK 002 WITH FRAME TITLE text-002.
PARAMETERS : p_plant LIKE marc-werks MODIF ID b. "Plant
PARAMETERS : p_lgort LIKE mard-lgort MODIF ID b. "Storage Location
PARAMETERS : p_vkorg LIKE mvke-vkorg MODIF ID b. "Sales Organization
PARAMETERS : p_vtweg LIKE mvke-vtweg MODIF ID b. "Distribution Channel
SELECT-OPTIONS : s_mat FOR mara-matnr MODIF ID b. "Material No No
SELECT-OPTIONS : s_dat FOR mara-ersda MODIF ID b. "Date on Record Created
PARAMETERS : p_down LIKE rlgrap-filename MODIF ID b
DEFAULT 'c:\temp\Material Master.xls'. "Download File Path
SELECTION-SCREEN : END OF BLOCK 002.
AT SELECTION-SCREEN OUTPUT.
*Inactive Fields depending on the radio button
LOOP AT SCREEN.
IF p_r1 = 'X'.
IF screen-group1 = 'B'.
screen-active = 0.
ENDIF.
ELSEIF p_r2 = 'X'.
IF screen-group1 = 'A'.
screen-active = 0.
ENDIF.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Edited by: suresh suresh on Jul 28, 2009 12:42 PM
Edited by: suresh suresh on Jul 28, 2009 12:42 PM -
Selection screen block is invisable when radiobutton is selected
Hi Experts,
i am sending the my code...........my requerment is : Radiobutton(rb_cdr1) is checked donu2019t show the Fourth & Sixth block and no output files will be generated in those respective blocks. Only Show option a & b in the Fifth block. If the Radio button in unchecked donu2019t show the options a & b in the Fifth block)
if Radiobutton(rb_csr1) donu2019t show the fifth Sixth block . iam try to using loop at scrren and
IF screen-group1 = 's1'.
screen-invisible = '0'.
But it's not working..........plz help me on this........
file download option for dazel system.
SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-h04.
PARAMETERS: rb_dzlcl RADIOBUTTON GROUP gr2 MODIF ID s1,
rb_dzapp RADIOBUTTON GROUP gr2 MODIF ID s1,
p_dzfl TYPE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK b4.
SELECTION-SCREEN BEGIN OF BLOCK b7 WITH FRAME TITLE text-h07.
PARAMETERS: rb_cdr1 RADIOBUTTON GROUP gr5 ,
rb_csr1 RADIOBUTTON GROUP gr5 .
SELECTION-SCREEN END OF BLOCK b7.
Contibution detail report & UNIX File option
SELECTION-SCREEN BEGIN OF BLOCK b5 WITH FRAME TITLE text-h05.
PARAMETERS: rb_cdr RADIOBUTTON GROUP gr3 MODIF ID s1,
rb_loca RADIOBUTTON GROUP gr3 MODIF ID s1,
rb_appl RADIOBUTTON GROUP gr3 MODIF ID s1,
p_flnam TYPE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK b5.
Contibution Summary report & UNIX File option
SELECTION-SCREEN BEGIN OF BLOCK b6 WITH FRAME TITLE text-h06.
PARAMETERS: rb_csr RADIOBUTTON GROUP gr4 MODIF ID s2,
rb_loc RADIOBUTTON GROUP gr4 MODIF ID s2,
rb_app RADIOBUTTON GROUP gr4 MODIF ID s2,
p_fln TYPE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK b6.
Thanks in advance........hi !
try the following one and make some changes that you want
SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-h04.
PARAMETERS: rb_dzlcl RADIOBUTTON GROUP gr2 MODIF ID s1,
rb_dzapp RADIOBUTTON GROUP gr2 MODIF ID s1,
p_dzfl TYPE rlgrap-filename MODIF ID s1.
SELECTION-SCREEN END OF BLOCK b4.
SELECTION-SCREEN BEGIN OF BLOCK b7 WITH FRAME TITLE text-h07.
PARAMETERS: rb_cdr1 RADIOBUTTON GROUP gr5 MODIF ID s3 ,
rb_csr1 RADIOBUTTON GROUP gr5 DEFAULT 'X'.
SELECTION-SCREEN END OF BLOCK b7.
Contibution detail report & UNIX File option
SELECTION-SCREEN BEGIN OF BLOCK b5 WITH FRAME TITLE text-h05.
PARAMETERS: rb_cdr RADIOBUTTON GROUP gr3 MODIF ID s1,
rb_loca RADIOBUTTON GROUP gr3," MODIF ID s1,
rb_appl RADIOBUTTON GROUP gr3," MODIF ID s1,
p_flnam TYPE rlgrap-filename MODIF ID s1.
SELECTION-SCREEN END OF BLOCK b5.
Contibution Summary report & UNIX File option
SELECTION-SCREEN BEGIN OF BLOCK b6 WITH FRAME TITLE text-h06.
PARAMETERS: rb_csr RADIOBUTTON GROUP gr4 MODIF ID s2,
rb_loc RADIOBUTTON GROUP gr4 MODIF ID s2,
rb_app RADIOBUTTON GROUP gr4 MODIF ID s2,
p_fln TYPE rlgrap-filename MODIF ID s2.
SELECTION-SCREEN END OF BLOCK b6.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'S2' or
screen-group1 = 'S1'.
IF rb_csr1 = 'X'.
screen-active = 0.
ELSEIF rb_cdr1 = 'X' .
screen-active = 1.
ENDIF.
ELSEIF screen-group1 = 'S3'.
IF rb_cdr1 eq 'X'.
screen-active = 1.
ELSEIF rb_csr1 = 'X' .
screen-active = 1.
ENDIF.
ENDIF.
MODIFY SCREEN.
ENDLOOP. -
Navigational attribute in selection screen gives no applicable data
Hi Gurus
In the report i am using the navigational attribute in the selection screen.e.g Brand (attribute of material)
My problem is whenevr i enter value in the navigational attribute (brand) in the selection screen and execute its says no data found.
If i do not fill this parameter and fill only the parent attribute (material) in the selection screen , then i can see the results and from its properties (drilling down )i can see the values of brand .
If the values of brand exist why via selection screen its not giving vales, However Via material i can drill down and see brand values.
I have done all the necessary steps to make this attribute as navigational.
On top of this i have this same navigation attributes as one of the characterisitc in the cube.
Thanks
DDHello,
I've the same problem... for new nav. attributes for 0Material.
Settings for nav. attibutes in BEx Q.D. are OK.
But in BEx Analyzer:
1- not display all values for this attributes. Some values are displayed, some don't.
I try display it with and without selection screen. The result is the same.
2- I try to display (normal) attributes - not nav. In this case everything is OK.
But I've 2 columns: normal attribute for all values and nav. attribute only with some values...
(the query is something like: 0Material + 0Material_NOTnav_attr + 0Material_NOTnav_attr)
It isn't a normal...
I don't know... Maybe it's depend of the time?
I can't clear all master data for 0Material, because they're used in some cubes. I had old characteristic without nav. attr. but with master data. I added nav. attr. in 0Material and activated it. Next I load master data (full method). Then I added nav. attr. in infocube, activated it, delete and load data into the cube (Init + Delta).
If I display data for the cube in RSA1, I can see nav. attr. for all records. I can't see it in BEx Analyzer...
Can U explain it?
Thx,
MSzN -
Selection-screen differ from developement to quality
Hi All,
I made one standard report as Z report.In this they used Logical databases.I made the changes in selection-screen by selecting some of the fields as invisible,and i created the request number for the report and i moved it to quality,But there the selection-screen it is displaying the fields which i made as invisible also.I dont want to display these fields.How can i do it. When i check the screen attributes in developemnt and quality the language only differ.it is 'DE' in development and it is 'EN' in quality.I think this wont be the problem for screen it is displaying now. Please help me to resolve this problem as soon as possible.
With Regards,
R.P.SastryHi Charlie,
Thx for this valuable feedback.Just a small question.
I am in LSMW screen in Developement and with the project/subproject/object entered
What I understood is that I need to go to Extras>>Export project..Correct ?
But will it export the entire thing i.e project/subproject/object in the file ? or I need to first goto LSMW workbench menu first then select All project objects which will show me the 3 nodes and then placing cursor on each node I have to export each one..
I hope I have put up my doubt correctly..
In short do I need to export/import each node i.e project/subproject/object separately or the action Extras>>Export will export entire thing ?/
Regards,
Manoj -
Workbook selection screen shown diffent value than its query selection scre
My work book contents only one query.
But the selection screen of work book gives me pop-up as 45.2008 for calweek as default value while my query was showing me 04.2009 is value of my current calendar week.
Regards,
KrunalKrunal,
When you say pop - up, do you mean the variables screen?
Are you saying that the variable has a default value of 45.2008? Is it a Customer Exit / SAP Exit variable or an input variable?
Regards
Gill -
At selection screen output problem when a field is obligatory
Hi All,
I have two radiobuttons on the selection screen and when I select first radiobutton one screen should display and the other should not be displayed and vice-versa. It is working fine if I do not have a mandatory field.I am pasting my code here.Can anyone please help me how to handle this situation when we have some mandatory fields on one of these screens.
TABLES : mara,marc.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS : p_meth1 RADIOBUTTON GROUP g1 USER-COMMAND g1,
p_meth2 RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK matnr WITH FRAME TITLE text-002.
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS : so_matnr FOR marc-matnr MODIF ID m1 obligatory.
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS : so_werks FOR marc-werks MODIF ID m1 .
SELECTION-SCREEN END OF BLOCK matnr.
SELECTION-SCREEN BEGIN OF BLOCK file WITH FRAME TITLE text-003.
SELECTION-SCREEN SKIP 1.
PARAMETERS: p_fpath TYPE ibipparms-path MODIF ID m2 LOWER CASE.
SELECTION-SCREEN END OF BLOCK file.
SELECTION-SCREEN BEGIN OF BLOCK date WITH FRAME TITLE text-004.
SELECTION-SCREEN SKIP 1.
PARAMETERS : p_date TYPE datuv.
SELECTION-SCREEN END OF BLOCK date.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
CASE screen-group1.
WHEN 'M1'.
IF p_meth1 = 'X'.
screen-active = 1.
ENDIF.
IF p_meth2 = 'X'.
screen-active = 0.
ENDIF.
WHEN 'M2'.
IF p_meth2 = 'X'.
screen-active = 1.
ELSE.
screen-active = 0.
ENDIF.
IF p_meth1 = 'X'.
screen-active = 0.
ENDIF.
ENDCASE.
MODIFY SCREEN.
ENDLOOP.
Thanks in advance
SandeepObligatory fields with your requirement will not work, reason : The GUI checks obligatory fields before passing the control back to the program (i.e Before triggering the PAI )
If you check for empty fields and give appropriate error message in the PAI, the program will not allow you to switch to the other radio button until you fill something in the fields because the moment you select a radiobutton, it will validate the field and issue the error message.
So it is like a catch 22 situation.
All you can really do is to check see which radio button is clicked and then do your processing. Also make sure to assign a user command to the radiobutton and query it in the AT SELECTION SCREEN and based on the radiobutton selected, decide which fields should be validated.
" Additon...
INITIALIZATION " Default values
p_meth1 = 'X'.
AT SELECTION-SCREEN. " General PAI
if p_meth1 EQ 'X'.
"validate fields for meth1.
elseif p_meth2 EQ 'X'.
" validate fields for meth2.
endif.
regards,
Advait -
Problem in at selection screen
hai friends,
i have two radio buttons in my selection-screen . one is for application server file and another is for local file.when i select the local file radio button one excel file should get genarated and when i click on appln sever button then the file should b transferred to the applin server(given path).of course these things are working fine.but if i come back to the same sel-screen and again execute the program then i am getting the alv list with double columns(the ccolums which have r getting repeated in my list) and vice-versa.
if u want plz see my code also.
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-000.
SELECT-OPTIONS : s_date FOR ztbukxxin003-z_manufdate NO-EXTENSION.
SELECTION-SCREEN END OF BLOCK blk1.
SELECTION-SCREEN BEGIN OF BLOCK blk3 WITH FRAME TITLE text-006.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_rad1 TYPE c RADIOBUTTON GROUP grp1 USER-COMMAND urad
DEFAULT 'X'.
SELECTION-SCREEN COMMENT 5(15) text-007 FOR FIELD p_lopath.
PARAMETERS: p_lopath LIKE filename-pathintern DEFAULT
'ZS_SESAM_SEND_EDI'.
PARAMETERS : p_lofile LIKE filename-fileintern DEFAULT 'ZTBUKXXIN008'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINe.
PARAMETERS: p_rad2 TYPE c RADIOBUTTON GROUP grp1 .
SELECTION-SCREEN COMMENT 5(15) text-009 FOR FIELD p_file.
PARAMETERS : p_file LIKE rlgrap-filename.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK blk3.
A T S E L E C T I O N - S C R E E N *
DATA : i_mdate TYPE ztbukxxin003-z_manufdate.
AT SELECTION-SCREEN .
Validate manufacture date on the selection screen.
SELECT SINGLE z_manufdate
INTO i_mdate
FROM ztbukxxin003
WHERE z_ndsnum LIKE 'CEA%' AND
z_manufdate IN s_date.
IF sy-subrc NE 0.
MESSAGE 'Enter the date in the format YYYY/MM/DD' TYPE 'E'.
ENDIF.
IF p_rad1 EQ 'X'.
PERFORM get_appl_file USING p_lofile.
ELSEIF p_rad2 EQ 'X'.
PERFORM get_local_file USING p_file.
ENDIF.
of course here if i write the above 5 lines of code in at selection screen on value-request for p_file.then the program not getting executed also.that's why i have wrote everything in at sel-screen only.
i guess the problem is in events only.but i am not able to understand what code can b added adn what code deleted from this.
any solution from anybody.Hi,
Try the below code and see
IF p_rad1 EQ 'X'.
refresh : itab.
PERFORM get_appl_file USING p_lofile.
once u read the file and put in internal table then use clear command and clear the file.
clear : p_lofile
ELSEIF p_rad2 EQ 'X'.
refresh : itab.
PERFORM get_local_file USING p_file.
once u read the file and put in internal table then use clear command and clear the file.
clear : p_file.
ENDIF.
Regards,
nagaraj -
Want to have own selection screen in HR-ABAP report using LDB
Hi experts,
I am working on HR-ABAP report using LDB pnp and infotypes..But, here we get the built in selection criterion..but I want my own selection screen to be displayed..whats the solution for this??? Is it possible to create my own selection screen instead of default one..and how???
Please help me..its very urgent..Hi,
chk this out:
Create Report Categories
In this step, you define the report categories and determine the layout
of the standard selection screen for these report categories. You can
create report categories for programs or queries that are based on the
PNP or PNPCE logical databases.
The definition of report categories is divided into two sections:
o In the Change Report Category view, you define general attributes
such as sort order, input fields for date, and so on.
o In the Change Selection Criteria view, you define which selection
fields of the logical database should be avaliable on the selection
screen.
Example
You want to set up your system so that your employees can only start
evaluation reports for Payroll if they use a payroll area. Within a
payroll area, you should be able to select according to personnel
number. Additional selection criteria should not be possible and you
should not be allowed to enter a sort sequence.
Standard settings
The standard system already contains report categories. You can find the
attributes of the report categories in the table.
Note the following five report categories in particular:
o Report category ' ' is the SAP default report category for
programs that are based on the PNP logical database.
o Report category PNPCE is the SAP default category for programs that
are based on the PNPCE logical database.
o Report category '00000000' is the customer-specific default category
for programs that are based on the PNP logical database.
o Report category '0PNPCE' is the customer-specific default category
for programs that are based on the PNPCE logical database.
o Report category __X2001 is the default category for Queries that
are based on an InfoSet of the PNP LDB.
o Report category QUEPNPCE is the default category for queries that
are based on an InfoSet of the PNPCE LDB.
The default report categories are used when a report is called if
the report has not been assigned a report category.
Parameters and Options for Report Categories of the LDB PNP and PNPCE
Parameters and Options in Screen Area General Data
If you activate this parameter, you can only enter data on the data
selection period if you use reports that have been assigned. The
same date entries are then used for the person selection as for the
date selection.
o Matchcode allowed
If you activate this parameter, you have use of a Matchcode
pushbutton (search help) if you use reports that have been assigned.
This pushbutton enables you to perform the person selection.
o Sort allowed
If you activate this parameter, you have use of a Sort pushbutton if
you use report that have been assigned. This pushbutton enables you
to define a sort order before you execute the report.
o Organizational structure allowed
If you activate this parameter, you have use of an Org.Structure
pushbutton if you use reports that have been assigned. This
pushbutton enables you to perform the person selection.
Note:
For more information about these options, see the online
documentation under this path:
SAP Library -> Human Resources -> Reporting in Human Resources
Management -> Standard HR Reports -> Report Selection Screen in
Human Resources Management.
Parameters and Options in Screen Areas Data Selection Period/Person
Selection Period/Payroll Area/Period/Year
o Options for data selection period and person selection period (key
date and so on)
Here you define which options for date and person selection are
available for reports that have been assigned.
o Options for payroll area/period/year
Here you define which options for selection using payroll
area/period/year are available for reports that have been assigned.
Parameters and Options in Screen Area Selection View
o Type/Name
This parameter enables you to use selection views to define report
categories. You use the selection view selected here to determine
which fields are available in the Dynamic Selectionsy.
Note:
You create selection views for the PNP and PNPCE logical databases
in the Object Navigator (SE80):
1. Start the Object Navigator (SE80)
2. Choose Workbench -> Edit Object.
3. Choose the More... tab page and the Selection view on this tab
page.
4. Choose Create.
5. In the Create Selection View dialog box, choose the For any
tables option.
6. In the Name of view field, enter a name for your selection view.
7. In the Tables dialog box, enter the name of the table from which
you want to use fields.
Note:
When you enter the table name, observe the naming convention in
Personnel Administration:
Infotype number: nnnn -> table name: PAnnnn
8. Choose Continue.
9. In the Functional groups area, define functional groups by
assigning a name and a number.
10. Assign fields from the selected tables to the functional groups
by entering the number of the desired functional group in front of
each field.
11. Save your entries.
For more information about adjusting the dynamic selections using
your own selection views, see the online documentation under the
following menu path:
SAP Library -> Human Resources -> Reporting in Human Resources
Management -> HR Standard Reports -> Report Selection Screen in
Human Resources Management -> Enhancing the Selection Screen -
Dynamic Selections.
If you do not want to offer dynamic selections, make the following
settings:
- LDB PNP: In the Selection view field, enter PNP_NO_FREE_SEL.
- LDB PNPCE: Leave the Selection view field empty.
Parameters and Options in Screen Area Data Selection Period/Person
Selection Period/Payroll Area/Period/Year
o Available input parameters, date or period entry (today, key date,
all, and so on), and standard value.
Using the Standard value option, you define which of the selected
options is shown.
Parameters and Options in Screen Area CE Selection Fields
o CE selection fields (external person ID, grouping reason, grouping
value)
Using the options in this area, you define whether the external
person Id, grouping reason, or grouping value are available on the
selection screen.
Note:
These parameters are only relevant for you if you implement
Concurrent Employment (see also note 517071).
Parameters and Options in Screen Area Selection view
o Dynamic selections as dialog box
If this switch is set, you can call the dynamic selections as a
dialog box.
o Dynamic selections active
If this switch is set, the dynamic selections of the logical
database are active at the start of the report.
Note that the following combinations are possible for the last two
options mentioned:
Dyn.Sel. as dialog box/Dyn.Sel. active: inactive/inactive
Dyn.Sel. as dialog box/Dyn.Sel. active: inactive/active
Dyn.Sel. as dialog box/Dyn.Sel. active: active/inactive
Activities
1. Choose Edit -> New entries.
2. Enter an abbreviation and a long text for the report category.
The customer name range for report categories is 0-9.
3. Select the For the PNPCE logical database checkbox, if you want to
create a report category for a program or for queries of the PNPCE
logical database.
4. In the General Data screen area, choose the desired options.
If you want to use selection IDs, you must have first created and
grouped selection Ids. The IMG path to do this is given in the
parameter description section.
5. In the Data selection period/person selection period or Selection
period screen area, choose the desired options.
6. In the Selection view screen area, choose the desired options.
7. In the CE selection fields screen area, choose the desired (only
possible for report categories of the LDB PNPCE).
8. Save your entries.
9. Choose the subactivity Permitted selection criteria.
10. Choose Edit -> New entries.
11. In the Select option field, use the input help to select each field
that should be available on the selection screen.
12. Select the checkbox in the 1.page column, if you want this selection
field to be available directly when you call the selection screen.
Further notes
13. If you want to copy entries, you still have to enter the selection
parameters again in the subsequent screen.
o If you create the report category '000000000', a selection screen is
generated according to report category '00000000'for all reports for
which a report category has not explicitly been assigned.
Assign Report Categories
In this step, you assign a report category to your reports.
Example
You have created your own report, for example ZPCTEST1, and would like
it to have the selection screen that corresponds to that of the
evaluation report for Payroll, which is assigned to report category
'__M00001'.
Assign report category '__M00001' to the report.
Requirements
You must have defined the Report Categories.
Standard settings
SAP Standard Reports:
In the standard system, reports are assigned a report category. If you
want to override these assignments, perform the activities described
here. If you want to assign report categories to standard reports using
SE38, this represents a modification.
Customer-Specific Reports:
For reports you have developed yourself, you can either assign report
categories by performing the activities described here or directly in SE38.
Recommendation
Only assign a report category if you have created your own reports or if
the selection screens in the standard system do not meet your
requirements.
Activities
1. Choose Edit -> New entries.
2. Perform the required assignment using the Program name and Report
category fields.
3. Save your entries.
reward if helpful
regards,
madhumitha -
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 -
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. -
How to remove multiple selections button in LDB selection screens
Hi Friends,
I am facing a problem while doing an HR object. I took an LDB with Selection screen '100'. i got the company code select-option in it. But i need to avoid multiple selection button so that i have to take only a single company code to print the ALV heading as the company Text. Please tell me quickly, how can i do it.
Regards,
Santosh.You may have to do something like below where S_BUKRS is your company code select option of the LDB.
REPORT zakstest1 NO STANDARD PAGE HEADING.
TABLES t001.
TYPE-POOLS: sscr.
SELECT-OPTIONS s_bukrs FOR t001-bukrs.
INITIALIZATION.
*-- Remove the the ranges option
PERFORM remove_ranges_for_sel_options.
*& Form remove_ranges_for_sel_options
* text
FORM remove_ranges_for_sel_options.
DATA: optlist TYPE sscr_opt_list,
restrict TYPE sscr_restrict,
*** TYPE sscr_***.
*-- Allow EQ only
CLEAR optlist.
optlist-name = 'EQ_ONLY'.
optlist-options-eq = 'X'.
APPEND optlist TO restrict-opt_list_tab.
CLEAR ***.
***-kind = 'S'.
***-sg_main = 'I'.
***-sg_addy = 'N'.
*-- Make S_BUKRS range to have only EQ
***-name = 'S_BUKRS'.
***-op_main = 'EQ_ONLY'.
APPEND *** TO restrict-***_tab.
CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
EXPORTING
restriction = restrict
EXCEPTIONS
too_late = 1
repeated = 2
selopt_without_options = 3
selopt_without_signs = 4
invalid_sign = 5
empty_option_list = 6
invalid_kind = 7
repeated_kind_a = 8
OTHERS = 9.
ENDFORM. " rem_ranges
Maybe you are looking for
-
SAP R/3 got stopped with ORA-01034 error
Hi all, My SAP R/3 4.7,got stopped, and i am getting ORA-01034: Oracle not available ORA-27101: Shared memory relam does not exists, what are the steps i have to follow to make my R/3, with which user ID i have to log-in to oracle and what are the th
-
Consoles in AS 10.1.2
I'm restarting a server that was used by another person and i have been able to get up and running the infrastructure and the middle tier, however for some reason i cant get into the Database Control Console i have looked under the install folder in
-
Hello, I have 3 apple tv's 3rd generation connected to wifi. I also have 3 airport express being used as extenders to boost the signal in my house. My question is would I get a faster connection if I connected a apple tv to a airport express via ethe
-
Where are the xml files for code generator of MSAHH5?
I'm generating source files for MSAHH5 and in the source code I can find xml files for generating all entities and DAL for those entities but I can't find anywhere files for MSATableConstants.xsl and MSAPersistanceManager.xsl and if I leave them alon
-
CL_SMTP_RESPONSE ESMTP error code is not known.
Hi All, I am facing an issue in IB, when ever i am triggering a reprot in IB which executes sucessfuly but gives a error msg in SOST tcode as below Message no. XS829 Internal error: CL_SMTP_RESPONSE ESMTP error code is not known. Diagnosis An error o