Want to trigger at selection screen on 'X' using mouse click event.
I've designed a report which has two radiobuttons i would to like change the selection screen depends on the selection of the button as of now i'm selecting the button and hitting enter so that at selection screen on radiobutton group triggers.but for more user friendly I would like trigger as soon as i click on the button. Is it possible to do this?
cheers
Anand
Hi,
all the selection screen elements which u want to be appearing on the screen during one radio button should be declared as:
SELECTION-SCREEN BEGIN OF BLOCK b_2 WITH FRAME TITLE text-001.
*PARAMETERS: rb_img RADIOBUTTON GROUP rad1.
PARAMETERS: p_from like bkpf-bldat modif id gr2,
p_to like bkpf-bldat modif id gr2.
SELECT-OPTIONS: s_arobj FOR toa01-ar_object modif id gr2.
SELECTION-SCREEN END OF BLOCK b_2.
SELECTION-SCREEN BEGIN OF BLOCK b_3 WITH FRAME TITLE text-001.
*PARAMETERS: rb_invo RADIOBUTTON GROUP rad1.
SELECT-OPTIONS: s_bukrs FOR bkpf-bukrs modif id gr1,
s_belnr FOR bkpf-belnr modif id gr1,
s_gjahr FOR bkpf-gjahr modif id gr1,
SELECTION-SCREEN END OF BLOCK b_3.
AT SELECTION SCREEN
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'GR1'.
IF RB_INVO = SPACE.
SCREEN-ACTIVE = 0.
ELSE.
SCREEN-ACTIVE = 1.
ENDIF.
MODIFY SCREEN.
ELSEIF SCREEN-GROUP1 = 'GR2'.
IF RB_INVO = C_X.
SCREEN-ACTIVE = 0.
ELSE.
SCREEN-ACTIVE = 1.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Hope this helps you.
Regards,
Anjali
Similar Messages
-
Selection screen validation when using PNP LDB
Hi guys,
I want to validate my selection screen parameters.Thats is if somebody wants to run the program without giving any input parameters to the selection screen(trying to run the report with a blank screen) I want to pop up an error/information message so that it will return the selection screen.I am using PNP Logical database for my selection screen.Please help.Thanks in advance.
Thanks,
Karthik.Welcome to SDN.
If you are using PNP logical data base then validating the fields will be little tricky...
You canc check all the other fields in START-OF-SELECTION and if they are empty return eroor. Remember all the field s on the scree... so I will suggest you to choose HR report Category accordingly.
Also,when it comes to date field then you need to check for the start and end dates rather than blank fields as SAP defaulted them to system start and end date.
Still, I will prefer to create a HE Report Category for the PNP database and use the screen while validating....that will be easy... -
Selection screen - Background submit using JOB_SUBMIT
Hello friends,
I am using 2 reports , say report 1(R1) and report 2(R2).
I am getting a particular value in selection screen from R2 and based on that value I am submitting the report R1 in background using JOB_OPEN,JOB_SUBMITand JOB_CLOSE. Now i want the values from selection screen of R2 which is similar to selection screen of R1 to be populated and the execution to take place .If i use SUBMIT / SUBMIT VIA selection screen Background processing is not possible.thats why I used JOB_OPEN,JOB_SUBMITand JOB_CLOSE.Hope there is no ambigutity in my question.
Regards,
K.Sibi
Edited by: sibi k kanagaraj on Mar 31, 2009 2:00 PMHello,
What you can do is use job_open , job_submit and before job_close use submit via selection screen and return .
Hope this helps!
Viquar Iqbal -
How can I capture mouse click events on BSP or Web Dynpro ABAP Screen
hi Guys,
Currently we have a user inactivity problem,
the requirement is: if user is clicking on BSP/Web Dynpro ABAP screen, he/she is considered active. so we need an mechanism to capture the mouse click event.
Using Firebug, we found that this js is in the iframe which contains BSP/web dynpro scrren: /sap/public/bc/ur/nw5/js/languages/urMessageBundle_en.js
we want to find this js file & put in some javascript code to track user's mouse click, but i cannot find it on server.
while in ie if we type http://host:port/sap/public/bc/ur/nw5/js/languages/urMessageBundle_en.js
this file can be downloaded, means this file is there.
Any one can help on this issue? find the js file or another way to capture the mouse click event.
Thanks a lot with points!Hi Feng Guo,
We can not capture mouse click events on Web Dynpro ABAP Screen . I am not sure about BSP. But as for as I know the portal keep active the iViews until unless mouse clicks happens.
But for your problem I think you can get solution by setting iView Expiration to some more time period.
Regards,
Siva -
I went to import special characters in imovie '11 and now the character window comes up on every application, yet won't open in iMovie at all, it flashes across every screen on each key/mouse click, stops the other software from running, and won't shut off, ever.
Try trashing the .plist in Home/Library/Preferences which has CharacterPalette in its name.
-
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 -
Selection screen , how can i update in event ?
i use : AT SELECTION-SCREEN ON VALUE-REQUEST FOR zw_lfd1.
in this event i want to update another parameter , is it possible and how ?Yes it is. Please implement the following example program. Do F4 help on the company code, the rest will be filled in.
report zrich_0002 .
parameters: p_bukrs type t001-bukrs,
p_butxt type t001-butxt,
p_ort01 type t001-ort01,
p_land1 type t001-land1.
data: dynfields type table of dynpread with header line.
data: return type table of ddshretval with header line.
at selection-screen on value-request for p_bukrs.
call function 'F4IF_FIELD_VALUE_REQUEST'
exporting
tabname = 'T001'
fieldname = 'BUKRS'
dynpprog = sy-cprog
dynpnr = sy-dynnr
dynprofield = 'P_BUKRS'
tables
return_tab = return
exceptions
field_not_found = 1
no_help_for_field = 2
inconsistent_help = 3
no_values_found = 4
others = 5.
read table return with key fieldname = 'P_BUKRS'.
* Add it back to the dynpro.
dynfields-fieldname = return-retfield.
dynfields-fieldvalue = return-fieldval.
append dynfields.
* Get the company code from db and add to dynpro
data: xt001 type t001.
clear xt001.
select single * into xt001
from t001
where bukrs = return-fieldval.
dynfields-fieldname = 'P_BUTXT'.
dynfields-fieldvalue = xt001-butxt.
append dynfields.
dynfields-fieldname = 'P_ORT01'.
dynfields-fieldvalue = xt001-ort01.
append dynfields.
dynfields-fieldname = 'P_LAND1'.
dynfields-fieldvalue = xt001-land1.
append dynfields.
* Update the dynpro values.
call function 'DYNP_VALUES_UPDATE'
exporting
dyname = sy-cprog
dynumb = sy-dynnr
tables
dynpfields = dynfields
exceptions
others = 8.
start-of-selection.
Regards,
Rich Heilman -
Selection screen parameter validation using search help/check table
Hi experts,
I have a select-option that is tied to a search help and check table (type tq80-qmart). Is there a way to automatically validate the field based on what comes up in the F4 search help? What I mean is, when the user hits F4 on the parameter, the list pops up with several records that the user can choose. When the program is executed, I want the program to show an error if the value is NOT in that F4 list.
I know this can be done in AT SELECTION SCREEN event with a select, but I was wondering if there was a way ABAP does it automatically. Any help will be greatly appreciated.
Thanks,
JuanHello Juan,
SAP does have a standard way of allowing the the user to select from the list via LISTBOX.
But list box is restricted to parameters only, you cannot attach list boxes to select-options.
I think the best place to do this validation would be th AT SELECTION-SCREEN event & from your original post it seems you know what code to write -
Selection screen to appear when user clicks on radio button
hi
i have severla radio buttor in a radio button group
i want that whne user clicks on first radio butter selection scren 1 eg as below to apper
when use clicks on radio buton2 selection scree2 will appear please suggest
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE
text-008
PARAMETER : fyr2_fy type FIMC-RYEAR default 2008,
fyr2_cg type FIMC-CGYEAR default 2008,
fyr2_bk type FIMC-PERID default 7.
SELECTION-SCREEN END OF BLOCK B1.
regards
aroraHi,
At selections screen on that radiiobutton group.
if radio_button1-status = 'X' (Active)
call screen 'scereen number' or set screen 'nuymber'.
else.
call screen...
endif.
Reward if helpful.
Best Wishes,
Chandralekha -
Can i get multiple records if selection screen is 900 using PROVIDE
Hi All,
Iam using following statement for fetching MULTIPLE records from infotype 0008. In Attributes if i declare LDB as pnp and selection screen as 900, then iam not getting any records.
Instead of th selection screen 900 is empty. then records will getting properly.
How can i get multiple records if selection screen is 900?
PROVIDE * FROM p0008
between pn-begda and pn-endda.Hi Ranjith
You can use
PYBEGDA and PYENDDA instead of PN-BEGDA AND PN-ENDDA.
Regards
Muneer.VK -
Use mouse click trigger option more than once?
Hi, is there some way to use the "mouse click" trigger option more than once in the project? I am trying to build a menu button animate where the users click the (menu grid icon) once, and it transforms into the (x icon) and stays there until they click it again ONCE to change it back to the (menu grid icon). Other trigger actions aren't ideal, and I find that if I used the "double mouse click", the response gets a bit messy as clicking once would replay the whole sequence again. Thanks!
At CreationComplete make a var as:
button = -1;
At click event of the button write:
if (button == -1){
sym.getSymbol("nmnmnmn").play("xicon"); // if you have a trigger in timeline to make this action that you want
button++;
else {
sym.getSymbol("nmnmnmn").play("returnedicon");
button = -1;
Somehow like the above you'll have to do it.
Or else you can use boolean , TRUE/FALSE -
Left and right side of screen does not register mouse clicks.
The left and right side of my screen (when maximized) does not register a mouse click. I would estimate about 10 to 15 pixels in (top to bottom) before a button will register a click.
If I work with in firefox not maximized everything works fine. As it stands I have had to add buttons to the left and right side of my Firefox navigation area to utilize the back and home button. I am also not able to use my scroll bar do to this situation with out connecting an external mouse.
Operating system: Windows 7 Professional (64bit)
Resolution 1280x800
Computer: HP TouchSmart tm2 (1070us series)
This laptop does have the touchpad type mouse, I do not think this is the problem though as it will work if firefox is not maximized.
Assistance with this would be appreciated. I Love firefox but this is to much of an annoyance to deal with continually.Not sure if its ever overheated... I've never left it in a hot car if thats what you mean. Sometimes it gets very hot if I'm using EDGE for a while. I don't push hard which is why I don't think I caused it...
I will bring it in this weekend and see what they say.
I also think that the speakerphone sounds fuzzy and muffled a lot more than it did when I first bought it. So just another reason to bring it in. -
Clear selection screen fields on using value help on another field
Hi Experts,
I have 3 fields - reason1, reason2, reason3.
Now i want to clear fields reason2 and reason 3 when i use value help for reason1.
How do i go about it.
Thanks & Regards
Gaurav Kumar RaghavHi,
You use the function module 'DYNP_VALUES_UPDATE', here is a code extract showing its use..
*& Form f4_laufd
form f4_laufd .
data: ls_laufk type ilaufk,
lt_laufk type table of ilaufk.
ls_laufk-laufk = space.
ls_laufk-sign = 'I'.
append ls_laufk to lt_laufk.
call function 'F4_ZAHLLAUF'
exporting
f1typ = 'D'
f2nme = 'F110V-LAUFI'
importing
laufd = p_laufd
laufi = p_laufi
tables
laufk = lt_laufk.
perform set_selection using 'P_LAUFI' p_laufi.
endform. " f4_laufd
*& Form set_selection
form set_selection using value(i_field)
i_value.
data: ls_dynpfld type dynpread,
lt_dynpfld type table of dynpread.
ls_dynpfld-fieldname = i_field.
ls_dynpfld-fieldvalue = i_value.
append ls_dynpfld to lt_dynpfld.
call function 'DYNP_VALUES_UPDATE'
exporting
dyname = sy-repid
dynumb = sy-dynnr
tables
dynpfields = lt_dynpfld.
endform. " set_selection
Darren -
Select any value with CTRL + mouse click
Hi all,
since ERP 6.0 and SAP GUI 6.40 I am used to be able to select any value in any input or display field (e.g. the name of a field of a table in transaction SE11) via holding down the CTRL key while clicking onto the desired value/field once. Then the whole value/string is selected.
Now I am working on a freshly installed system but I can't find this setting anywhere. It does work to select a word within the ABAP source code editor, but not for any other, "normal" input fields.
Any ideas where I can set this?
Kind regards, MatthiasHave a look at the last button on the right of the application toolbar. Button looks like monitor with test screen. Click it and use options.
-
Selecting listbox item with right mouse click
Hi,
I have a listbox control with non editable items. Is there an easy way to select an item with a right mousebutton click (Like the left click)
Solved!
Go to Solution.Create an Event structure and generate an event on the Mouse Down? event. Then use the Button terminal to determine if the right button was pressed. If it was then set the value of that listbox to the row that the mouse is over. You can do this using the invoke node Point to Row.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
Maybe you are looking for
-
I am in the process of upgrading from Premiere Elements 2.0 to Premiere Elements 7, and also from Windows XP to Windows 7. I have XP on one hard drive, and Windows 7 on another. I've installed Premiere Elements 7 on the Windows 7 disk. When I creat
-
Error while saving: Dynprooutput without connection to user
Hello experts, I have following problem: While creating an sales order, I've implemented a badi which gives me a popup (POPUP_FOR_INTERACTION) if the customer has some longtext. The popup is working fine, but when I save this order, I get error in sm
-
Elements 9's PhotoMerge crashes with Mac OS 10.9.2
In attempting to use any sort of PhotoMerge functions in PS Elements 9 on my Mac results in the program immediately crashing, regardless of what I attempt to do. I have successfully used PhotoMerge, but never had this happen before -- until now, afte
-
Migration Assistant not finding my new iMac
I had a VERY slow MA process going from old iMac to new iMac. So I did a little research and apparently it was so slow because by default I was getting a wireless process. So I turned off the Airport on the old iMac and conncected the machines with
-
A newbie seeking help... hard drive
I recently took my computer to the apple store and was told that my main hard drive on my powermac g4 went out(western digital 800BB 80gb). I am looking for a replacement but i am completly overwhelmed by all the different harddrives that are out the