Highly customized JList- change selection logic
I've written a highly customized JList that lays cells out horizontally, wrapping, and is editable. This is presenting a problem with one piece of default JList behaviour that I need to change or remove and install my own functionality.
My JList can appear to have a lot of white space potentially at the right and bottom depending on the number of items and preferred sizes, etc. Well, There is no such thing as a click inside a JList that doesn't register and select something. You can click into what appears to be never-never-land and guess what, it selects the nearest cell. I have better logic I'd like to install for when something gets selected, but how do I get at the default behaviour? What do I remove, override, etc?
Sincerely
Brian
It appears the problem here is in BasicListUI.adjustFocusAndSelection(MouseEvent e). I'm not overly familiar with the UI framework that backs all the Swing components, but my intial guess is that you're in trouble if you need to customize some of the behaviour in BasicListUI?
Your advice is appreciated
Similar Messages
-
Changing the logic to calculate score
Hi!
Score of the KPI(KPI1_TARDEV) is calculated based on some logic. I need to change the logic for some 100 KPIs using command instead of right click on the Variable and then selecting 'Logic' and then editing. This is very difficult beacuse there are more than 100 KPIs for which i need to change the logic.
Is there any command like SET VARIABLE to change the logic to calculate the score?
For example:
Currently all the Achievement KPIs have score calculated based on the formula KPI1_ACT%KPI1_TAR.
I want to change it to
KPI1_TARDEV
IF KPI1_TAR LT 0=(1-KPI1_ACT/KPI1_TAR)*100
IF KPI1_ACT LT 0 AND KPI1_TAR GT 0=(-1+KPI1_ACT/KPI1_TAR)*100 OTHERWISE = KPI1_ACT%KPI1_TAR
can i use command some thing like below?
set vvariable logic KPI1_TARDEV AS
KPI1_TARDEV
IF KPI1_TAR LT 0=(1-KPI1_ACT/KPI1_TAR)*100
IF KPI1_ACT LT 0 AND KPI1_TAR GT 0=(-1+KPI1_ACT/KPI1_TAR)*100 OTHERWISE = KPI1_ACT%KPI1_TAR
Thanks
PraveenHi Praveen,
I was faced with a similiar situation, please search the SSM forum for this thread: "Customer exit - Cube Builder SSM".
Read the whole thread.
Thanks,
Tsholo. -
How to get the username in a custom password change routine / procedure / form when a user's password has expired and is redirected automatically to this custom program?
We use the 2nd parameter in LOGIN_URL column in WWSSO_LS_CONFIGURATION_INFO$ table to get to this custom change-password proc.OK !
Use that maybe good :
select USERID into v_user from sys.aud$
where ntimestamp#=(
select max(ntimestamp#)
from sys.aud$ ); -
Adding customer field to selection screen of RFKORD11 - Customer Statement Printing Program:
Hello,
We are required to add an important customer field to selection screen of customer
statement printing program: RFKORD11 for our South African branch.
Please advise us regarding this matter,
is there a proper user-exit or a repair is needed?
Kind Regards.Enhancement
text
F050S001
FIDCMT, FIDCC1,
FIDCC2: Edit user-defined IDoc segment
F050S002
FIDCC1: Change
IDoc/do not send
F050S003
FIDCC2: Change
IDoc/do not send
F050S004
FIDCMT, FIDCC1,
FIDCC2: Change outbound IDoc/do not send
F050S005
FIDCMT, FIDCC1,
FIDCC2 Inbound IDoc: Change FI document
F050S006
FI Outgoing IDoc:
Reset Clearing in FI Document
F050S007
FIDCCH Outbound:
Influence on IDoc for Document Change
F180A001
Balance Sheet
Adjustment
FARC0001
Enhancements within
archiving (FI)
FARC0002
Additional Checks for
Archiving MM Vendor Master Data
FEDI0001
Function exits for
EDI in FI
FICT0001
Exits for
inter-company transactions
RFAVIS01
Customer Exit for
Changing Payment Advice Segment Text
RFBVX001
Enhancement for bank
directory transfer (Austria)
RFEPOS00
Line item display:
Checking of selection conditions
SAPLBANK
User exit: Bank data
SAPLF040
WF: Preliminary
posting (authorized for release)
SAPLF051
Workflow for FI
(pre-capture, release for payment)
SAPLFCPD
One-time account data
or different payee in booking
SAPLSSRV
User exit: Bank
account numbers
RFKORIEX
Automatic
correspondence
please check which one is better . -
Custom Measure in Script logic
Hi,
We have a custom measure created which is more or less the same as the YTD, but it starts not at the beginning of the year, but instead it starts at a given month.
The measure creation was ok and we can use it perfectly well in reports and input shedules and the cumulation of data is ok.
However, if we want to use this measure in a script logic it does not work.
- Validating the script in the admin console goes fine
- Executing the script gives the error:
- Root element is missing
- validating in UJKT gives the erro:
- UJK_VALIDATION_EXCEPTION:Invalid Measures value: "T_232"
The script we try to use is below. If we change the LTD (our custom measure) by YTD it works perfectly fine:
*XDIM_MEMBERSET BUILDSTATE=NABS
*XDIM_MEMBERSET BUSAREA=V1
*XDIM_MEMBERSET CATEGORY=FCSTCUR
*XDIM_MEMBERSET DATASRC=INPUT
*XDIM_MEMBERSET ENTITY=201
*XDIM_MEMBERSET MARKSEGM=NAMS
*XDIM_MEMBERSET ORIGIN=OBOOK
*XDIM_MEMBERSET PRODUCT=ELEVATORS
*XDIM_MEMBERSET PROFCENT=201251
*XDIM_MEMBERSET RPTCURRENCY=LC
*XDIM_MEMBERSET SALESORG=SO_201
*XDIM_MEMBERSET TECHPLATF=NATP
*XDIM_MEMBERSET TIME=2010.OCT
*XDIM_MEMBERSET TYPE=T_PLAN0
*XDIM_MEMBERSET NEBACCOUNT =BAS(T_232)
*XDIM_MEMBERSET MEASURES=PERIODIC
[NEBACCOUNT].[#A232]=([MEASURES].[LTD],[NEBACCOUNT].[T_232])
*COMMIT
Thanks for any input on this. We want to avoid going via a BADI!
Kind regards,
Christophe PossonHi Christophe,
I'm in a similar position to you and wish to avoid use of a BAdI if we can - despite the MDX parser engine being pretty pathetic at handling YTD or custom measures.
Did you get a resolution to this? If so, could you please share it with everyone?
As much information as possible would be apprecaited. Our next move is to contact SAP for confirmation that there is no possibility of using custom measures in Script Logic.
Many thanks,
Nick -
Hi SAPERS,
Please provide me the process of changing of logical system of Back end and Front end system, What are the prereqesits are there before that. I tryed BDLS t code, but at the time of changing the sytem isHi shah kond,
you can change rfc destinations of model in 2 differnet ways.
firs one: right clcik on project
from the context menu select propeties
it will open a dialogbox from that select dynpro references then click on jco references tab
by using add and remove buttons u can add and remove joc destnations
2.expand ur model class double click output class.now seelct properties view.there u can change the jco destination
hope this will use ful for u
Regards
Naidu -
will I lose my apps in my macbook pro if I change the logic board? For example, I have Logic Pro 8 on my macbook pro. My mac didn't turn on anymore, I went to the Apple store and they told me that I need to change the logic board. If I get the logic board fix, or replaced, will I lose my apps (Logic Pro 8) or will the app still be on there? Please respond because I don't want to lose my projects and the software.
ThanksNot off topic ... this is *YOUR* post ...
To start, you can sell your old one for the parts that still work (SuperDrive, display, ...). Gives you some money back on a new one.
And PLEASE do not read my following statements as "just pay to fix it" ... I am just stating facts and I for one would probably buy new and sell old for parts
Second ... *most* new units come with Lion, and due to the firmware (PCs have BIOS on EPROMs, Machas "EFI Firmware), getting anthing less than Lion to run is tricky (just look up the number of existing posts on this subject). Some have successfully pulled it off, but it all sounds complicated and I like haing an SL-initial unit.
But do not despair ... some people have hoarded stocks of MBP that can easily run SL because they actually came initally with SL so gray install disks come free. If you start a post asking who knows these vendors, you should get an answer.
Also ... with apologies if you did not know this (as if you had no read anythingthing else I wrote) ...
Lion does not support PPC software anymore because Rosetta is not supported. Could be higher software replacement costs if you do not intensely look for one of the few SL-initial MBP.
If you want to and want to avoid Lion (I have no valid opinion on why you should ... just saying if you want to) then start a thread on "Who knows the venors of existing pre-Lion MBP?".
I only mention the Lion issue because even if you put your old HD into an external enclosure, Lion-ready systems may not boot off that old system with applications you already have installed, and you wold be reloading all apps anyway.
I will stop so you can catch up, and ask more.
Or just jump straight to my recommended post and ask your question about saving old HD and SL-ready MBPs. -
Custom Net Change Booking Report
Friends,
I am in the process of creating a Custom Net Change Booking Report.
The Report should show the changes that affect the sale order Bookings.
The Audit history capture the changes but it stores two lines for each change.
Main Constrains are:-
* Order Lines getting splitted should not be consider since it will not affect the total quantity.
* Qty Change, price adjustment and the New lines created to the sales order should be considered.
Following is the query i tried.
The main issue in the query is if an order line is getting changed for qty and price at the same time it is not showing the changes correctly.
Any help is appreciated.
SELECT a.hist_creation_date, b.hist_creation_date,
TO_CHAR (a.order_number) order_number, a.header_id, a.line_id,
b.new_attribute_value - b.old_attribute_value net_qty_change,
0 net_price_change, a.hist_type_code,
'QTY UPDATE/CANCEL' type_of_adjustment
FROM oe_order_lines_audit_v a, oe_audit_attr_history b
WHERE b.entity_id = 2
AND a.line_id = b.entity_number
AND a.HIST_CREATION_DATE = b.HIST_CREATION_DATE
AND hist_type_code NOT IN ('SPLIT')
AND attribute_id IN (1230) -- Quantity Change
AND b.reason_code IS NOT NULL
UNION ALL
SELECT --DISTINCT
/* -- Type Of Price Adjustment */
a.hist_creation_date, b.hist_creation_date,
TO_CHAR (a.order_number) order_number, a.header_id, a.line_id,
0 net_qty_change,
b.new_attribute_value - b.old_attribute_value net_price_change,
a.hist_type_code, 'PRICE ADJUSTMENT' type_of_adjustment
FROM oe_order_lines_audit_v a, oe_audit_attr_history b
WHERE b.entity_id = 2
AND a.line_id = b.entity_number
AND a.HIST_CREATION_DATE = b.HIST_CREATION_DATE
AND attribute_id IN (1316) -- Price Adjustment
UNION ALL
SELECT
/* New Line */
wsh.creation_date, wsh.creation_date,
wsh.source_header_number order_number,
wsh.source_header_id header_id, wsh.source_line_id line_id,
wsh.requested_quantity net_qty_change, 0 net_price_change,
NULL hist_type_code, 'NEW LINE' type_of_adjustment
FROM wsh_delivery_details wsh
WHERE 1 = 1
AND wsh.source_line_id NOT IN (SELECT entity_number
FROM oe_audit_attr_history a
WHERE 1 = 1 AND entity_id = 2)
AND wsh.split_from_delivery_detail_id IS NULL
Thanks
KarthikSandeep,
Thanks for the reply i am in Oracle Application release 12.0.4 and I could not find the view oe_order_lines_all_ac1 in this version.
I appreciate your help.
Thanks
Karthik -
Hi
Iam currently working on OATS automation for siebel application.
I am having the marketing site in siebel in english language currently and i have developed framework for the same.
Now, customer is changing the marketing site from english to arabic, now my question is will the logical name of the objects change?
do i need to again build the Object repository for arabic as well or will the logical name remains the same?Hi,
If you developed framework based on objects id, then that will work.
If you used text of objects to identify them( say example click on a link with text 'SignUp') then script will fail - fail to find object with text mentioned in script
Regards,
Deepu M -
Customer master changes using DEBMAS/ DEBMAS-03
hi All,
Following is the scenario/ requirement:
My client wants to use the standard Msg type DEBMAS and basic type DEBMAS03.
We want to activate change pointers for the msg type. However, in the existing business, there would be lot of changes per day i.e. ~ 10 changes per day--which would trigger 10 IDocs. I want to put the partner profile in collect mode. However, I want your help in checking if its possible to collate / combine all the 10 IDocs and put it into 1 IDoc and send it at the end of day?
If so, would also request a possible draft solution road map.
Am sure, there are experts out here who can share their valuable inputs.
Fast responses will be highly appreciated.
Regards,
Raghu.Hello,
It would be again a lot of work in terms of coding and designing the IDoc Structure again.
It should not be a problem while sending Customer Master changes using Change Pointers. As you said, you can set the Partner Profile Configuration to Collect IDocs and send it at the end of the Day.
Thanks and Regards,
Venkat Phani Prasad Konduri -
How to configure a map of patches names of my midi device in order to insert program changes from Logic?
Thomjinx wrote:
You can usually use a patch editor-librarian program like Sound Diver or MidiQuest to copy and paste the patch names (one bank at a time) into the patch name list of a multi-intsrument object in the environment.
That's what I do. Works like a charm.
Cheer,
Thomjinx
"My first copy of Logic came on Floppy disks"
And you will need to setup bank change commands for your particular instrument, if it does in fact have several banks of internal patches. Logic comes with a selection of bank change commands, one of them will almost always work.
My first copy of Logic came on floppies, two of them I think and was MIDI only, moved up to Logic_Audio at version 3.0 I think. -
Customize change password logic
Hi guys,
We are working on EP 6.0, We need to make our own change password logic for first time user login. ( e.g new password should be > 10 long, if he makes a number of unsuccesful operation, his account will be locked , etc...)
For current change password logic, the system calls some .class file provided by SAP.
Can we change the logic of orginal .class ? if not, how can we create our own and use it?
Regards,
Guo FengHi Feng,
You could take a look at the Blog I once posted with its attached Wiki Page where I placed the Source code. You will find it here:
A Change Password Application
However I customized it for a different reason. You can modify the application to add in your business logic.
Let me know if you need more help.
Hope this helped.
Prem -
JDBC to Idoc scenario - change of logical system name
Hi,
I have a JDBC to idoc scenario that worked. Now i had to change the logical system name from my sender system from ABC_123 into ABC123 in the SLD (Business System - Integration - Logical System name). I did so and also refreshed my Cache.
Afterwards I started the process, but it failed in the Receiver system. The idoc is correct expect of the partner name. My receiver system expect ABC123 - as I changed in the SLD - but PI send ABC_123.
If io look in SXI_CACHE - Services my Business System still got the "old" name (ABC_123).
Did i miss something resp. how can i load the current configuration from SLD?
Thanks in advance
MichaelHi Michael,
Again Import the changed logical system in the Integration directory of you PI system.
And check the scenario (Sender Agreement, Receiver agreement ) what system they are reflecting.
If they are showing old system then you have to replace the business system in all the scenario.
Edited by: Rajhans Abhay on Jan 7, 2010 3:14 PM -
RSA1 - Source system connection : Change in logical system name
Dear friends,
Can you please tell me how can i change the logical system name for a source system connection.
There is no change in source system & source system connection check works well, just we have decided that from current logical system name SID_100 should be changed to SIDCLNT100.
Can i do this by running BDLS in BW for RSBASIDOC table from SID_100 to SIDCLNT100 ?
thanks
ashishHI Sunny,
This is not the same problem, may be similar though..i am not getting a way.
let me describe u in a bit more details.
Currently, we have a working source system connection to a system SID_CLT. there is no change in source system.
now, can i change this system connection technical name from SID_CLT to SIDCLNT*** ..
thanks
ashish -
Customer Recon Change(FX impact) @ the time of F101.
Hi Gurus,
I had a query regarding change of Customer's recon account and the impact of FX .
After checking few threads i found that through Tcode:- F101 the amount from old recon account will be reclassed to a new GL account(Adjustment GL) and after closing again it will be reversed.The same process will continue till collection of payment aginst those old items(old recon balance).
The amounts are getting reclass from old recon to new gl (Adjustment gl)by taking the fx value which is creating problem.The user needs to transfer only the closing balance(open items) at the month end without taking the FX impact.
Please suggest what is the exact process to proceed in the above situation.
Secondly i request a tutorial for the process of "Vendor/Customer" recon change process from starting to end.
Points will be rewarded.
Regards,
RamakantaDear expert
use this t: code T.Code: FAGLF101
or try below
1. Go to FS00 -Enter the Recon accounts (Old and New) and tick the field "Ready For Input"
2. Assign the New Recon account against the Old recon account
IMG > FI > Accounts Receivable and Accounts Payable > Business Transactions > Postings with Alternative Reconciliation Account > Define Alternative Reconciliation Accounts....
3. Now make a transfer posting from F-02, Dr and Cr the same customer... In the Dr Line item, change the Recon account and in the Cr Line item, do not change the same
http://help.sap.com/erp2005_ehp_02/helpdata/en/96/8b335343ce11d189ee0000e81ddfac/frameset.htm
Regards
Ajeesh.s
Maybe you are looking for
-
HP C6380 photo tray prints only green
The problem started when I installed my new computer with Windows 7. The photo tray prints only in green. I tried to print from the photo tray from various programs with the same result, so the printer must be the problem. I downloaded and installed
-
PO_CUSTOM_PKG - Error message not appearing while creating dist line
Hi, We are trying to incorporate business logic using the POR_CUSTOM_PKG. Where as we have a requirement to add custom validations at the time of defaulting the requisition distributions. We are using PROCEDURE custom_default_req_dist for this purpos
-
I have a pc and downloaded a trial version of Adobe Acrobat DC to create pdfs. I have followed the simple instructions but what I get is an entire screen shot saved instead of just my document. The instructions seem so simple. I can't imagine what I
-
ME21N add new line item when creating a PO
Hi guys, I am new to badi & oop. I want to add a PO line item after clicking the save button in ME21n. I found the BADI IF_PURCHASE_ORDER_MM. I have coded in the method POST by using method create_item. However, it still does not work? Any ideas how
-
How do you import contacts from Backup Assistant
Just got my son a Droid Turbo, found out it does not have Backup Assistant. His old phone is bricked, how do we import contacts?