Two selection screen problem in one report
i have a two selection screens 1000 & 2000 in single report , which needs to be executed one after the other ,
the problem is when i execute second selection screen(2000) , the cursor is going back to at-selection-screen once again.
but i need to trigger start-of-selection directly after executing second selection screen,
the first selection screen 1000 will be executed with the help of select options..
the sample code is below .
at-selection-screen.
perform validations.
call selection screen 2000.
at selection screen on value request p_adm
start-of-selection.
main logic
Moderator message - Cross post locked
Rob
Similar Messages
-
Submit selection screen options of one report to another report
hi ,
My requirement is as follows . i have a report with a selection screen .The report fetches data from a ztable according to multiple parameters and select options in the selection screen. The mandatory parameters are two diffrent dates according to which the data is fetched. If one of the dates is the CURRENT date then the data to be fetched is not present in the Ztable as the data is updated daily at midnight. What is required if the user enters the current date in one of the dates then my report should save the selection screen parameters present in therest of the select options and submit these parameters to the second report which updates the data into the table so that my report can fetch it accordingly. If i am getting a bit confusing i am sorry . This is the best i could explain .If any clarififcations are required please ask. Please could u help me with this problem and guide me how to do this . Thanks in advances and helpful answers will be rewarded.Hi,
When you start an executable program, the standard selection screen normally appears, containing the selection criteria and parameters of both the logical database connected to the program and of the program itself. When you start an executable program using SUBMIT, there are various additions that you can use to fill the input fields on the selection screen:
SUBMIT... [VIA SELECTION-SCREEN]
[USING SELECTION-SET <var>]
[WITH <sel> <criterion>]
[WITH FREE SELECTIONS <freesel>]
[WITH SELECTION-TABLE <rspar>].
Ex.
The following executable program (report) creates a selection screen containing the parameter PARAMET and the selection criterion SELECTO:
REPORT REP1.
DATA NUMBER TYPE I.
PARAMETERS PARAMET(14).
SELECT-OPTIONS SELECTO FOR NUMBER.
The program REP1 is called by the following program using various parameters:
REPORT REP2 NO STANDARD PAGE HEADING.
DATA: INT TYPE I,
RSPAR LIKE RSPARAMS OCCURS 10 WITH HEADER LINE.
RANGES SELTAB FOR INT.
WRITE: 'Select a Selection!',
SKIP.
FORMAT HOTSPOT COLOR 5 INVERSE ON.
WRITE: 'Selection 1',
/ 'Selection 2'.
AT LINE-SELECTION.
CASE SY-LILLI.
WHEN 4.
SELTAB-SIGN = 'I'. SELTAB-OPTION = 'BT'.
SELTAB-LOW = 1. SELTAB-HIGH = 5.
APPEND SELTAB.
SUBMIT REP1 VIA SELECTION-SCREEN
WITH PARAMET EQ 'Selection 1'
WITH SELECTO IN SELTAB
WITH SELECTO NE 3
AND RETURN.
WHEN 5.
RSPAR-SELNAME = 'SELECTO'. RSPAR-KIND = 'S'.
RSPAR-SIGN = 'E'. RSPAR-OPTION = 'BT'.
RSPAR-LOW = 14. RSPAR-HIGH = 17.
APPEND RSPAR.
RSPAR-SELNAME = 'PARAMET'. RSPAR-KIND = 'P'.
RSPAR-LOW = 'Selection 2'.
APPEND RSPAR.
RSPAR-SELNAME = 'SELECTO'. RSPAR-KIND = 'S'.
RSPAR-SIGN = 'I'. RSPAR-OPTION = 'GT'.
RSPAR-LOW = 10.
APPEND RSPAR.
SUBMIT REP1 VIA SELECTION-SCREEN
WITH SELECTION-TABLE RSPAR
AND RETURN.
ENDCASE.
Regards,
Bhaskar -
Getting two selection screen in one report
Hello Friends,
I am Making report, In my report on first screen i have given two pushbutton, like this :
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
PARAMETERS : p1_but RADIOBUTTON GROUP g1,
p2_but RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF BLOCK b2.
now i want when user click on any one pushbutton it shows another selection screen, whose select options are:
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
SELECT-OPTIONS: so_erdat FOR lf_date,
so_vbeln FOR lf_vbeln MATCHCODE OBJECT zvbeln..
SELECTION-SCREEN END OF BLOCK b1.
Please guide me can i use two selection screen in one report?, If yes then how can I use? Please revert back me as soon as possible.........Hi,
you can achieve it only by using two USER_DEFINE_SELECTION SCREEN.
For detail check the link
http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dba83d35c111d1829f0000e829fbfe/content.htm
Regards,
anirban -
Print Selection Screen Parameters in ALV report only once
Does anyone know how to print the selection screen within a ALV report.
I've tried everything. I have the code to capture the selection parameters into a internal table. I can use top_of_page but I only want it printed once.Hi,
If you have captured the selection screen entries in an internal table, then you could display it once by using the BLOCK LIST ALV.
Check the function module.
REUSE_ALV_BLOCK_LIST_DISPLAY
Using this function module more than 1 alv could be display in the report.
In our case ..there will be two alvs ...one for the selection screen n other for the main report output.
Check the following example on the block List ALV....
<b>BALVBT01</b>.
Regards,
Vara -
Selection screen fields order in report painter report..
hi experts,
i have a problem with selection screen fields order in report painter report.
Actually in report painter report selection screen order is different compare to report writer report selection screen.
how should i get the same selection screen fields order For Report painter report compare to Report Writer report ?
For example, Report Writer selection screen order is:
ledger:
company code:
period:
current fiscal year:
previous fiscal yer:
previous quarter end period:
where as Report Painter selection screen order is:
ledger:
previous fis year:
current fis year:
company code:
period:
previous quarter end period:
please help me regarding with this.
Thanks and Regards,
NAGARJUNA.hi nagarjun,
Go to Sq01, select the query and goto to change mode.go to the next screens till u reach Selection fields. Here u enter the NO field in the sequence which u want ot appear in the selection screen and it is done. Save and execute.
Ex:
Selection fields No
Exclude Cancelled Lots 5
Material number 1
Plant 2
Material type 3
Inspection Lot Origin 4
Regards,
Lokesh -
Two different condition types in one report
Hello,
i have a problem with the conditional display of a report.
I want to use two different condition types for one report.
For example I want to show the report only when the page is not in printer friendly mode and when the value of an item is NULL.
Is that possible?
Has anyone a solution for this problem?
Thank you,
TimTim,
you can use
IF V('PRINTER_FRIENDLY') = 'YES' AND :P1_ITEM IS NOT NULL THEN RETURN FALSE;
ELSE RETURN TRUE;
END IF;
in the Conditional Display picking PL/SQL Function Body returning a Boolean.
Denes Kubicek -
REPORT PAINTER - Add a field to a selection screen to a CUSTOM REPORT
Hi,
I'm trying to add a field to a selection screen to a CUSTOM REPORT that has been made in REPORT PAINTER (Y_DVL_xxxxxxx). How should I proceed to do so?
Thanks a lot,
JulienHi Julien Girard ,
Could you please check the below link :
http://help.sap.com/saphelp_erp2005/helpdata/en/56/32e339b62b3011e10000000a11402f/frameset.htm
Regards,
S.Manu. -
Help on having TWO selection screen in one report
Hi experts,
I do not know if this can be done. I need to have 2 selection screen. The first selection screen will get all the values from the database table based on the inputs.
After the user select the values already, it will do a database quay after which it will go to another selection screen for user to make further selection and after which it will display the results.
So i am wondering can this be done. And how do i do it?
Thanks!
LawrenceHi,
I getting the below code while browsing
===========================================
REPORT ztest.
TABLES : mara ,
t001 ,
t001w .
CONSTANTS : c_yes TYPE c VALUE '1' ,
c_no TYPE c VALUE '0' .
PARAMETERS : p_opt1 TYPE c RADIOBUTTON GROUP radi USER-COMMAND op1 ,
p_opt2 TYPE c RADIOBUTTON GROUP radi ,
p_opt3 TYPE c RADIOBUTTON GROUP radi .
SELECT-OPTIONS : s_mara FOR mara-matnr MODIF ID op1 , "Material
s_bukrs FOR t001-bukrs MODIF ID op2 , "Company Code
s_werks FOR t001w-werks MODIF ID op3 . "Plant
AT SELECTION-SCREEN OUTPUT .
LOOP AT SCREEN .
IF screen-group1 = 'OP1' .
IF p_opt1 = 'X' .
screen-invisible = c_no .
screen-active = c_yes .
ELSE.
screen-invisible = c_yes .
screen-active = c_no .
ENDIF.
MODIFY SCREEN .
ENDIF.
IF screen-group1 = 'OP2' .
IF p_opt2 = 'X' .
screen-invisible = c_no .
screen-active = c_yes .
ELSE.
screen-invisible = c_yes .
screen-active = c_no .
ENDIF.
MODIFY SCREEN .
ENDIF.
IF screen-group1 = 'OP3' .
IF p_opt3 = 'X' .
screen-invisible = c_no .
screen-active = c_yes .
ELSE.
screen-invisible = c_yes .
screen-active = c_no .
ENDIF.
MODIFY SCREEN .
ENDIF.
ENDLOOP.
======================= -
Report with two selection screen
Hi,
I have one requirement for report.
When we execute the report then it should have two parameter (sales org, document number)
After pressing F8 it should display another screen or same screen with display customer name, city for that document and screen should have 2 more parameters (New customer kunnr).after pressing F8 program functionality should work.
Please suggest.please create 2 reports as given below.-
REPORT ZSZP_00007.
parameters a(5) .
parameters b(5) .
parameters c(5) .
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'A' or screen-name = 'B' .
get parameter id 'aaaaaaaaaaa' field a.
get parameter id 'bbbbbbbbbbb' field B.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
start-of-selection.
your logic
REPORT zszp_00005.
PARAMETERS a(5).
PARAMETERS b(5).
START-OF-SELECTION.
SET PARAMETER ID 'aaaaaaaaaaa' FIELD a.
SET PARAMETER ID 'bbbbbbbbbbb' FIELD b.
your logic
SUBMIT zszp_00007 VIA SELECTION-SCREEN.
i hope this approach will solve your problem.
thanks
Swanand -
Problem in multipule selection screens in a single report.
Hi experts,
I have created one report with multiple selections screen. There i am using Layouts for each screen. The problem is whenever i press F4 in layout fields it is going to display all variants, bcoz the program name is same,so how can i segregate the variants for particular selection screen. Please suggest how to do. send the code if you have.
Thanks and regards,
Pavan.check out the following documentation. use handle or logical group. you can provide any 4 char field to screen 1 and for screen 2 then fill the same when you press F4
A variant is identified uniquely by:
the program to which it is assigned (REPORT)
the handle if, e.g. several lists with various structures and data are called (HANDLE) in a program (I_CALLBACK_PROGRAM)
The handle is a unique user-assigned CHAR(4) field, which assigns the call to the current internal output table structure.
Example:
Various lists can be output in program x, depending on a user action.
Display variants are to be able to be defined for each of these lists.
This functionality is guaranteed by assigning a HANDLE for each list. If variants are saved for this program and handle, the handle must not change.
the logical group if, e.g. the same list is made with different settings (LOG_GROUP) via different transactions
The logical group is a unique user-assigned CHAR(4) field which determines the assignment.
Example:
The program x is called via the transactions T1 and T2. The field catalog fields offered to the user vary depending on the transaction code by assignment to logical groups.
If variants are saved for the program and logical group, the logical group must not change.
the user name, if variants are saved user-specifically (USERNAME)
This parameter is never entered manually as the variant name is unique.
the variant name (VARIANT).
This parameter is only to be entered if a particular variant is to be read and the list is to be output with this variant via this structure. -
Report Selection Screen Problem
hi..
I created a report in which the selection texts of my program had been defined,but when i
had transported it to the PRD Server ,it is not displaying the text which i had specified
in the report for the selection screen.
but after transporting it i again check in the DEV Server
It is still displaying the Texts which i had specified ............
I want to know the reason why it is happening? Can anybody tell me reason for it and provide
guidelines in solving it...it is because you did't save your text along with your report transport request.
just move your treansport request to PRD also in which your text is there.
check version of text goto>text element>selection text>utilities>take the transport request which shown here and move this to PRD also. -
[Background:]
(1)There are two parameters in a radio button group.
One is P_SCREEN,it means display report on screen
and another is P_FILE,it means output report into a file.
(2)There is a parameter P_NTFILE, use it to indicate output file path.
[Target:]
(1)After the selection-screen built,
If the P_FILE is checked,P_NTFILE should be enable.
If the P_SCREEN is checked,P_NTFILE should be disable.
[Code:]
Parameter in Block2
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: P_SCREEN RADIOBUTTON GROUP R1. " Screen output
SELECTION-SCREEN COMMENT 04(21) TEXT-001.
SELECTION-SCREEN POSITION 32.
PARAMETERS: P_FILE RADIOBUTTON GROUP R1. " NTFILE output
SELECTION-SCREEN COMMENT 35(17) TEXT-002.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B2.
Parameter in Block3
SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME.
PARAMETERS: P_NTFILE(45) TYPE C LOWER CASE OBLIGATORY MODIF ID SC1.
P_PCFILE LIKE RLGRAP-FILENAME OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B3.
*& AT SELECTION-SCREE
AT SELECTION-SCREEN.
IF P_SCREEN = 'X'.
FLAG = 0.
ENDIF.
IF P_FILE = 'X'.
FLAG = 1.
ENDIF.
*& AT SELECTION-SCREE ON <FIELD>
AT SELECTION-SCREEN ON RADIOBUTTON GROUP R1.
IF P_SCREEN = 'X'.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'SC1'.
SCREEN-INPUT = FLAG.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
IF P_FILE = 'X'.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'SC1'.
SCREEN-INPUT = FLAG.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
[Problem:]
P_NTFILE can not refresh between enable and disable status.
Anyone can help me?*& Report Z_JAGANOBJECT *
REPORT Z_JAGANOBJECT line-count 0(1) .
Tables sscrfields.
*--parameters--
SELECTION-SCREEN BEGIN OF BLOCK RB1 WITH FRAME TITLE new.
selection-screen :skip 2.
PARAMETERS : cmp_name(10) type c,
imp_code(5) type n,
exp_cmp(10) TYPE c,
Exp_mtrl(10) TYPE c.
------------------------radi button---------------------
SELECTION-SCREEN BEGIN OF BLOCK RB WITH FRAME TITLE text.
selection-screen: skip 1.
PARAMETERS : Import RADIOBUTTON GROUP RB user-command usr,
Export RADIOBUTTON GROUP RB DEFAULT 'X'.
SELECTION-SCREEN END OF BLOCK RB.
SELECTION-SCREEN END OF BLOCK RB1.
*--push button--
SELECTION-SCREEN PUSHBUTTON /40(20) SAVE USER-COMMAND STORE.
DATA : FLAG TYPE I.
*--internal tables--
data : begin of itab occurs 0,
cmp_name(10) type c,
imp_code(5) type n,
end of itab.
data : begin of itab1 occurs 0,
exp_cmp(10) TYPE c,
Exp_mtrl(10) TYPE c,
end of itab1.
*--initalisaton--
INITIALIZATION.
save = 'store'.
text = ' Type '.
new = ' Import- Export details'.
*--selection screen--
AT SELECTION-SCREEN.
case SSCRFIELDS-ucomm.
when 'STORE'.
FLAG = '1'.
if import = 'X'.
itab-cmp_name = cmp_name.
itab-imp_code = imp_code.
append itab.
clear itab.
endif.
if export = 'X'.
itab1-exp_cmp = exp_cmp.
itab1-Exp_mtrl = Exp_mtrl.
append itab1.
clear itab1.
endif.
ENDcase.
*--selection screen output--
AT SELECTION-SCREEN OUTPUT.
IF export = 'X'.
LOOP AT SCREEN.
IF SCREEN-NAME = 'CMP_NAME' OR SCREEN-NAME = 'IMP_CODE'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
elseIF import = 'X'.
LOOP AT SCREEN.
IF SCREEN-NAME = 'EXP_CMP' OR SCREEN-NAME = 'EXP_MTRL'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
end-of-selection.
LOOP AT ITAB.
WRITE : /10 itab-cmp_name, 30 itab-imp_code.
ENDLOOP.
LOOP AT ITAB1.
WRITE : /10 itab1-exp_cmp,50 itab1-exp_mtrl.
ENDLOOP.
hope its useful,
reward points if its useful
regards
vijay -
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 -
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 -
RE:HR-ABAP 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.You should be using a selection view (HR Report Category in the programs attributes) to filter results from the LDB.
Why is this in the objects forum?
Maybe you are looking for
-
Qosmio G20 - Unmountable Boot Volume
Hi All On booting my G20 I get the standard Windows XP screen, then a vile blue screen of death, then an even more hideous "unmountable boot volume" message. The Systems recover disk is not an option since it wants to wipe clean the entire drive. Is
-
To get f4 help for salesperson field ,transaction me21n & me22n
Hi Super-Techies, I am a new-bie in the world of enhancement. The reuirement here is I need to create a custom table with 1 field (prep_name). (This is done) Now the reuirement is that whenever user goes to transaction ME21N/ME22N, he wants me to add
-
How can I get photos from my IPhone6 to automatically go to my IPad and Apple Mac computer
How can I get photos to automatically go to my IPad and Apple Mac Computer from my I Phone 6 Thank you, jenjon63
-
Vimperator does not open links in new tab [SOLVED]
I am using Vimperator. so far so good, and i like it. i have one problem here. when i mark some links with the command ";ab,act", for example, it does not open the links in new tabs. I also use the command f and F to mark the links in a website but c
-
Closing subvi with a button?
Hi all, i have a question here. Well i needs to put in a button in my subvi front panel so that when the button is clicked, the subvi will closed. i needs the subvi to actually save the data during runtime in a configuration file. fyi the 'OK' button