Query regarding COSP updation
Hi,
Can anyone suggest what would be the best way to know when a table (standard) is getting updated . Upon searching the where-used list of the table i found large number of programs using the table which would be dificult to pinpoint any program .
The table is COSP (Cost Totals for External Postings)
Answers will be rewarded.
Regards,
Rajesh.
Hi,
You can do that by going to tcode ST05.
Select the check box "QL TRACE ".
Then Click "ACTIVATE TRACE".
Then run your program.
Then come back to ST05.
Click " DEACTIVATE TRACE".
Then click "DISPLAY TRACE".
It will give you a thorough analysis of all your select query and other SQL statements. and inturn you will be able to find the various tables updated as well.
Reward Me Points
By
Pari
Similar Messages
-
Query regarding the Updated of Mozilla firefox
Hi Mozilla Team,
We currently have Firefox 28 in our environment.Mozilla has released Firefox 28.0.1 and also released 29
Which is the suggested version Mozilla is wanting the business to install?
Also does Mozilla Firefox releases version upgrade like 27,28 etc for every security vulnerabilies OR are they releasing patch for a specific version to address the vulnerabilities for that specific versionHello,
Versions below Firefox 29 are insecure and you shouldn't use them.
* https://www.mozilla.org/security/known-vulnerabilities/firefox.html
The only exception is ESR, the special version for organizations, which is currently based off Firefox 24 but it has all the latest security patches.
* http://www.mozilla.org/firefox/organizations/faq/
Most security patches are delivered in major versions (like 29.0). Highly urgent issues are patched in so-called chemspill updates (like 28.0.1). Once a new major version is released, the old one receives no further updates (with the exception noted above). -
Query regarding updation thru a Procedure
Hi,I have a query regarding updation.
1.I invoke a procedure in Oracle called submit thru my Java application.
The submit procedure saves the XML data in the database
and displays this data in a Front End GUI.
2. Now,I make a change in my Java application by adding new elements to the same row.This row now contains additional XML elements.
I would like to display the new row with the new elements in the GUI.
What is a better option for doing the above?
1.Delete the row being shown,save the new row with the changes in the database,and re display it?
2.Or,Update the row dynamically and refresh?
Any suggestions
Thanks,Hi,I have a query regarding updation.
1.I invoke a procedure in Oracle called submit thru
my Java application.
The submit procedure saves the XML data in the
database
and displays this data in a Front End GUI.
2. Now,I make a change in my Java application by
adding new elements to the same row.This row now
contains additional XML elements.
I would like to display the new row with the new
elements in the GUI.
What is a better option for doing the above?
1.Delete the row being shown,save the new row with
the changes in the database,and re display it?
2.Or,Update the row dynamically and refresh?
Any suggestions
Thanks,If you delete (it seems to me yours this process is regular and frequent) and re insert the new updated one record then High water mark will cause to scan yours table which may cause to degrade the performance.AFAIK you should go with update.But hold down dont implement it as i suggested lets see what are others solution here which may be more precious then mine.
Khurram -
Query regarding updating rows in JTable
Query regarding updating rows in JTable
Hello,
I have a JTable with 6 columns and 1000s of rows (which are data read from flat files)
I can select 1 or more rows and change the values of the
columns. each time I do this I need to update the values
in the flat file.
Currently I assign the updated Jtable values to a vector
Vector rowVector = (Vector)defaultModel.getDataVector();
then I iterate over the vector and compare the values with the (old) data
in the JTable.
for(int rowCount = 0; rowCount<rowVector.size(); rowCount++){
Vector v = (Vector)rowVector.elementAt(rowCount);
//smsList is the Vector that contains the old JTable values
for(int i=0; i<smsList.size(); i++){
//If colums values have been changed; add that
//vector value to another vector
selectedsmsList.add(smsList.get(i));
for(int i=0; i<selectedsmsList.size(); i++){
//Update the values in the flat file
}This works fine except that it takes ages to iterate over the updated vecor and un-updated,old vector; is there any way to directly get the list of rows that were updated in the jtable; so that I can directly do an I/O operation to update the jtablke values?Just a suggestion.
You could add a listener and use a vector of booleans to keep track of the rows that have been changed. You could then iterate through this boolean vector and update the changed rows.
See
http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#modelchange
Don't know whether this will be helpful.
Regards, Darryl -
Query regarding e63 firmwire update
Hi,I have just updated my nokia e63 firmwire.I've some queries regarding the updated firmwire- 1.The download folder is not there anymore in the main menus.Where can I find it?
2.After the update,although the nokia suite restored back the apps and settings back to phone,I can't found the apps which I kept on the memory card,but those downloaded via OVI store(to the card) are still there..
3.The battery seems to be draining a bit faster than usual .Is it firmwire related?
I will be very glad if you help me
version details--Nokia e63(328.04),v510.21.010,RM-437
Nokia E63-1, RM-437, 510.21.010
Nokia C5-00.2,RM-745,091.002Please help.Any help will be greatly appreciated.
Nokia E63-1, RM-437, 510.21.010
Nokia C5-00.2,RM-745,091.002 -
hi,
In my table i hav userid,user associationdate,user expirydate
now i want to extend(update not select) all the user's expirydate to another one year and this should be done in SINGLE QUERY. how can i do this ?
SQL> desc t_user_license
Name Null? Type
USERID NOT NULL VARCHAR2(25)
LICENSEID NOT NULL NUMBER(38)
ASSOCIATIONDATE NOT NULL DATE
EXPIRYDATE NOT NULL DATE
select userid,add_months(expirydate,12) from t_user_license;
this query extends expirydate to another one year.but not make changes permanent.
but i want to update expiry date to another one year that too in single query and make the changes permanent. how can i do this .............
can anyone plz help me
With Regards
BooHi,
update t_user_license
set EXPIRYDATE = add_months(EXPIRYDATE,12);Check the results via
select * from t_user_license;and finally commit;Regards,
Yoann. -
UPDATE QUERY can't update table
Hi,
During 1500-2000 concurrent users, DB Transaction locks occur. So that Update query can't update table and we get inconsistent data. How can we avoid this inconsistent data?? Why we get transaction locks??
Eg. In update query it update the status of user with completed; but because of transaction lock update query can't update status of user it remains uncompleted. So we can get wrong status of user(inconsistent data). Why UPDATE query update the status
of user???
update table set status='completed', date=@p2,score=@p3 where id=@p1You are not getting inconsistent data, you are getting the data according to the isolation level you are running under. The isolation level determines the locking model and therefore determines any bad dependencies you may experience. Reducing the bad dependencies
through higher isolation level will lower concurrency. *This* is the core concept of Transactional Processing theory.
Furthermore there is not really such a thing as a DB Transaction lock - at least not in the way you mean. SQL server does use DB locks (such as Shared transaction workspace and Exclusive transaction workspace) but the highest level of lock escalation is
the object level (heap or btree) so those are the things you are really interested in. In the ideal would you want all Exclusive, Shared and U locks to be taken at the RID (heaps) or Key (cluster tables) level - and only have few of them per query.
In conclusion think carefully about your query and how it is implimented under the covers by the database engine.
Regards,
Mark Broadbent.
Microsoft Certified Master
Contact me through twitter |
blog | sqlcloud
Please click "Propose as answer" if a post solves your problem
or/and vote the post up if it's been helpful. -
Query regarding Asset quantity.
Dear Experts,
I have query regarding Asset quantity.
While creating Goods receipt (MIGO) users give the Material (Asset) quantity but when I check in Asset master or in any sap asset reports system not show the quantity in Asset master or any Asset report. Although I have checked in all SAP Standard reports but quantity not updated in any reports. Let me know if I need to do any configure in Asset.
I also want to know that how System posts the quantity automatically in Asset master after doing MIGO/MIRO?
Please provide the best solution.
Best Regards,
VivekHi VIvek
In Asset Master Data update the unit of measure in Quantity field. When you post through a MIRO document or F-90 whatever the quantity input is updated in the asset master record.
Kindly award points if correct -
Hi,
A small query regarding the SQL Update......
I have the below table values where I want to update two columns.....
EmpID EmpName Sal DocID DocSeqNum CreaDate
========================================
1 XYZ 25 289 1 12-MAY-2012
2 XYZ1 50 289 2 12-MAY-2012
3 XYZ2 55 NULL NULL 14-MAY-2012
4 XYZ3 60 NULL NULL 14-MAY-2012
5 XYZ4 65 NULL NULL 14-MAY-2012
6 XYZ5 70 NULL NULL 13-MAY-2012
I want to update the DocID with value 289 and DocSeqNum with a sequence i.e 3, 4, 5, 6 etc.....
Please advise.
THanksMaybe just (for this particular case)
update the_table
set docid = 289,
docseqnum = empid
where coalesce(docid,docseqnum) is nullor
merge into the_table t
using (select empid,289 sal,row_number() over (order by empname) docid
from the_table
) u
on (t.empid = u.empid)
when matched
then update
set t.sal = u.sal,
t.docid = u.docid
where coalesce(docid,docseqnum) is nullRegards
Etbin -
A query regarding synchronised functions, using shared object
Hi all.
I have this little query, regarding the functions that are synchronised, based on accessing the lock to the object, which is being used for synchronizing.
Ok, I will clear myself with the following example :
class First
int a;
static int b;
public void func_one()
synchronized((Integer) a)
{ // function logic
} // End of func_one
public void func_two()
synchronized((Integer) b)
{ / function logic
} // End of func_two
public static void func_three()
synchronized((Integer) a)
{ // function logic
} // End of func_three, WHICH IS ACTUALLY NOT ALLOWED,
// just written here for completeness.
public static void func_four()
synchronized((Integer) b)
{ / function logic
} // End of func_four
First obj1 = new First();
First obj2 = new First();
Note that the four functions are different on the following criteria :
a) Whether the function is static or non-static.
b) Whether the object on which synchronization is based is a static, or a non-static member of the class.
Now, first my-thoughts; kindly correct me if I am wrong :
a) In case 1, we have a non-static function, synchronized on a non-static object. Thus, effectively, there is no-synchronisation, since in case obj1 and obj2 happen to call the func_one at the same time, obj1 will obtain lock for obj1.a; and obj2 will obtain lock to obj2.a; and both can go inside the supposed-to-be-synchronized-function-but-actually-is-not merrily.
Kindly correct me I am wrong anywhere in the above.
b) In case 2, we have a non-static function, synchronized on a static object. Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a. However, since obj1.a and obj2.a are the same, thus we will indeed obtain sychronisation.
Kindly correct me I am wrong anywhere in the above.
c) In case 3, we have a static function , synchronized on a non-static object. However, Java does not allow functions of this type, so we may safely move forward.
d) In case 4, we have a static function, synchronized on a static object.
Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a. However, since obj1.a and obj2.a are the same, thus we will indeed obtain sychronisation. But we are only partly done for this case.
First, Kindly correct me I am wrong anywhere in the above.
Now, I have a query : what happens if the call is made in a classically static manner, i.e. using the statement "First.func_four;".
Another query : so far we have been assuming that the only objects contending for the synchronized function are obj1, and obj2, in a single thread. Now, consider this, suppose we have the same reference obj1, in two threads, and the call "obj1.func_four;" happens to occur at the same time from each of these threads. Thus, we have obj1 rying to obtain lock for obj1.a; and again obj1 trying to obtain lock for obj1.a, which are the same locks. So, if obj1.a of the first thread obtains the lock, then it will enter the function no-doubt, but the call from the second thread will also succeed. Thus, effectively, our synchronisation is broken.
Or am I being dumb ?
Looking forward to replies..
Ashutosha) In case 1, we have a non-static function, synchronized on a non-static object. Thus, effectively, there is no-synchronisationThere is no synchronization between distinct First objects, but that's what you specified. Apart from the coding bug noted below, there would be synchronization between different threads using the same instance of First.
b) In case 2, we have a non-static function, synchronized on a static object. Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a.obj1/2 don't call methods or try to obtain locks. The two different threads do that. And you mean First.b, not obj1.b and obj2.b, but see also below.
d) In case 4, we have a static function, synchronized on a static object. Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a.Again, obj1/2 don't call methods or try to obtain locks. The two different threads do that. And again, you mean First.b. obj1.b and obj2.b are the same as First.b. Does that make it clearer?
Now, I have a query : what happens if the call is made in a classically static manner, i.e. using the statement "First.func_four;".That's what happens in any case whether you write obj1.func_four(), obj2.func)four(), or First.func_four(). All these are identical when func_four(0 is static.
Now, consider this, suppose we have the same reference obj1, in two threads, and the call "obj1.func_four;" happens to occur at the same time from each of these threads. Thus, we have obj1 rying to obtain lock for obj1.aNo we don't, we have a thread trying to obtain the lock on First.b.
and again obj1 trying to obtain lock for obj1.aYou mean obj2 and First.b, but obj2 doesn't obtain the lock, the thread does.
which are the same locks. So, if obj1.a of the first thread obtains the lock, then it will enter the function no-doubt, but the call from the second thread will also succeed.Of course it won't. Your reasoning here makes zero sense..Once First.b is locked it is locked. End of story.
Thus, effectively, our synchronisation is broken.No it isn't. The second thread will wait on the same First.b object that the first thread has locked.
However in any case you have a much bigger problem here. You're autoboxing your local 'int' variable to a possibly brand-new Integer object every call, so there may be no synchronization at all.
You need:
Object a = new Object();
static Object b = new Object(); -
Query regarding the conversion of DME file in MT940 format.
Hello Experts,
I have a query regarding the generation of MT940 file after generating the payment file from other DME tree.
After completion of payment run, my payment file is generated in the DME format which is according to the DME tree.
I want to convert the DME file (which is generated via F110) from existing format to the standard MT940 format.
Is there any standard program which converts the DME file to MT940. If so, please inform me as early.
I have tried to upload the DME file in FF.5 transaction, but it is not allowing me to convert the file in MT940 structure.
Or please inform the steps how i can convert the file .
Awaiting for your inputs.
Thanks in advanceHi Zareena.
I would like to suggest,
SX_OBJECT_CONVERT_RAW_TXT.
Hope that's usefull.
Good Luck & Regards.
Harsh Dave -
Query regarding the data type for fetcing records from multiple ODS tables
hey guys;
i have a query regarding the data type for fetcing records from multiple ODS tables.
if i have 2 table with a same column name then in the datatype under parent row node i cant add 2 nodes with the same name.
can any one help with some suggestion.Hi Mudit,
One option would be to go as mentioned by Padamja , prefxing the table name to the column name or another would be to use the AS keyoword in your SQL statement.
AS is used to rename the column name when data is being selected from your DB.
So, the query Select ename as empname from emptable will return the data with column name as empname.
Regards,
Bhavesh -
Query regarding Cluster nodes in CC
Hi Experts,
We have a query regarding the cluster nodes available in the CC monitoring.
Can two nodes of a same channel can poll at the same time?
Kindly suggest what should be done to make a specific cluster node of a CC polls at a particular time.
Thanks
Suganya.Hi,
There is an answered thread on this
Processing in Multiple Cluster Nodes
Regards,
Manjusha -
Query regarding G/LAccounts in psoting
Hi Experts,
I have one query regarding PCP0.
After executing PCP0,If We double click on the posting document we can see the number of G/L accounts in that posting Document.If we double click on each G/L Account it shows all the revision information indetail for all payments cumulated into that particular G/L Account.
Some of the G/L's are appearing as single line in the posting document and if we double click for the revision information it is showing all the Wagetypes with personnel numbers and the total of each wagetype.
Some of the G/L's we can see Multiple times for each individual.
Can any one please explain where does we set up the the revision information for the G/L Accounts .
Appreciate If anyone can help to know this information.
Thanks & Regards,
Sandhya.Hi Gopal,
Counting class are assigned to the Periodic work Schedule 1 to 9 are just arbitart sequence numbers and have no meaning in general they are used for linking Pweriodic Work schedules with differences.
You can use the class for absence and attendance counting to specify different methods of counting according to the period work schedule.
They have no other meaning apart from that.
Thanks and Regards
Swati -
Query regarding the fields details in particular form for all the users in
Dear All,
I have one query regarding the fields details in particular form for all the users in company.
Let take an exapmle if i had created Purchase Order having fields in content tab as 1.Item No. 2.Quantity 3.Unit Proce 4.Total 5. Location.
While Login in User manager i set these fields only for Purchase order , but when i login from other user and open the similar purchase order the defaults fields are also seen including above 4 fieds .
Now my question is how to set the User choice fiels for the particular form that are common to all users.
Means whenever i login in any user and opens the same document the same fields should be seen....Thanksssss.........You have to login with each and every user and do the Form Settings of every forms, so that all the forms look same for all the users.
This is a manual job and you have do do it with every user login.
Alternately, you can try out this link that explains
[How to Copy One Screen Layout to Another User|http://www.sbonotes.com/2008/03/how-to-copy-one-screen-layout-to.html]
Maybe you are looking for
-
XI_J2EE_ADAPTER_JDBC INITIALIZATION_ERROR
Hi experts, file to JDBC the follow error occurs: Status System Error Repeatable Yes Cancelable Yes Error Category XI_J2EE_ADAPTER_JDBC Error Code INITIALIZATION_ERROR Start 04.02.2009 12:16:56 End 04.02.2009 12:31:56 Send
-
IMessage beta problem, how do I uninstall it?
I installed iMessage beta (free) on my MacBook Pro with Mac OS X 10.7.3 and began messaging a friend, "Sue". My daughter received those messages I sent to Sue as though she wrote them herself and I began receiving messages my daughter sent to Sue. S
-
Hi all, I have a problem with PR creation by BAPI_PR_CREATE. We use ECC 6.0. We have one non-character field in CI_EBANDB. I know, it isn't correct, but we have this field. And there is a BAdI to solve this problem: IF_EX_ME_BAPI_PR_CREATE_02~MAP2I_E
-
When will I get my iPhone 6 plus?
VVerizon rep please help. Ordered two 64 gb iPhone 6 pluses one black one silver. Ordered on 9/12. Should of gotten them today, any word on when they will arrive??iPhone 6
-
Can't see iTunes or apps in iCloud
hi when i got to icloud all i have is mail cal find my phone and work i cant see itune or apps etc.could someone help please