Common class data for two session?
JDEV 10.1.3.3, ADF
I have the bean userState with the scope as session, in this bean-class i have the variable:
public static List selectedItemsMonth;
on page i put selectManyListbox component with fields:
value="#{userState.selectedItemsMonth}"
valuePassThru="true"
After starting my aplliacation, i select in browser one of item in list box. At another comp i open broser with such page and see, that in list box already selected equal item!
I thought that their own copies of the classes for miscellaneous session ...
That it is necessary to do to beside each session was its copy of the bean-class with their own variable?
I need access to bean-class from data-module class (for clear the value: UserSystemState.selectedItemsYears = null;)
if I delete static, appears the compiling error:
Error(285,9): cannot make a static reference to non-static field selectedItemsYears
Message was edited by:
VitalyCoder
Similar Messages
-
EWA" Dates for this session are overdue "
Dear All,
Im now configuring EWA report but i always got Red Flag for the satillite system said that "Dates for this session are overdue" and there is no two bottle apear. please help me..
Thanks so much.Hi,
That error is because your managed system is not sending the required EWA data to your SolMan for processing.
Please check the following to make sure all steps are correct for EWA processing:
Check RFCs in Solution Manager to your system that the EWA is for.
Also check the Back RFC to SolMan in the managed system.
Also check in the managed system, transaction SDCCN and make sure the maintenance package is running and scheduled periodically!
Finally ensure the Task Processor is active and scheduled in SolMan via transaction SDCCN > Goto > Settings > Task Processor.
Lastly check in the managed system that the RFC for the maintenance package is set to your SolMan via transaction SDCCN > Goto > Settings > Task Specific > icon next to RFC Destinations > Settings. Ensure the Back RFC to SolMan is set as the master.
To do this, go to SMSY in SolMan > Environment > SolMan Operations > Administration SDCCN and ensure your managed system is there and SolMan is the master.
You may even have outstanding jobs for this system in SDCCN of SolMan which you can run to process the EWA data if you do not have a periodic Maintenance Package correctly running in SolMan.
All of these checks will solve your issue and make sure EWA is working.
If you find the answer, please post what the mistake was, I am curious
Regards,
-Rohan
Edited by: Rohan Parikh on Dec 9, 2009 4:42 PM -
Different Pricing date for two line items
Hi guru's
How to give different pricing dates for two line items
in a sales order
To elaborate
I have two line items one i need pricing date order date
second one i need pricing date should be delivery date
Thanks in advance
SrinivasDear Srinivas,
While creating sales order select the item which you want to change the pricing date then go to menu>GOTO>Item -->Click on Sales A here you can able to change the pricing date as you like.
You can change the pricing date of the item in the sales order through sales order change mode but that sales order should be open.
I hope it will help you,
Regards,
Murali. -
Restricting the item data for two pages if data is more then cutoff
Hi Expers,
I have one requirement that i need to restrict item data upto two pages .If more data is vailabe even pritning after two pages then data should cutoff(means we don't want to print that extra data in the next pages ).Could you please explain how can we achive this in main window ?Can we achive this even using secondary window also?Thanks for your help in advance.
Thanks and Regards,
VenkatDear experts,
For restricting the data up to two pages in the mainwondow ,I have written the condition SFSY-PAGE LE 2.But still i am getting more than two pages means entire data.Can any one explains why this condition is failed(My main window is in the first page itself).
Many thanks for your help,
venkat -
Logon_time in v$session gives old date for new session
Hi,
I have a unique issue whenever I run v$session for username='A' and status= active I see logon_time as old date in this its '12-MAY-2008'. Now there are total 150 sessions for username='A'. 2 are status= Active, 1 is status=Killed and 147 are status=INACTIVE.
So whenever a new session comes from application side it activates the INACTIVE session and date remains 12-May-2008 instead of current date.
Also when you logon directly to Oracle using user 'A' , again same logon_time in v$session, rather than current date in logon_time. We are using Oracle 9.2.0.6 on Unix.
Any way I can resolve this issue?
Regards,
Tushar KatheHi,
select username,logon_time,machine,terminal from v$session where status='ACTIVE';
USERNAME LOGON_TIM MACHINE TERMINAL
04-MAY-08 prod1.test.com UNKNOWN
04-MAY-08 prod1.test.com UNKNOWN
04-MAY-08 prod1.test.com UNKNOWN
04-MAY-08 prod1.test.com UNKNOWN
04-MAY-08 prod1.test.com UNKNOWN
04-MAY-08 prod1.test.com UNKNOWN
04-MAY-08 prod1.test.com UNKNOWN
04-MAY-08 prod1.test.com UNKNOWN
04-MAY-08 prod1.test.com UNKNOWN
04-MAY-08 prod1.test.com UNKNOWN
04-MAY-08 prod1.test.com UNKNOWN
04-MAY-08 prod1.test.com UNKNOWN
04-MAY-08 prod1.test.com UNKNOWN
SYS 22-MAY-08 prod1.test.com
pts/4
TEST 12-MAY-08 app20.test.com
SYS 22-MAY-08
16 rows selected.
You can see the schema test shows logon_time as 12-May-08 but he has infact logon in the system today so should have today's date. The Toad time output I don't have.
Regards,
Tushar Kathe -
Common class resource for loaded and loading swf
hi,
i have built a video player, and now i'm working on (sort-of) video editor. both of them use a singleton class 'DataRepository', which - as it name implies - serves as a repository for all the data needed to play the video and/or edit it.
now i want to add to the editor a preview functionality, so i simply load the player.swf into the editor.swf. before doing so, i set a variable in the data repository to the id of the video i want to preview. i found out that when i load the player using a relative path, it uses the same singleton instance of the data repository as the editor does, thus reading the video id variable and previewing it correctly. however, when i load the player using absolute path it creates its own copy of the data repository, thus unable to read the video id and preview it.
since the player and editor will eventually be on 2 different servers, using relative path is not an option.
is there any way i can make sure the player uses the same instance of the data repository as the editor does?
thanks in advance,
eRez
ps - in case it matters, the 'allowscriptaccess' property in the editor's html page is set to 'always'.This is how I eventually did this:
Created 2 layers.
Layer 1 has my existing image which I put a stop action to in the 1st frame.
Layer 2 has a link to the external swf file with this action: loadMovieNum("top2.swf", 2); in the 1st frame.
So the initial image stays up until the top2.swf is fully loaded. This is for people with dialup. A lot of the clients who will look at this particular web site are rural and only have dialup access to the internet. The animation loads quickly for high speed.
Here's the web site if you wish to view the result.
http://www.watertonbiosphere.com -
Ability to set same Start date for two different discrete Job in ASCP
We have two ATO Items and these to be built & shipped together which have different leadtimes, How we can have achieve same start date when we release from ASCP.
E.g: ATO_Model1*24234 SO Line 1, the rolled up LT=10Days
ATO_Model2*325325, the rolled up LT=3
So, under normal scenario ASCP will suggest two different release dates based on LT. So, I would like to start both Job togther considering the max leadtime.
Hoping for your expert advice.
Thanks
Edited by: user604737 on Nov 10, 2010 9:55 AMHi,
964188 wrote:
It is a date
Such as
10/31/2012 11:55:03 PMThen, as Hoek says, you don't want TO_DATE. For example:
WHERE TRUNC (start_datetime) = TRUNC (SYSDATE - 7) or the more efficient
WHERE start_datetime >= TRUNC (SYSDATE - 7)
AND start_datetime < TRUNC (SYSDATE - 6)Also, it doesn't look like the EXISTS sub-query is corelated to the main query. That's almost certainly a mistake.
If you're still having trouble, post your revised query, a little sample data (CREATE TABLE and INSERT statements). Point out where that query is givimg the wrong results, and explain how to get te right results.
See the forum FAQ {message:id=9360002} -
How to achieve same start date for two ATO Items- req to built together
We have two ATO Items and these to be built & shipped together which have different leadtimes, How we can have achieve same start date when we release from ASCP.
E.g: ATO_Model1*24234 SO Line 1, the rolled up LT=10Days
ATO_Model2*325325, the rolled up LT=3
So, under normal scenario ASCP will suggest two different release dates based on LT. So, I would like to start both Job togther considering the max leadtime.
Hoping for your expert advice.
ThanksHi,
Please check Vendor Master data: FK02 ->company code data -> Payment transaction accounting: unflag 'individual payment'.
Make a test and let me know if it's okay.
regards -
Matching data for two internal Table
hi guru's,
i have two internal table that is ITAB and itab1, and both has more than 2000 records, but MATNR is common field in both, so i want to update itab from itab1 according to matnr. can anyone please help me? actually i was using read table but it was not doing correct.
regards Nitin.dear all,
thanx for reply again...but still same problem. actually i m making a report for material price comparison
purchased in current month and same material if purchased in before months. so i need maintain the final ITAB with including same material if purchased in previus months.
ITAB1 : EBELN BLDAT MATNR WRBTR
100023 20080101 abcd 100.00
100025 20080106 xyzr 250.00
100028 20080102 abcd 100.00
100129 20080117 xyzr 150.00
100159 20080126 uvwx 170.00
ITAB2 : EBELN BLDAT1 MATNR WRBTR1
200026 20080201 abcd 105.00
200024 20080206 xyz_r4 250.00
200023 20080201 abcd 100.00
200129 20080217 xyzrw 150.00
200152 20080225 uvwx 190.00
Final record which i need.
ITAB3: EBELN BLDAT MATNR WRBTR WRBTR1
100023 20080101 abcd 100.00 105.00
100023 20080101 abcd 100.00 105.00
100159 20080126 uvwx 170.00 190.00
please suggest me accordingly...
regards nitin. -
Compare time depednt master data for two key dates in a report?
Hello all,
We have a requirement where we want to see the difference in master data at particular key dates (time dependent master data).
Like if employee has State = OH till yesterday (12/01/2008) and today it is changed to State =KY (12/02/2008 to 12/31/999) loaded in BW which is time dependent.
So basically if you run the query for Key date 12/01or before you will see OH as state and if you run query for key date 12/02 or further you will see KY.
We want to create a report where we want to list employees and compare in two columns basically the previous value and the current value. So input would be two key date variables and the report would look like
Employee Key date 1(state) Key date 2 (state)
Employee1 OH KY
Has anyone done this before, can someone help me doing this?
Thanks,Hi ,
For this scenario , Can you please create variabale ( From value -- to value ) in the key figure date .And by using the time period in the varaible u can get the employees for both the states ...
Hope this helps out
thanks
PT -
Duplicate data for two schemas
Suppose there is a database (OraDB) on which there is a user/schema (User1). The User1 has its tables, indexes, packages, etc.
Now I created a new user/schema named User2 on the same OraDB, and I want the User2 to have the exactly same structure and data (tables, indexes, packages, etc.) as those of User1. How can I do it?
ThanksExport User1
Import the dump file into User2 -
How to extract data for particular two members of same dimension.
As per the requirement i need to export data for certain members of a dimension. Lets say we need data for two account members A and B which is in in Account dimension only but is not a direct children. I need the data for all the available years too. Please suggest me how my DATAEXPORT command should look like.
When i am using an AND statement it is not working accordingly. Say i am fixing for years 2007 and 2009 but the output file is coming for 2009 and 2010.
Something other is happening when i am fixing OPEX_31 and OPEX_32. The values are coming not only for OPEX_31 and OPEX_32 but for many more accounts too.
Here is my dataexport statement for your reference
SET DATAEXPORTOPTIONS
DataExportLevel "ALL";
DataExportColFormat ON;
DataExportDimHeader ON;
DataExportOverwriteFile ON;
FIX("LC","Total_Year","ESB1","2009","SIERRA","COSTCENTER_NA","CELLULAR_NA","OPEX_31",
"January","February","March","April","May","June","July","August","September","October","November","December");
DATAEXPORT "File" " " "D:\exports\feb.txt";
ENDFIX;
I need data for OPEX_31 and OPEX_32 for all the available years starting from 2001 to 2025.
Please suggest what are the modification needed to get the desired result.
Thanks in advanceHi,
There a few different options you can use for fixing on the months, years..
e.g. FIX(January:December)
or FIX(@CHILDREN(YearTotal)) < depends what the parent of the months is
sames goes for years
FIX(2009:2025)
or
FIX(@CHILDREN(Year)
If your period dimension is dense you can always use that as the column header e.g. DataExportColHeader "Period" and then fix on the accounts you require.
Cheers
John
http://john-goodwin.blogspot.com/ -
Dates for this sessiions are overdue-Sap ealy watch report
Hi all,
I have too many sessions scheduled for EWA one if my system in Landscape wit Red flags & i wanted to remove them as they are with very old Dates.I couldn't manage to find any option pls advice me on that.
How can i remove OLD EWA with RED flagsHi val,
navigated as u said .,
Once i press delete button i could be able to delete only the session where my early watch report is generated.
But as i wanted to delete the sessions which are in past date with red flag
for example if i click on red flag i get the following data
The data for this session is overdue. Data has not yet been transferred from the associated satellite system.
Go to the Service Data Control Center (transaction SDCCN) in the satellite system and check why the data has not been sent.
Typical sources of errors are:
The RFC connection for the SAP Solution Manager system is not working.
The 'Task Processor' background job, which collects the session data, has been changed.
Problems arose while data was being collected (see the detail log for the task that collects the session data).
A periodic 'SDCC Maintenance Package' task has not been scheduled to check whether your SAP Solution Manager system requests session data.
Session number: 5550000000878
Back Call Service Data Control Center
As i dont require this over due seesions How can i delete them -
Differentiating Master Data from two different source systems
Friends,
i have used standard InfoObjects that provide master data for two InfoCubes which take data from two different source systems. Now the some of the master data is identical in both the source systems (example: 10 stands for "Industrial" in one whereas 10 stands for "Agricultural" in the other). What do i do so that the system(BW) differentiates the two.
Thanks in advance for all the help.
MikeI tried to include the 0SOURSYSTEM in the compounding of this InfoObject (for master data) but it gives me a list of other objects that use this InfoObject as a reference characteristic and also says that this InfoObject is used in a ODS and data needs to be emptied in the ODS before activating this InfoObject. Please let me know if there is any way out of it.
Thanks
Mike -
Same purchase organization for two companies codes
Hello,
In SRM It is possible to have an organizational structure with a common purchase organization for two companies codes in backend?
Thanks in advanceYes, it is possible in SRM. Assign both co. codes in the company code attribute BUK of the Purchase org, then in the responsibility tab of the Purchase group maintain the org unit object ID of both the company codes (if you have different org units for each co. code) so that the purchase group will be responsible for the users of both the company codes.
Regards,
Jagadish
Maybe you are looking for
-
What is the best way of accessing application module without page binding?
Hi All I am using Jdeveloper 11g R2 (11.1.2.3) & Weblogic 10.3.5.0 What is the best way of accessing application module without page binding? In my application after user authenticated from LDAP I need to read some information from database and set m
-
To have a same exchange rate in Proforma (F8) and Std Invoice (F2).
Hi Friends, I have searched all the threads and could not find appropriate answer for the below query. Having different exchange rates in Proforma (F8) and final invoices (F2) causes problems and should be avoided. Proforma invoices are n
-
What is the touchless command to open a mobile hotspot?
According to Verizon's description: When powered on, the Verizon–exclusive Droid Maxx is always ready for touchless control–even when it's asleep. Need to open a mobile hotspot or get GPS directions? Accomplish it all with simple voice commands and w
-
How to hide a button in bank information screen permanently
Hi, I would like to hide the "New travel expenses" button located in Bank Information screen. Is it possible?? Thanks.
-
Get currently opened file in code editor
Hi, I am writing an extension for Oracle Jdeveloper. I have created a view and now I need to access the currently opened file in the code editor. However, all I get is the context of my own view: Context.newIdeContext(this); But how can I get the Cod