SET-PFSTATUS in program
hi everybody
I have created a program, where there is a selection screen and I have created buttons on SE41 and associate it with the program
at the start of the program, Im setting the status in the program
AT SELECTION-SCREEN OUTPUT.
set PF-STATUS 'ZPL'.
The status is properly set but when I am executing the program, its not going to the START-OF-SELECTION event
anybody can help me on this?
Thanks for your help
Hi Prema,
What are the selection screen changes you did in SET-PFSTATUS .
Normally once you use the SET-PFSTATUS you have to write the code for all the Buttons like BACK , EXECUTE etc...
Create a Execute Fcode or Button and Write the code under the Fcode created for the Execute button.
Similar Messages
-
How can I set up a program to stop at a certain time, or after a period of time?
I am using LabVIEW to measure dc voltages over a period of time. The data is exported into an Excel file. I would like to be able to set up the program to stop at a certain time, or after a certain number of hours. This way when I run a test that will start near the end of the week and would stop on say, Saturday, it will not continue to record all the data after that, which I do not need. I would love to be able to set a time for it to end, but I also wouldn't mind having it end, or stop recording data, after a certain voltage has been reached.
Its hard to say without knowing more about how your program is set up. Assuming the data aquisition is in a while loop, you can just wire a bunch of different stop conditions into a compound math node. Then right click on it and select "OR". A caveat about the comparisons I used in my little example: Comparing DBLs can lead to unexpected results when the two values are very close together.
Message Edited by jasonhill on 06-16-2006 10:59 AM
Attachments:
stop the loop.PNG 5 KB -
After Upgrading Acrobat Reader XI to Acrobat XI Pro the previewer in Outlook and Windows Explorer doesn't work. I have to set the default program for .pdf's to Acrobat Reader in order for the previewer to work.
Can anyone recommend a solution?If I set the default program for viewing PDF as Acrobat XI Pro the a PDF file will open with Acrobat XI Pro, but in Outlook I will get a white screen and the information bubble "This file cannot be previewed because there is no previewer installed for it" and in Windows Explorer I get a white screen in the preview pane.
My Acrobat version is 11.0.10
I am running Windows 7 Professional with Service Pack 1
My Internet Explorer is Version 11.0.9600.17691
Update Versions 11.0.17 (KB3032359)
I am running Microsoft Office 2013 -
In "Set your default programs" under Win7, file associations of Firefox are tampered!
In "Set your default programs" under the Control Panel of Windows 7, Firefox does appears in the "Programs" list on the left. But, its icon is that of Windows Media Player.
After I click on the program's name (Firefox) to display the details on the right, I notice the icon for Firefox becomes that of Windows Media Player, too. And, "Mozilla Corporation" becomes "Microsoft Corporation."
If I click on "Set this program as default", files of these types are opened by Windows Media Player, not by Firefox:
htm, html, shtml, xht, xhtml.
So, I have to manually associate those file types with Firefox from "Associate a file type or protocol with a specific program."
To solve this problem, what registry entries should I edit?I don't know if the extensions I use for version 19.2 suit the latest version. So, I just re-installed 19.2, and all is well now. Thank you very much for your help.
After the re-installation, I noticed there is a string value '''Firefox''' under
''HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications''
This registry key contains all the program names listed in '''Set your default programs'''. So, I guess that if the string '''Firefox''' points to Windows Media Player, I get the trouble. -
PSE 10 is not shown in windows 8 "set your default programs"
PSE 10 isn't shown as an option in windows 8 "set your default programs".
Selecting individual file types doesn't help me much when, apart from .jpgs
and .tiffs, I don't know all the file types PSE 10 can open and I want it to open
everything it can. I do not want Windows 8 opening my stuff. Any ideas?See if this blog addresses your issue: http://psekb.blogspot.in/2013/03/how-to-change-default-application.html
~Surendra -
Hello I have Adobe CS4 Illustrator, I do large format prints on a Roland SC-540 printer. I my gradients I get bad results. If I have a yellow to white gradient I get blue bands through out the gradient. Is there a setting in the program to change or is it my rip software?
What color management settings? Color mode? This sounds like you are simply not using the proper profile.
Mylenium -
Setting Default Indesign program with multiple versions installed Snow Leopard
Hi,
when having 2 versions of Indesign installed (CS4 and CS5), Snow Leopard uses CS5 as the default application to open INDD files.
Typically if you want to set a particular program as the default program, you right-click on the file, go to "get Info", then "open with" and pick the applications from the pulldown menu and then click right below it "Change All". Typically now that program has become the default program. This has worked all the time except in this case. When trying to set Indesign CS4 as the default program for all INDD files (use CS4 99% of the time and all INDD files on the system were created using CS4) it will not let me use the "change all" button. It automatically goes back to CS5. I want Indesign CS4 to be the default program.
Any suggestion is greatly appreciated.
Thanks.Change file associations manually or have this freebie jewel do it for you. Most likely CS5 will take over again. Otherwise you can go fish on http://hints.macworld.com/ for another way.
Rubicode - RCDefaultApp -
Setting v$session.program with javax.sql.DataSource unsing JNDI
I am trying to set v$session's program column while connecting to database.
It works like charm when i use :
java.util.Properties params = new java.util.Properties();
params.put("v$session.program", "MyApp");
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
conn = DriverManager.getConnection("jdbc:oracle:thin:user/[email protected]:1521:myDB",params);
It just doesn't SET anything when i use, JNDI :
java.util.Properties params = new java.util.Properties();
params.put("v$session.program", "MyApp");
Context ctx = new InitialContext(params);
DataSource ds = (DataSource)ctx.lookup(datasourceName);
conn = ds.getConnection(userName,password);
Just couldn't figure out why its not setting in the 2nd Case. Any ideas ??Valid..
But then, even if i set v$session.program in my JDev environment or even on app server's connection pool Its NOt getting set.
Am i doing something worng.
Btw, i am using jdbc thin 10.1.0.3 driver. I read somewhere that this was a bug and its fixed with jdbc thin driver 10.2.x versions.
Has anyone tried on 10.2.x versions ? -
Set up Television Programs to record using website
The other day a verizon telephone repair tech told me that I could use the Verzion Web Site to setup and record television programs (instead of using the remote control and the set top box). This feature could be used when I am at work for instances and wanted to set up a program to record.
This is ancient history. Has been avaialable for several years from the MyVerizon TV website. You need to enable it from your DVR before it will function (available under the Settings DVR sub-menu).
If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem. -
How to create a value sets for concurrent program?
Hi Friends,
I am creating a concurrent program with a parameter period...
In the value set for the parameter period, I am using the following query :
---where application_id = 101
and set_of_books_id = :$PROFILES$.gl_set_of_bks_id
and closing_status IN ( 'O', 'F', 'C')
order by period_year, period_num' ----
In my cursor, i have a condition 'where set_of_books_id = ' ---
How can I pass the above set of books id into the cursor ?? it is not working when I am defining another parameter as Book and passing that value to the cursor....
I need that period parameter to return all the periods for the set of books where we are running the concurrent request from...I also need to get the set of books id for my cursor...
Hope I am making sense...All that I am trying is to have period parameter and also a SOB id in cursor condition...
Rgds,Hi Vamsi /Nitin,
Let me explain the whole thing now.....
My plsql procedure is ......
CREATE OR REPLACE procedure GL_INT(
perrbuff out varchar2,
pretcode out varchar2,
pbook in varchar2,
pperiod in varchar2
) is
cursor cur1 (p_sdate in date, p_edate in date )is
select distinct group_id groupid,
user_je_source_name source
from gl_interface
where accounting_date >= p_sdate
and accounting_date <= p_edate
and set_of_books_id = pbook;
cursor cur2 is
select distinct start_date sdate,
end_date edate, period_name period
from gl_period_statuses
where period_name = pperiod
and set_of_books_id = pbook
and application_id = 101;
i cur1%rowtype;
j cur2%rowtype;
begin
open cur2;
fnd_file.put_line(fnd_file.output,'PERIOD'||'----'||'GROUPID'||
'----'|| 'SOURCE');
loop
fetch cur2 into J;
exit when cur2%notfound;
open cur1(J.sdate,J.edate);
loop
fetch cur1 into I;
exit when cur1%notfound;
fnd_file.put_line(fnd_file.output, J.period||'----'||I.groupid||'----'||
I.source);
end loop;
end loop;
Close cur1;
close cur2;
Exception when others then dbms_output.put_line(SQLERRM);
end;
==================================================================================================
For SOB value set, I have passed the default value as vamsi suggested ($profiles$.gl_set_of_bks_id)....
For period value set, I have entered query as ..where application_id = 101
and set_of_books_id = :$PROFILES$.gl_set_of_bks_id
and closing_status IN ( 'O', 'F', 'C')
order by period_year, period_num...................
It still doesn't work....I don't know how to derive those Periods based on the SOBs and at the same time pass SOB id into the cursors...
Please help...
Rgds,
Murali -
SQ01: Creating Front end for a set of query programs
Hi,
I need to create a front end to display a set of queries or query programs.
We can use SQ01 to open all queries, but my task is to create a front end
and let the users only acccess the queries i want( e.g some 50 queries).
Using the new front end users should be able to access only these 50 queries.
Any ideas.
Thanks,
RaoHi Rao,
Assign that particular user group or the role to the infoset of those query using SQ02. In this way they will be able to access those queries.
Regards,
Atish -
How would I set this small program to activate every 120 seconds?
I have this small program that writes the value 0 to a file, but I want it to only activate every 120 seconds, so it doesn't take up a bunch of system resources by constantly running. Can I make it pause for 120 seconds, or set a timer for it, in such a way that it won't make my PC run slow? Here's my code. Thanks if you can help.
import java.util.*;
import java.io.*;
import java.io.File;
public class Purge extends Random implements Serializable {
public Purge () {
writePrimDoubles();
public static void main (String [] args) {
Purge test = new Purge();
public void writePrimDoubles() {
DataOutputStream outStream;
long timerStart;
long timerEnd;
long size;
int a = 1;
try {
while (a==1) {
outStream = new DataOutputStream
(new FileOutputStream("packetlog.txt"));
timerStart = System.currentTimeMillis();
outStream.writeBytes("0");
timerEnd = System.currentTimeMillis();
outStream.close();
catch(IOException e) {
System.out.println("Error writing to file");
}java.util.Timer, I think may do the trick.
-
FNDLOAD fail update parameter's value set in concurrent program
I am try to update 1 parameter's value set from one enviorment to other using the following script but that parameter is still using old value set:
FNDLOAD apps1/xxx 0 Y DOWNLOAD $FND_TOP/patch/115/import/xx_afcpprog.lct XXPN_PTLAIO.ldt PROGRAM APPLICATION_SHORT_NAME="XXPN" CONCURRENT_PROGRAM_NAME="XXPN_PTLAIO"
FNDLOAD apps2/xxx 0 Y UPLOAD $FND_TOP/patch/115/import/xx_afcpprog.lct XXPN_PTOLAO.ldt
Is there a situation parameter cannot be updated?
Or should i use afffload.lct to load?
My machine version:
RDBMS : 11.1.0.7.0
Oracle Applications : 12.1.3
Edited by: 901005 on Apr 19, 2012 3:37 AM
Edited by: 901005 on Apr 19, 2012 3:43 AMcompare date and author of paramaters and value sets
if date of parameter (or valueset) in ldt earlier than date of parameter (or valueset) in system than no update
you can try to use CUSTOM_MODE=FORCE -
Setting v$session.program property in application module config
How can I set the v$session.program property in the AM config, so that when a new connection is created, the v$session.program field is documented with the property value.
I added the following in JClient JCLoginDialog:
((Hashtable)connEnvironment).put("v$session.program", "my program name");
I traced the V$SESSION TABLE:
The added connection has "my program name" in the program field but if I open other application module instances, the new connections have an empty v$session.program field.
I suppose that a property must be added to all application module configurations.
Can somebody help me on this one?
The v$session.program field is helpful when sessions must be killed.
Thanks
FredI don't believe there is a built-in mechanism for that.
But you can easily do it yourself. In you AM class:
public void prepareSession( Session session ) {
super.prepareSession( session );
setDatabaseClientInfo( Bc4jConstants.APPLICATION_NAME );
setDatabaseModuleInfo( moduleInfo );
}And then:
public void setDatabaseClientInfo( String clientInfo ) {
try {
this.getTransaction( ).executeCommand(
"BEGIN dbms_application_info.set_client_info('" + clientInfo + "'); END;" );
} catch( Exception e ) {
// uncritical error
log.warn( "Error setting the database client info: " + clientInfo, e );
}and
public void setDatabaseModuleInfo( String moduleInfo ) {
if( moduleInfo != null ) {
try {
this.getTransaction( ).executeCommand( "BEGIN dbms_application_info.set_module('"
+ moduleInfo + "', NULL); END;" );
} catch( Exception exception ) {
// uncritical error
log.warn( "Error setting the database module info: " + moduleInfo, exception );
}In a similar fashion you can set the client identifier. We use the moduleInfo to identify the module of the session. The client info helps us to identify the application.
Sascha -
I use aol for all my e-mails...what is the procedure for firefox to use aol when am in a web page that has a contact link for questions or reply.
When I click on a link I get the following error message
"CANNOT SEND MAIL. NO MAIL PROGRAM IS SET UP TO SEND MAIL USING INTERNET SHORTCUTS." i WILL THANK YOU FOR YOUR HELP.http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox
Maybe you are looking for
-
how can i exprt to adobe ... please help thanks
-
WebLogic Server 5.1 SP11 starting error
Hi, I have installed WebLogic Server 5.1 SP11 in my home PC on Win NT and I tried to start the server, I got the message WebLogic server started, immediatly after that I got a message "IIOP Service not started as 1.3 vm was not found". Any help is ap
-
If click on address on contact it takes you to MAPS...
but it does not copy the address to the MAPS address field and therefor cannot find the address. This was working before the latest update of the iphone. HELP!!!!
-
Trim() not found in java.lang.String !
Hi, I am using weblogic 6 eval version on NT. I am getting this error. *************************************************************************** The WebLogic Server did not start up properly. Exception raised: weblogic.management.configuration.Conf
-
Hi everybody, My requirement is to get the logon details of a user ( Application Area ) details for a specific period of time. For this, are the details stored anywhere in the system ( presentation or application server ) ? Can anybody suggest ? Note