The CG$ASK_COMMIT alert is being generated from designer but from where??
I am generating oracle forms from designer and the generated form contains an ALERT called CG$ASK_COMMIT. My question is, which generator property, specifies this ALERT?? I have looked everywhere? I am trying to change the alert type, style, wording without modifying the form after generation.
Any help would be great.
Thanks in advance,
Terry
I don't know if there is preference for it. What we do is put this in the when-new-form-instance:
l_alert_id := FIND_ALERT('CG$ASK_COMMIT');
IF NOT ID_NULL(l_alert_id) THEN
SET_ALERT_PROPERTY(l_alert_id,ALERT_MESSAGE_TEXT,'<your message>');
SET_ALERT_BUTTON_PROPERTY(l_alert_id, ALERT_BUTTON1, LABEL, '<your label>');
SET_ALERT_BUTTON_PROPERTY(l_alert_id, ALERT_BUTTON2, LABEL, '<your label>');
SET_ALERT_BUTTON_PROPERTY(l_alert_id, ALERT_BUTTON3, LABEL, '<your label>');
END IF;
Similar Messages
-
Hi guys,
I'm having quite a little trouble in doing one thing which has been done for several times but which is giving me a hard time...
I've created a bpm process which in an error condition will trigger a simple alert.
I've tested the process and everything goes allright, except the alert. What is happening? Well, the alert is not being sent to my inbox. Why? Maybe because the alert is not being generated.
I've went to sxmb_moni_bpe and everything is OK. I can see the message of the alert being fired. After that I went to slg1 to see if my alert is being generated, and the answer is no. It's not being generated....
I've gone through Michal's blogs and everything was checked...The question is, if I execute RSALERTTEST with my alert category, the alert is generated and send to my inbox. Do you have any ideas?
Thanks a lot for your attentionHi,
Yes the job scheduling is needed only for Sp14 and below.
Can you recheck if the Alert is actually getting triggered or not in the BPM in the control step? Make sure that you have given the correct Alert Category in your Control Step and also, make sure that the recipient in your alert as well as the Alert Inbox entry you are seeing is the same.
Finally, refresh the Alert Inbox.
Regards,
Bhavesh -
Is it possible to monitor a particular Exchange 2010 mailbox via SCOM if 30 or more emails trigger in 30 minutes in the inbox and alert should be generated for that.
If this is not possible in SCOM. Is there another way we can do it via power shell or any thing.
Gautam.75801Hi,
We may need to create script based rule using PowerShell or VBScript.
Please go through the below links for command get-mailboxstatistics:
Exchange 2010 : http://community.spiceworks.com/topic/122241-scripting-to-count-all-of-the-messages-in-a-mailbox
Regards, Yan Li -
How to measure the frequency of a pulse being generated by a counter
Hi,
I am using labview 8.6 to generate 5 evenly spaced pulses for every 1 revolution of my shaft. However, I would also want to know the frequency of these pulses so I can determine the shaft speed. Since I am already generating the pulses using one of my counters, can I still tap into that or task another counter to measure the pulse frequency? If so, how? I have attached my code for generating the pulses and I am using an Ni 9401 module and an NI 9172 chassis. If someone can helo me modify the code to measure and tell me the pulse frequency as well, that would be really appreciated
Attachments:
autotrain2.vi 19 KBYou'd probably get a more coherent answer if you didn't bounce around from thread to thread so much...
How can I generate a pulse train from shaft encoder? (5/13)
pulse train from encoder (5/15)
how to measure rpm (5/20)
How to measure rpm using shaft encoder and labview (5/23)
This thread (also 5/23)
I see you ignored my suggestion from the other thread--Kevin's solution is good too but using an encoder task offers more noise immunity (I think this is probably the cause of the problem you reported on the other thread). You can fix it with digital filtering if you want to keep using a counter output instead of an encoder task. Noise during transitions is pretty common for a quadrature encoder.
A finite counter output task uses 2 counters on the 9172 (although you said 9174 earlier at one point--this wouldn't be the case on a 9174) so you wouldn't have one left to make your frequency measurement. With the solution you have now, you can change to continuous to free up a counter if you don't care about outputing an exact number of rotation's worth of pulses (I'm not sure if you do or not--I didn't read through all of the various threads relating to this application to find out).
For your actual question in this thread... Have you tried running one of the frequency measurement examples? From the code here I can't tell what you have tried (it just looks like a mangled version of the code Kevin gave to you in your other thread).
Best Regards,
John Passiak -
1. In the past ''most visited'' worked badly, frequently dissapearing but I can restore with View, Toolbar, Customize, Restore implicit set.
2. But from a week ''Most visited'' toally dissapeared an it is imposibble to restore.Should be in Bookmarks Toolbar items (Bookmarks > Show All Bookmarks, in the Library window, click on Bookmarks Toolbar and look for the blue folder/magnifier folders).
See:
*https://support.mozilla.org/en-US/kb/Smart%20Bookmarks%20folders#w_pre-installed-smart-folders
*https://support.mozilla.org/en-US/kb/Restore%20the%20default%20Smart%20Bookmarks%20Folders
How to create your own --> https://developer.mozilla.org/en/Places_query_uris
New Tab Page in Firefox 13 will show your 9 most frequently visited pages. This is a new feature and may not have all the "bells and whistles" that everyone wants. It will be similar to --> http://www.omgubuntu.co.uk/2012/02/how-to-try-firefoxs-new-speed-dial-page-in-ubuntu/
'''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
Not related to your question, but...
You may need to update some plug-ins. Check your plug-ins and update as necessary:
*Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
*Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
*Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
*Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
*'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox] -
Running shell command from Java, but from Windows Schedule Task?
I have a simple java program that will start a dos based program. The java program works great when I run it, but when I run it from the Windows Task Scheduler, the dox box that should pop up, does not. It is running because I can see it in the task manager but I can not see the command window.
Any ideas how to show the command window from a java application that is ran from Windows Task Scheduler?
Example program below. Runs fine by itself, should get a dos popup that issues the directory command, run it from the scheduler and it does not show the dos box. You can however see it in the Processes as CMD.exe.
import java.io.IOException;
public class Test {
* @param args
public static void main(String[] args) {
try {
Runtime.getRuntime().exec("cmd /k start dir");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}Now the my real program is quite a bit more complicated. It actually goes out and checks the status of an Oracle Database, if all the tablespaces are online, then the middle tier application is allowed to start. The middle tier application is started by my java application, and is comes up with a dos console which shows status and users connected to the database.Jag,
Actually, the question of whether it works for me seems to depend on the version of the OS (or Oracle). On RedHat Linux (Oracle 8.1.6) it didn't work at all, but on Solaris (Oracle 9.0.2) it did. Here's the output from that run:
SQL> /
output of the command run:
init.ora
initDBPart9i.DBPSun01.ora
initdw.ora
lkDBPART9I
orapw
orapwDBPart9i
spfileDBPart9i.ora
Done
PL/SQL procedure successfully completed.
But, I did need to change a line of your code to this:
Process p = Runtime.getRuntime().exec("/usr/bin/ls");
your original was:
Process p = Runtime.getRuntime().exec("ls");
You might consider, if possible, use of some of the Java File classes instead of ls, as this might make things more predictable for you. There were some examples in oramag.com a few months ago, but they were pretty simple (you might not need them).
Hope this helps,
-Dan
http://www.compuware.com/products/devpartner/db/oracle_debug.htm
Debug PL/SQL and Java in the Oracle Database -
Listener actually up as seen from backend but from console gets error
Hi
My SCAN listener is shown running from backend but is shown down from console.
response for listener shows below error.
Any suggestions/hints
Thanks
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 06-JUNE-2011 11:44:54 Copyright (c) 1991, 2010, Oracle. All rights reserved. Welcome to LSNRCTL, type "help" for information. LSNRCTL> Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1))) TNS-12541: TNS:no listener TNS-12560: TNS:protocol adapter error TNS-00511: No listener Linux Error: 2: No such file or directory LSNRCTL>Thank you for your help.
I am using a RAC database and this is the status
srvctl status scan_listenerSCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node oradb123
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is running on node oradb124
SCAN Listener LISTENER_SCAN3 is enabled
SCAN listener LISTENER_SCAN3 is running on node oradb124
srvctl config scan_listenerSCAN Listener LISTENER_SCAN1 exists. Port: TCP:1730
SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1730
SCAN Listener LISTENER_SCAN3 exists. Port: TCP:1730
[ oradb469:/home/oracle ]
srvctl config scanSCAN name: oemcrsp-xyz.net, Network:
1/10.180.5.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /oemcrsp-xyz.net/10.180.5.186
SCAN VIP name: scan2, IP: /oemcrsp-xyz.net/10.180.5.187
SCAN VIP name: scan3, IP: /oemcrsp-xyz.net/10.180.5.185 -
Identity Return from savechanges but from object type.
Hi,
I have written my code as follows
public int createPerson(PERSON ObjPersonProfile)
int i = 0;
if (ObjPersonProfile != null)
i = dataAdaptor.save(ObjPersonProfile);
return i;
public int save(object oObject)
try
SQLAdaptor ida = new SQLAdaptor();
EntityConnectionStringBuilder ecb = ida.efConnstr();
ef6Entities pef6Entities = new ef6Entities(ecb.ConnectionString);
pef6Entities.AddObject(oObject.GetType().Name + "s", oObject);
pef6Entities.SaveChanges();
catch (Exception ex)
return 1;
This is a common save method (http://geekswithblogs.net/danemorgridge/archive/2009/12/02/entity-framework-tip-building-a-reusable-save-method.aspx) which can be used for all entities. But now i need to return the latest id. This can be achieved in normal
scenario by <entity>.id. But i am not able to do so beacuse of the object type. Can some one tell me how i can return the new created value?
Thanks
Prachin SoparkarHello Prachin Soparkar,
>>But i am not able to do so beacuse of the object type. Can some one tell me how i can return the new created value?
You could try to use refection since the object type would be obtained at run time, and from the edmx medadata workspace, to obtain these primary key properties, and compare the object type property to check if current property is a PK, if so, set it value
and return it, here I made a demo, you could have a try:
class Program
static void Main(string[] args)
Order order = new Order() { OrderID = 3, OrderName = "3" };
var lastID = Save(order);
private static int Save(object order)
var lastID = 0;
using (DFDBEntities db = new DFDBEntities())
ObjectContext context = ((IObjectContextAdapter)db).ObjectContext;
context.AddObject(order.GetType().Name, order);
context.SaveChanges();
ReadOnlyMetadataCollection<EdmMember> PKs = (ReadOnlyMetadataCollection<EdmMember>)context.MetadataWorkspace.GetItems(DataSpace.CSpace).FirstOrDefault(i => i.BuiltInTypeKind.ToString() == "EntityType" && i.MetadataProperties["Name"].Value.ToString() == order.GetType().Name).MetadataProperties["KeyMembers"].Value;
var properties = order.GetType().GetProperties();
foreach (var property in properties)
if (PKs.Select(s => s.Name).Contains(property.Name))
lastID = (int)property.GetValue(order);
return lastID;
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
The Early Watch report is being send in mail but not in PDF.
Hi All,
We ahve recently configured CEN system which is configured for early watch report using mails but it is not being sent in pdf
it is being send in html.
Can some one pleas ehelp
Regards
YogeshHello Yogesh,
Earlywatch reports can only be generated in HTML and Word. Please take a look at below link for more details.
http://help.sap.com/saphelp_sm32/helpdata/en/87/50cce344ae495bae240add66a28ed7/content.htm
Thanks,
Siva Kumar -
I downloaded two songs from the lottery music store onto my iPhone 3 and played part of both of them and now I don't know where to find them? Please help me
Swipe your Home page to the far right and do a Search of your audio book.
-
I want to swap the language of my CS 6 Web and Design version from English to German.
How does this work, from where can I get the language files?
Change product platform or language
You can swap languages/platforms for a latest version product if you follow the instructions at the following link:
http://helpx.adobe.com/x-productkb/policy-pricing/order-product-platform-language-swap.htm l -
Database Server - SQL Access: Cannot connect from code but from SSMS
Hi,
I am using following connection string in my asp.net web.config:
[Less than symbol] add name="FMMConnectionString" connectionString="Data Source=xxxxxxxxx,1234;Initial Catalog=Test1Db;User Id=Rajeev;Password=xxxxxxxxxxxxx;" providerName="System.Data.SqlClient" [Slash][Greater than symbol]
The database is on remote database server. The sql user/ developer 'Rajeev' is deliberately given restricted permissions (to protect our schema) using following sql commands:
GRANT ALTER,EXECUTE, SELECT,INSERT,UPDATE,DELETE ON SCHEMA ::dbo TO Rajeev
DENY VIEW DEFINITION ON SCHEMA::dbo TO Rajeev;
GRANT CREATE PROCEDURE TO Rajeev;
GRANT CREATE FUNCTION TO Rajeev;
DENY ALTER ON SCHEMA::dbo TO Rajeev; -- To disallow Rajeev to create objects on dbo schema but only create in Rajeev schema while still being able to select, insert, execute on dbo schema.
The above connection string works perfectly fine when used from Visual Studio> Server Explorer. I am able to execute following sql queries without issues. Same is true when using SQL Server Management Studio using Rajeev credentials.
select top 100 * from XYZEmployees
execute usp_GetMMBSchemeDetails '1'
The error I get in web page is following:
The stored procedure 'usp_GetMMBSchemeDetails' doesn't exist.
When I ran code using breakpoints to see what is happening, I see that when connection object is being instantiated, the connection state is being closed with following error:
at System.Data.SqlClient.SqlConnection.GetOpenConnection()
at System.Data.SqlClient.SqlConnection.get_ServerVersion()
I turned off my firewall to see if it was blocking but it did not help. I tried using Visual Studio 2012 as well as Visual Studio 2013 but same issue showed up.
Kindly let me know why I am able to execute sql queries from SSMS and Visual Studio's Server Explorer but not from application code. Is there something that needs to be enabled on remote database server so that the queries can run from code? I like to create
more users like Rajeev with restricted permissions to develop my application. So kindly provide a solution if you know.
Thanks,
PulletThanks Everyone for your insights :)
RSingh, Your approach works when using SSMS, not when called from application code (example: asp.net code-behind page calling a stored proc using connection object).
My requirement is, I only wanted developer to do front end programming without having the ability to look at backend sql objects definitions. He/she can call the sql objects in the program as needed.
I am able to finally solve this requirement by following approach. Hope it helps others.
1. Right-click Rajeev user in Database> Security>Users and unselect 'dbowner' from 'General' tab> 'Database Role Membership' section even though Default Schema shows up as Rajeev schema. Now, this user can't do anything on dbo schema of database
(as well as in any other user's schema in this database).
2. Ran above commands but excluded following command which was identified as root-cause.
DENY VIEW DEFINITION ON SCHEMA::dbo TO Rajeev;
3. Now ran a script that denies 'view definition' of dbo schema's tables. It loops through all tables and denies 'view definition' on each table. Adapted the script of http://blog.extreme-advice.com/2013/01/23/grant-view-defination-permission-to-all-stored-procedures-in-sql-server/.
Now, the user Rajeev can execute dbo schema objects both from SSMS as well as from application code.
4. DENY EXECUTE, SELECT ON SCHEMA::INFORMATION_SCHEMA TO Rajeev; -- Restricts Rajeev from executing INFORMATION_SCHEMA objects seen in SSMS.
However one remaining open item is, I could not hide the system objects (which are part of sys schema) in SSMS. Ideally, I do not want Rajeev to execute the 'system views', 'system stored procedures', etc. When I execute same command (below command), it
runs without errors but does not apply this restriction.
DENY EXECUTE, SELECT ON SCHEMA::sys TO Rajeev;
If you know the reason why it is happening like this, please kindly share.
Cheers,
Pullet
Cheers | Pullet -
Mb1b movement 453 - profit center not from material but from sales order
Dear All,
we have the problem that by return process from sales order stock to free stock (453 movement) we would like to have the original Profit center from sales order, but as SAP standard it moves PC from material master.
we have implemented already oss 978159 sowie 1038490, but did not help.
Since days we try to find an uxer exit in MM or CO!? where we could write in the correct profit center. But unfortunately PC from material master pops up at the end of the process, and the system overwrites it again and again.
Had sy of you similair problem? can you please help with an user exit?
Thanks,
BBHi
I think this behaviour is correct.. Since you are moving from Sales order stock to Unrestricted stock, the PC from mat master would prevail...
As far as I know, this behaviour is correct
Regards
Ajay M -
Can i restore my iphone from icloud, but from a few months back?
can i restore my iphone from icloud from a previous back up, running back to may?
I believe only the most recent backup is saved in iCloud, if that's what you're asking. If you haven't done an iCloud backup since May, then you could restore from it. Otherwise, I believe it's been overwritten.
Here's a good article about iCloud backup and restore:
http://support.apple.com/kb/HT4859 -
Installed BC InfoObject 'X' - Can not find it from RSA1, but from RSD1
Hi all,
I have installed the Business Content InfoObject 0ME_REVO_PA. I could find this InfoObject from RSD1 and it is active. I could see it in Business Content section also with Active status, but I can not find it from RSA1 under InfoObjects section. I have to find under which InfoObject Catalog it has been created.
What could be the problem, please ?
Thanks in advance.
Regards.Hi Bhanu,
As per Edwin Harpino's suggestion, ran function module (se37) RSDG_IOBC_REORG
with following Import parameter :
I_OBJVERS A
I_PROGRESS
I_IOBJTP *
I_ALL_IOBJ X
I_T_IOBJNM 0 entries
I_BYPASS_BUFFER
Now, I could see it in RSA1 also.
Thanks.
Maybe you are looking for
-
Hi All, I have a requirement where I need to delete a file from the FTP server. How do I do that? Thanks in Advance. Regards Jaspreet
-
How to create installer for flash app where content is distributed by chapter?
hi everyone, i wanted to create an application installer (per chapter) like the one implemented on the product on this site: http://www.thelandofme.com/ .. can someone pls guide me on this? i have no problem creating flash apps but i'm so lost on mak
-
User Select File Path Before Running Rest of VI?
I am designing a system where data is being acquired and written to 12 data files, and I would like to have the operator have the option of selecting the data path while keeping the filenames of the individual files constant. It is necessary for the
-
Hi All, I had posted some vendor invoices in the year 2001-02. Now since we are not going to pay the vendor, we had written off vendor account in year 2009. However I m not able to clear the vendor account using transaction code F-44. Has anyone come
-
Do we apply CPU or PSU patches to the database or to the oracle binaries. If we apply to oracle binaries does it effect to all the databases. Is there any pathes that are only for database. Please let me know. Thank you!