How to see lock status of a table ?
Hi,
My question is : how to see the lock status of a table ?
and how to lock a table except run the FM ENQUEUE_TABLENAME?
Is there any transcation that can lock a table ?
thx in advance.
Hi Vincent
Via transaction SM12 we can check the lock entries at a particular point of time...
Kind Regards
Eswar
Similar Messages
-
How to see system status in spro. How to assign business transaction to user status.
Hi All,
How to see system status in spro. can we change system status in spro for maintenance order.kindly share.
Also share how can we assign business transaction to user status for maintenance orderPeter,
You cannot see the system-status in SPRO.
You can view the system-statuses via BS23.
Be warned - it is NOT advisable to change the system-status setting as you may screw-up your system. Remember that many statuses are used across multiple objects and multiple modules.
PeteA -
How to see tax rate in KONV table
hi all,
how to see tax rates in KONV table?
please helpHi
There is a field called "TX" i.e. TAX CODE.. in that check what code is that?? then check the TAX table T007A to find the Tax rate applied for the document based on the respective TAX CODE.
Hope this helps. -
How to see lock on table and query?
Hi All,
How do we see lock on table and query?
Thanks,
RafiYes Rafi,
It is working fine at my end. See below:
Opened Session 1 with scott/tiger and:
update emp set ename='xx' where empno=7499;
Opened Session 2 with scott/tiger and:
update emp set ename='xx' where empno=7499;
<<Its lock here>> This session is locked by above one.
Opened Session 3 with sys/pw as sysdba and:
SQL> set serveroutput on
SQL> BEGIN
2 dbms_output.enable(1000000);
3 for do_loop in (select session_id, a.object_id, xidsqn, oracle_username, b.owner owner,
4 b.object_name object_name, b.object_type object_type
5 FROM v$locked_object a, dba_objects b
6 WHERE xidsqn != 0
7 and b.object_id = a.object_id)
8 loop
9 dbms_output.put_line('.');
10 dbms_output.put_line('Blocking Session : '||do_loop.session_id);
11 dbms_output.put_line('Object (Owner/Name): '||do_loop.owner||'.'||do_loop.object_name);
12 dbms_output.put_line('Object Type : '||do_loop.object_type);
13 for next_loop in (select sid from v$lock
14 where id2 = do_loop.xidsqn
15 and sid != do_loop.session_id)
16 LOOP
17 dbms_output.put_line('Sessions being blocked : '||next_loop.sid);
18 end loop;
19 end loop;
20 END;
21 /
Blocking Session : 139
Object (Owner/Name): SCOTT.EMP
Object Type : TABLE
Sessions being blocked : 134
PL/SQL procedure successfully completed.HTH
Girish Sharma -
How to see all statuses maintained for campaigns in Customization.
Dear all,
Where can we see all statuses maintained for Campaign in Customization.
Under Basic Data in Campaign Screen, I can see Open, Approved and Released campaigns but when I search for these campaigns in customization, I couldn't find.
Where we are maintaining these statuses and how we assigning it to the Campaign Object.
Your suggestions will be highly appreciated.
Best regards
Raghu ramHi,
I have checked there(Transaction CRMBS02), but I can not see the system statuses over there.
How can I see the following system statuses visible in campaign-->Basic Data Screen.
Created
· Released
· Finished or Rejected
· Locked
· In Process
· Approved
Your help will be highly appreciated.
Best regards
Raghu ram -
How to see all the list of tables in APEX
Hi
COuld anyone of you help me find out how to see all the tables present in APEX ?
I can see all the list of tables when i give the command : select * from tab
But apart from finding like this , is there any way to find out all the list of tables ?
Regards,
TashaHi Tasha,
For Apex 3.2 ;
select * from dba_tables where owner in
(select workspace from APEX_030200.APEX_WORKSPACES)
tab is a synonym for user_tables
http://www.oreillynet.com/pub/a/network/2002/10/28/data_dictionary.html
hope this helps you
regards
mozkavra -
How to check lock status of field in current document?
Hi,
How to check the status of field in current document(master agreement), that is whether its locked or not.
I locked "Publish to Supplier" checkbox after MA is saved first time. Now, I want to check the status whether this field is locked or not in the same document.
IsLockOwner( ) is not returning the correct value. Its not giving the current document field lock status.
Is there any way to get current document field status?
Thanks,
SaloniHi,
If I understand correctly, your requirement is to get the value of this field "Publish to Supplier on". It can be achieved by writing the below:
isVendorVisible = doc.getExtensionField("VENDOR_VISIBLE").get();
Meaning, if the box is checked, it will return a value = true and if not then false.
Hope this helps,
Regards,
Vikram Shukla -
How to change the status in the table kssk
Hi ,
In document management system - for a doc type pdf, I am maintaing the class (cl_xxx) in img setting. some charateristics are assigned to that class (with entry required).
My problem is While creating the document (cv01n). I am not assigning the value for that char ( i.e in addition data), eventhough it is mandatory .
In the table kssk , For that particular document , status is set to 5 . how to change the status .
note :
In cv04n - if i search wrt to that charateristic in the classification tab. i am not able to get the value.
Please help me to solv the problem.
Regards,
Rani.hi you can do like this also if it is a test server..and y had the authoridation..
togo the table -supposekkkk-execute-select a particular record--double click it ---then it will display it in the vertical line..
then put /h in the tcode listbox and put enter--debugg it and change this if code = 'SHOW' as EDIT. execute it and change it and save it..
regards,
venkat. -
How to display an status Icon in Table UI web dynpro ABAP?
Hi Experts ,
How to display an status Icon ( Traffic light ) in Table UI web dynpro ABAP? can somebody tell with a coding example. also I need to update status on condition so whats the best way?
Thanks in advance.
Regards,Hi Laeeq,
click on table cntrol n place it on the screen..
now click on the icon button n place it in the table control area.. a column of icons get created. name it (say) ICON.
in the PBO..
loop at internal table and call module in the loop (say) .
MODULE ICON_DISP.
now in the module try the foll code :
module icon_display output.
check some condition and assign the icon to the variable icon_r
icon_R = 'ICON_GREEN_LIGHT'.
CALL FUNCTION 'ICON_CREATE'
EXPORTING
name = ICON_R
TEXT = ' '
INFO = ' '
ADD_STDINF = 'X'
IMPORTING
RESULT = ICON
EXCEPTIONS
ICON_NOT_FOUND = 1
OUTPUTFIELD_TOO_SHORT = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endmodule.
where icon(35) and icon_r(35) type c .
hope this helps u..
Regards
Aparna -
How to see the status of a FM IN BACKGROUND TASK?
Hi experts,
If I call a FM IN BACKGROUND TASK addition. I can't Debug the FM called in BACKGROUND TASK. Then whether there is a way to see the status of this FM IN BACKGROUND TASK? I want to know this task is finish or not.
Thanks.Hi Kelvin,
I am also facing similar problem. I have come across few documents which have suggeted the way to test the FM in background. For this you will have to change the debugging settings, its in the Settings->Display and change all. Check the oprion for In background task.
A good document on settings of debugging.
http://www.sappro.com/downloads/Settings&SystemAreas.pdf
Regards,
Sana. -
Hi. Just installed my mothers printer, using HP's website (for driver and diagnostic)It has told me to install the printer, using Windows own standard driver. It works (the printer is conneted with a network cable). My issue is that I can't see how much ink I have left. -How to see that? Reguards
Hi , Thank you for visiting the HP Support Forums! I see you have installed your HP Photosmart 8450 to your computer running the Windows 7 Operating system. You installed using the built in Windows driver and would like to check the estimated ink levels. Please be sure to check out the FAQs: Installing and Using the Windows Built-in Print Driver Because you are not using the full feature software and drivers they features will be limited, it says you can check the ink levels on the front panel (if available) or you can print a self test page. On page 46 of your User Guide it shows how to print a Test Page: 1. Press Menu.
2. Select Tools, then press OK.
3. Select Print test page, then press OK.
4. Following the directions on the printer screen, load paper so the printer can print
a test page. Use plain paper to conserve photo paper.
5. Press OK to begin printing the test page. I hope this helps! -
hi,
i m working on an application made in oracle 10g developer, & database is oracle 10g on aix ,
some times i get some problem when user save any data through forms it gets hanged ,
so tell me how to get rid of it , when i try to do it from sql navigator i see massges session is busy .
so y this eror i m getting & how to resolve it.
thxsHere you have some scripts:
rem
rem FUNCTION: Report all DB locks
rem
column osuser format a15 heading 'User'
column session_id heading 'SID'
column mode_held format a20 heading 'Mode|Held'
column mode_requested format a20 heading 'Mode|Requested'
column lock_id1 format a10 heading 'Lock|ID1'
column lock_id2 format a10 heading 'Lock|ID2'
column type heading 'Type|Lock'
set feedback off echo off pages 59 lines 131
start title132 'Report on All Locks'
spool rep_out\&db\locks
select nvl(a.osuser,'SYS') osuser,b.session_id,type,
mode_held,mode_requested,
lock_id1,lock_id2
from sys.v_$session a, sys.dba_locks b
where
a.sid=b.session_id
order by 2
spool off
pause press enter/return to continue
clear columns
set feedback on echo on pages 22 lines 80
set headingsep ='|'
set lines 160
set pagesize 20
ttitle 'Database Locking Conflict Report'
btitle 'Mode Held = indicates the user holding the lock|Mode Request = indicates the user waiting on the later to finish to establish lock||** End of Locking Conflict Report **'
column username format a10 heading 'User'
column terminal format a15 heading 'Application|PC'
column object format a15 heading 'Table'
column sql format a15 heading 'SQL'
column sid format 999 heading 'SID'
column lock_type format a15 heading 'Lock|Type'
column mode_held format a11 heading 'Mode|Held'
column mode_requested format a10 heading 'Mode|Request'
column lock_id1 format a8 heading 'Lock ID1'
column lock_id2 format a8 heading 'Lock ID2'
column first_load_time format a19 heading 'Requested'
break on lock_id1
select a.sid,
username,
terminal,
decode(a.type,'MR', 'Media Recovery',
'RT', 'Redo Thread',
'UN', 'User Name',
'TX', 'Transaction',
'TM', 'DML',
'UL', 'PL/SQL User Lock',
'DX', 'Distributed Xaction',
'CF', 'Control File',
'IS', 'Instance State',
'FS', 'File Set',
'IR', 'Instance Recovery',
'ST', 'Disk Space Transaction',
'IR', 'Instance Recovery',
'ST', 'Disk Space Transaction',
'TS', 'Temp Segment',
'IV', 'Library Cache Invalidation',
'LS', 'Log Start or Switch',
'RW', 'Row Wait',
'SQ', 'Sequence Number',
'TE', 'Extend Table',
'TT', 'Temp Table', a.type) lock_type,
decode(a.lmode,0, 'None', /* Mon Lock equivalent */
1, 'Null', /* N */
2, 'Row-S (SS)', /* L */
3, 'Row-X (SX)', /* R */
4, 'Share', /* S */
5, 'S/Row-X (SSX)', /* C */
6, 'Exclusive', /* X */
to_char(a.lmode)) mode_held,
decode(a.request,
0, 'None', /* Mon Lock equivalent */
1, 'Null', /* N */
2, 'Row-S (SS)', /* L */
3, 'Row-X (SX)', /* R */
4, 'Share', /* S */
5, 'S/Row-X (SSX)', /* C */
6, 'Exclusive', /* X */
to_char(a.request)) mode_requested,
to_char(a.id1) lock_id1, to_char(a.id2) lock_id2,
c.object object,
d.sql_text sql,
e.first_load_time
from v$lock a, v$session, v$access c, v$sqltext d, v$sqlarea e
where (id1,id2) in
(select b.id1, b.id2 from v$lock b where b.id1=a.id1 and
b.id2=a.id2 and b.request>0) and
a.sid = v$session.sid and
a.sid = c.sid and
d.address = v$session.sql_address and
d.hash_value = v$session.sql_hash_value and
d.address = e.address
order by a.id1, a.lmode desc
set headingsep ='|'
set lines 160
set pagesize 20
ttitle 'Database Locking Conflict Report'
btitle 'Mode Held = indicates the user holding the lock|Mode Request = indicates the user waiting on the later to finish to establish lock||** End of Locking Conflict Report **'
column username format a10 heading 'User'
column terminal format a15 heading 'Application|PC'
column object format a15 heading 'Table'
column sql format a15 heading 'SQL'
column sid format 999 heading 'SID'
column lock_type format a15 heading 'Lock|Type'
column mode_held format a11 heading 'Mode|Held'
column mode_requested format a10 heading 'Mode|Request'
column lock_id1 format a8 heading 'Lock ID1'
column lock_id2 format a8 heading 'Lock ID2'
column first_load_time format a19 heading 'Requested'
break on lock_id1
select a.sid,
username,
terminal,
decode(a.type,'MR', 'Media Recovery',
'RT', 'Redo Thread',
'UN', 'User Name',
'TX', 'Transaction',
'TM', 'DML',
'UL', 'PL/SQL User Lock',
'DX', 'Distributed Xaction',
'CF', 'Control File',
'IS', 'Instance State',
'FS', 'File Set',
'IR', 'Instance Recovery',
'ST', 'Disk Space Transaction',
'IR', 'Instance Recovery',
'ST', 'Disk Space Transaction',
'TS', 'Temp Segment',
'IV', 'Library Cache Invalidation',
'LS', 'Log Start or Switch',
'RW', 'Row Wait',
'SQ', 'Sequence Number',
'TE', 'Extend Table',
'TT', 'Temp Table', a.type) lock_type,
decode(a.lmode,0, 'None', /* Mon Lock equivalent */
1, 'Null', /* N */
2, 'Row-S (SS)', /* L */
3, 'Row-X (SX)', /* R */
4, 'Share', /* S */
5, 'S/Row-X (SSX)', /* C */
6, 'Exclusive', /* X */
to_char(a.lmode)) mode_held,
decode(a.request,
0, 'None', /* Mon Lock equivalent */
1, 'Null', /* N */
2, 'Row-S (SS)', /* L */
3, 'Row-X (SX)', /* R */
4, 'Share', /* S */
5, 'S/Row-X (SSX)', /* C */
6, 'Exclusive', /* X */
to_char(a.request)) mode_requested,
to_char(a.id1) lock_id1, to_char(a.id2) lock_id2,
c.object object,
d.sql_text sql,
e.first_load_time
from v$lock a, v$session, v$access c, v$sqltext d, v$sqlarea e
where (id1,id2) in
(select b.id1, b.id2 from v$lock b where b.id1=a.id1 and
b.id2=a.id2 and b.request>0) and
a.sid = v$session.sid and
a.sid = c.sid and
d.address = v$session.sql_address and
d.hash_value = v$session.sql_hash_value and
d.address = e.address
order by a.id1, a.lmode descCheers,
Francisco Munoz Alvarez
http://www.oraclenz.com -
Hi everyone,
I have a small question. How do I see if a PEP is closed or open in ABAP?
Is there a standard function to do this validation? If no then what tables and validations do I need to do?
Thanks in advance.Hi
Use this and try
BAPI_BUS2054_GET_STATUS
BAPI_BUS2002_GET_STATUS
Thanks
S.murali -
How to see all the data base tables in sap
hi all,
i wanted to see the table ALBTCMON but i cannot and i want to know how to activate a table?
thanks for your time
chanduHai,
Why do you want to create a Table?
More over the table ALBTCMON you have mentioned should not be created because SAP allows only Tables with names starting with 'Y' or 'Z'.
Also you should know the fields, Developement class, etc., before creating the Table in SAP.
Please check the below link to create Table in SAP.
http://abaplovers.blogspot.com/2008/02/creating-table-in-sap.html
Use Tcode SE11 to activate your table.
Regards,
Yoganand.V
Edited by: Yoganand Vedagiri on Dec 29, 2008 12:15 PM -
How to see battery status while playing a game
Some games seem to close off menu bars and everything else.
My daughter plays the sims 3 and sometimes uses battery power, but she always panics that the mac will just shut down due to lack of battery power.
How does she see what the power is at while playing the game?
Its normally just in the menu bar, but like i say this game overrides all that info until the game has been quit.
Thanks.Anybody?
Maybe you are looking for
-
Navigation Panel issues in Acrobat X
Is there a quick way to navigate through PDFs? It used to be you could detach the navigation panel and then have it available; a click and you could jet to the front or back of a document, or the previous view (very useful). Now you have to fish thro
-
Default the active button in a dialog
Hi All, I'm trying to find a way to default the focus onto the 'No' button in a Yes/No dialog box. I tried making a Yes and a No button using the execDialog with the first_tab property set to the No but it doesn't want to work for me. Thanks in advan
-
Is there a social network for iMessage users?
I do not have any contact on my iMessage and therefore rarely use. Do not think that would be a funny a sort of portal / social network for Mac users and / or iMessage, where each member would have their profile, where would share photos, their taste
-
Since i upgraded to 3.6 my kkkeyboardbbehavcvior is crazyyyyyyyyyyyy
since the upgrade a couple of weekks ago my keyboard had been intermiitently nuts (having to plug it in over and over)) and it's evennnnnnn worse siooooooonce yesterday's upgrade. 10.4.11
-
Mac Mountain Lion & Adobe Reader & Flash Player
My Mac computers, currently running Snow Leopard and Lion, will be upgraded shortly to Mountain Lion (Mac OS 10.8.2). Are Adobe Reader & Flash Player supported?