How to check the Lock Entries Dynamically
Hi
I have a list of Objects in an internal table and i want to know which one of these objects are locked by another users.
I am using SAP standard Lock object 'EPNODE' and its FM 'ENQUEUE_EPNODE ' to Lock the entries.
Please suggest how i can find among a list of objects, which one are locked.
Please suggest any transparent table which hold lock entries or any Function Module which check for lock entries.
Thanks in adavance
Hi
Just double click on the FM, it will take you to SE37
click on IMPORT tab there you find import parameters against which there is the associated type
you need to declare your variables(parameteres) according to these associated types
whatever the FM it may be, the process is same
Hope this would solve your problem
Regards
Ramchander Rao.k
Similar Messages
-
How to check the locks in a table
Hi
Can any one tell me the commands to check the locks and get rid of the locks in a table.
Thanks and Reg
Debashisv$lock
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/manproc.htm#sthref764 -
How to check the data type dynamically
hi all
my requirement is like this in one screen field which is of character type user is inputing data .
now while saving to the database i have to apply one external check for this data if it is integer type or not
as this data on the screen is refrenced to the database so i can not change the data type on the screen itself .
i have to check it externally from PAI ....... would any one please help on this
Thanks and regards
PappsHi
Thanks again you are right i missed the space one ..
but Now another problem...
I have tried that but in that case even user can input data by mistake like this
123 4 but this is not an integer it should also give error as this is also not a correct integer ...
as par asi think . we have to aain check if there is any spaces in the data provided i guess or
is there any other procedure ? -
[Help] How to check the object locks held by a specific thread?
As the title I want to check locks held by a specific thread. How can I do this? In Java lock is acquired and release automatically by stating synchronized keyword. I have no idea on how to check the lock status and who owns whick lock.
Regards,
SkeeterLook for the method:
public static native boolean holdsLock(java.lang.Object);Its in the java.lang.Thread class. It will check the lock status for an object for the calling thread. -
How to identify the locks in oracle db objects? i dont have access to check
How to identify the locks in oracle db objects? i dont have access to check the v$lock or v$ objects. i dont have dba access. what are the symptoms for table, row or objects lock? how v guess it would be lock?
Thanks in advance friends..I believe you will have to call your DBA on the phone in that case.
You can query something with a select ... for update nowait.
If it raises an exception you can handle it within a when section.
-- Running in one session
SQL> create table t1 as select 1 col1 from dual;
Table created
SQL> select * from t1 for update nowait;
COL1
1
SQL>
-- now running in a different session
SQL> select * from t1 for update nowait;
select * from t1 for update nowait
ORA-00054: resource busy and acquire with NOWAIT specified
SQL> set serveroutput on
SQL>
SQL> DECLARE
2 CURSOR cur1 IS
3 SELECT col1 FROM t1 FOR UPDATE NOWAIT;
4 v_col1 NUMBER;
5 locking_error EXCEPTION;
6 PRAGMA EXCEPTION_INIT(locking_error, -00054);
7 BEGIN
8 OPEN cur1;
9 EXCEPTION
10 WHEN locking_error THEN
11 dbms_output.put_line('Busted locking my rows!');
12 END;
13 /
Busted locking my rows!
PL/SQL procedure successfully completed
SQL> Now, surely you won't be able to tell anything else other than there was something locked there.
But none of the details you would find in the views. -
How to create a lock object dynamically ?
Hi all,
I have a report with a selection screen having one parameter in which the user can put a table name(Custom table) and some other paremeters.Based on these parameters I need to delete records from table put on the selection screen.Before deeting I need to lock the table. As beforehand I dont know the table name how can I create lock object dynamically lock my table ?
Please suggest some idea...Hi,
check below link
lock objects
http://help.sap.com/erp2005_ehp_03/helpdata/EN/7b/f9813712f7434be10000009b38f8cf/frameset.htm
Regards,
Madhu -
How to check the memory and CPU usage on NPU
Hi expert ,
Could you tell me how to check the memory and cpu usage on NPU?
I think ASR1000 has this command (show platform hardware qfp active...) , but I coudn't find the same command on ASR9001.
I checked " show controllers np counters all" command, but I did not find it.
Platform: ASR9001
version: 4.3.2
NP: Tyhoon
Thanks,Hi Kanako,
understand your question, but something like that doesnt exist for the trident/typhoon NPU's for the asr9k.
in fact cpu usage is not really applicable for parallel/serialized hardware forwarders, but mainly the KPI is here
the PPS it handles.
The max pps it can handle is dependent on feature set.
What you could do is measure the rates on the PARSE_FABRIC_RECEIVE count (packets received from fabric, so egress direction), PARSE_ENET_RECEIVE count (packets received from the interface to the fabric, so ingress) and the LOOPBACK count, that is packets that are recirculated for extra processing. The sum of these 3 gives an idea of the PPS rate the NPU is working on.
Memory consumption is something tricky also, there are many memories attached to the NPU, notably:
TCAM used for vlan matching, ACL and QOS matching
Search memory for L2 and L3 (shared on Trident, separated on Typhoon)
Frame memory for packet bufferin in QOS
Stats memory, for all kinds of counters of QOS maps, interface stats etc
their usage is rather dynamic also.
The few things you want to verify on these are:
- ACL usage (in terms of Tcam entries)
- MAC table size (2M max on typhoon)
- FIB size (4M max on typhoon)
frame memory is dependent on the buffering, which is a sum of all the packets instant queue length and size of all pmaps attached to interfaces served by the same NPU. there is no good overview as to how much you have available of that, but it has a rather significant size 1G or 2G depending on the TR or SE cards (typhoon specific).
regards
xander
Xander Thuijs CCIE #6775
Principal Engineer
ASR9000, CRS, NCS6000 & IOS-XR -
How to check the verity version in our PeopleSoft Installation?
How to check the verity version in our PeopleSoft Installation? I am not sure if the verity is installed or not and also if installed what is the version?
yes. it says the version is 5.0.1
Is there any difference in installation or configuration when the app and web server are in same machine and when the app and web server are installed in different servers?
============================================
D:\fs840\webserv\peoplesoft>mkvdk
mkvdk - Verity, Inc. Version 5.0.1 (_nti40, Jul 23 2004)
Usage: mkvdk [<option>...] <filespec>...
Where <option> can be a VDK switch, or any of:
-about Show the collection's about resources
-autodel Delete bulk insert file when no longer needed
-backup <dir> Specify collection backup location
-bulk Submit bulk insert file(s)
-charmap <name> Specify the character map to VDK
-collection <path> Specify the collection (required)
-create Create the collection
-credentials <user> Specify user[:passwd][:domain][:mailbox]
-datapath <path> Specify VDK datapath
-datefmt <fmt> Specify date format to VDK
-debug Enable debugging output
-delete Delete documents
-description <desc> Set the collection's description
-diskcache <num> Set VDK's disk cache size (kbytes)
-extract Extract field values from text
-help Print this usage information
-insert Insert documents (default)
-locale <locale> Specify the locale to VDK
-logfile <file> Save output in a log file
-loglevel <num> Set the VDK output level for the log
-mailboxes This option is depracated. Use the credentials option inste
ad
-maxfiles <num> Set VDK's maximum number of open files
-maxmemory <num> Set VDK's maximum memory usage (kbytes)
-mode <mode> Set the indexing mode
-modify Modify fields using field/value pairs from a bulkfile
-nohousekeep Disable housekeeping
-noindex Disable indexing
-nolock Turns off locking (dangerous)
-nooptimize Disable optimizations
-nosave Don't save collection work list
-noservice Prevents servicing of submitted work
-nosubmit Don't submit work to VDK
-numdocs <num> Number of documents to insert from bulk insert file(s)
-numpages <num> Synonym for diskcache for backward compatibility
-offset <num> Specify offset into bulk insert file(s)
-online Flag for online Bulk Modify
-optimize <spec> Optimize the collection
-outlevel <num> Set the VDK output level
-persist Service the collection forever
-purge Remove all documents from collection
-purgeback Purge in the background
-purgewait <secs> Specify delay before purge
-quiet Suppress all non-error messages
-repair Repair the collection
-servlev <spec> Advanced option for overriding service level
-sleeptime <secs> Interval between service calls for persist
-style <dir> Specify style directory for create
-submit Synonym for noservice for backward compatibility
-synch Perform work synchronously
-topicset <path> Specify VDK topic set
-update Update documents
-vdkhome <path> Specify VDK home
-verbose Output more information
-words Build word assist list
-wordindex Build word assist index
The <spec> for -optimize is a hyphenated string of:
maxmerge Perform maximal merging of partitions
squeeze Recover space from deleted documents
vdbopt Build optimized VDB's
spanword Create word list spanning all partitions
ngramindex Create ngram index into spanning word list
maxclean Really clean (not for read-write)
readonly Make the collection read-only
tuneup Fully optimize for read-write use
publish Fully optimize for read-only use
The <spec> for -servlev is a hyphenated string of:
search Enable search and retrieval
insert Enable adding and updating documents
optimize Enable opportunistic collection optimization
assist Enable building of word list
housekeep Enable housekeeping of unneeded files
delete Enable document deletion
backup Enable backup
purge Enable background purging
repair Enable collection repair
dataprep Same as search-index-optimize-assist-housekeep
index Same as insert-delete
Error: must specify collection
mkvdk done
D:\fs840\webserv\peoplesoft> -
How to find the LOCKED ROWS in a table?
Not locked objects, but for a table the locked rows.
Check below links :
http://www.jlcomp.demon.co.uk/faq/locked_rows.html
How to find the locked row.
who are waiting for same record?
HTH
Girish Sharma -
How to tracke the new entries in database table ?
Hi,
How to tracke the new entries in database table ? is there any FM or report is there to check it ?
regards
vishnuHi Vishnu,
u can write a report program for this and in that use the event :
AT NEW <field-name> ( use primary key)
your statements
ENDAT
for eg.
loop at itab ( herfe itab must be of type of table for which u want to track new entries)
at new matnr
write:/ new record
endat
endloop.
schedule this report in background to run in every 5 or 10 mins as per your requirement and hence changes can be tracked.
regards
Vinod -
How to Reverse the Part1 entries
Hello,
We have received the Some goods, at the time of GR we choosed the option "Only Part1 entry"
So in this case J_1IPART1 table updates the qty field and system will not generate any Doc NO(Internal Number) here.
So we donot want to take the MODAVT for this material(bcz this is Diffence material). We want to cancell only PART1 entries from table .Bcz we were unable to reverse the goods( qty was already consumed).
How to cancell the part1 entries, in these table there was no Internal number
Note: If material doc was not updated J_1IPART1 table, then we updated from J1I5 t.code, is there any option is there to reverse only Part1 entries.
Regards
Mahesh NaikHi,
1) If you dont want to cancel material document : In this case go to T. Code J1IS and select the option "delete" (a bin symbole made on menu bar). Then enter Internal No and year , then save it. But here you are saying while taking goods receipt Internal no is Not generated so i think this solution will not work for you.
Through J1IS t.code cancellation was not possible, Bcz in this case we have no internal number
2) Now you have to Cancel the material Document : Go to MIGo T. Code. and select " Return Delivey" Instead of Cancellation and with reference to Material document save the document. In this way material document will be cancelled and part One entry will be reversed. But make sure that in Configuration of Movement type of CIN is having 122 Mvt type
We have checked in configuration there 122 mov type was available, if suppose we choose the rerurn delivery then system will reverse the goods(The perticular material doesnot have stock, stock is Zero). Is it reverse Part1 entry. then shall i go for One more time GR? how to do it? -
How to check for locks on a material - without using Enqueue function
Hi
We have a requirement in which - we need to check the lock ( exclusive ) on a material before we call the BAPI to update the material.
I don't want to actually lock the material before calling the BAPI - the BAPI itself acquires the lock as a part of its processing. All I want to do is to check whether lock on a material exists before calling the BAPI - thus avoiding any lock related issues on the material in the BAPI call.
How do we just merely check whether material is locked - any standard function module /SAP tables where in material lock is stored that we use/interrogate ?
Correct answers will be promptly rewarded.Hi ,
There is standard function enqueue_read ,based on material number .
Pass the material number to FM ENQUEUE_READ if sy-subrc = 0 then material is locked otherwise not .
Please reward if useful. -
How to check the availability of a SCS-Instance
Hi.
We want to use HP serviceguard for our HA solution - but we do not want to pay so much money for the SAP serviceguard extensions. So we do it ourselves...
My question: how to check the availability of the SCS-Instance on regular basis on os level?
- is it enough to check the enqueue and message server process? I don't think so :o)
- is it enough to check the latest entry of this file?
/usr/sap/<SID>/SCS<SYSNR>/work/available.log
some typical entry of this file looks like these:
Unavailable 30.04.2009 17:03:07 - 04.05.2009 11:32:33
Available 04.05.2009 11:33:33 - 05.05.2009 17:33:05
Available 05.05.2009 17:35:36 - 05.05.2009 17:35:36
Available 05.05.2009 17:37:51 - 06.05.2009 08:49:11
Other ideas?
Thanks for your help!
MartinHi,
what type of script you want to run at OS level, u can check the status in MMC itself if you are using windows or u can check the status in index.html informaiton page or u can use JCMON at OS level to check the status.
-Srini -
CIN: How to check the material document posted without excise invoice
Hi Guru,
Please advise how to check the material document posted without excise invoice.
I have tried tcode J1I7 but it seems start to collect the excise invoice first and then material document.
But my case is to find the material document WITHOUT excise invoice for internal tracking purpose.
At the moment we start from tcode MB51 to get the list of material document and check in J_1IEXCHDR / J_1IEXCDTL
Best regards,
PakornHi,
Try creating a Query in Tcode SQVI by combining tables MKPF and J_1IEXCHDR/J_1IEXCDTL for your requirement.
Check these threads how to create Query.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6018c1ae-8c44-2d10-6ea9-c3fad2c82880?QuickLink=index&…
http://ptgmedia.pearsoncmg.com/images/9780672329029/samplechapter/0672329026_CH03.pdf
Regards
Binoy -
How to check the messages in solution manager?
hai experts !
how to check the messages in solution manager?
in which transaction do we see them?Hi Kiran,
From what I gather from your brief question, you are perhaps looking for CRM_DNO_MONITOR that would display all queries created from Satellite/SolMan system itself, as support messages.
If you are looking for Notifications underlying those messages, please look for DNOTIFWL.
For more specific answers, please provide more description of what you are looking for.
Trust this helps.
Regards,
Srini
Maybe you are looking for
-
Hi, Is there any Material Forecast - Report. We want the following columns Material no. Material Description Material Group Month Wise Forecast Values Please let me know if we can get any report with the above following values from Standard SAP. Also
-
ARB Issue: Font Embedding Reprise
Posted today: http://opensource.adobe.com/wiki/display/flexsdk/Font+Embedding+Reprise Please comment by Friday (04/10/09) morning. Thanks.
-
Nokia 700 won't install apps?
I have a new Nokia 700. Updated firmware, connected to Telstra, connected to the web but can't install any apps. It downloads then gives error "can't install". Solved! Go to Solution.
-
Absolutly no response... at all!
I have no response from my ipod at all! Even when connecting it to a computer or charger, it refuses to show any sign of being alive! I can't even restore it because the updater doesnt even realise it is there. Resetting doesnt work either. I do reme
-
Where are the camera settings?
I've been looking around the settings in Skype and I can't find anywhere to choose a camera (plugged into my Android TV box) or to change its settings (brightness etc). "Cogito, ergo es. I think, therefore you is." Ray D. Tutto (King of the Moon) to