How to run Conc program from Menu.Pls Help.
Hi,
In PO Screen i want to enable the user to run a concurrent request by clicking on a top menu. Say I have a prompt called "Purchase Order", clicking on it should run a Custom concurrent program passing some parameters from PO Screen.Output should be in PDF.
How do I achieve this?
Hi,
You may achieve that using form personalizations.
Step 1
Condition: WHEN-NEW-FORM-INSTANCE
Action: Menu
Menu: MENUxx or SPECIALxx
Step 2
Condition: MENUxx or SPECIALxx
Action: Builtin
Builtin Type: Launch SRS Form
Hope it helps.
Similar Messages
-
How to run java program from website?
Hello
I'd like to know how to run java program from my web page.
I'd like to push some button in this web page so java program that would be on my server
would pop-up. Can it be done automaticaly upon running this web site? (without any buttons - I just enter website and program pops up).
CheersI rather thought about RMI. But I could try servlets. So how it would look like?.
I would make http request in browser (enter address) and program would show up in its window?. And I would not have to change anything in my program?. This program would run then on both boxes?. One remotely and one not?.
But I would have to learn some basics, I've never worked with servlets. Could you suggest some good sites about it?. With ready examples so I could tweak them to my purpose.
Message was edited by:
macmacmac -
How to run java programs from a master java program?
Hello,
I have several java programs which run from the command prompt. I am seeking help with code for starting java programs from within a java program. For example, a program called master.java works something like this:
import java.*;
create connection pool
create variables and result sets
start/run slave1.java (var1, var2);
start/run slave2.java (var3, var4, var5);
start/run slave3.java (var1, var4);
end of program master.java
Each of the slave.java programs will run for up to an hour. I do not want the master.java program to pause for each slave program to stop. Instead, the master program will keep running and multiple slave programs will be running simultaneously with the master program. When a slave program starts, it is on its own. Also, if possible, I would like to have each of these slave.java programs open in a new separate command window, so I can observe each slave program running in separate windows.
Any suggestions for code or helpful documentation are greatly appreciated.
Thank you,
LoganThank you all.
At the bottom of master.java I have successfully started a batch file with these lines:
String jcmd = "cmd.exe /c start c:/data/simulations/MsgViewCount2.bat";
Process proc = Runtime.getRuntime().exec(jcmd);
But I still cannot get a java program to start. Here is one variation I have tried:
String [] cmdArray = new String[2];
cmdArray[0] = "java";
cmdArray[1] = "slave1";
Runtime runtime = Runtime.getRuntime();
Process process = runtime.exec(cmdArray);
This compiles, and no errors occur, but nothing happens.
Regarding this comment:
Why Runtime.exec? Either make the slaves Runnable or
just call their main() methods.
Oh, I see. Sepearate output. :PNone of the slave.java programs have any output.
Thanks again. -
How to run concurrent program from a menu
Hello, I have a responsibility menu and want to enable the user to run a concurrent request by clicking on a menu function. Say I have a prompt called "Payslip Report", clicking on it will now run a concurrent program called "Payslip Report" but the user will now have to enter the parameters for the report.
How do I achieve this?Hi
You can achieve this defining a new function for the standard submissions form with parameters to specifically launch the payslip report, and even specify values for its parameters. Information can be found on System Administrator Guide under the "Customizing the Submit Requests Window" topic. The steps would be:
- Create a new function using the Standard Request Submission Form (FNDSRS)
Give it a meaningful name such as Launch Payslip Report, specify form as type and the user form name of the FNDSRS form
Use the following parameters, specifying as values the short name of the payslip report and the application it belongs to:
CONCURRENT_PROGRAM_NAME=PAYSLREP PROGRAM_APPL_SHORT_NAME=PAY
- Use your new function in Your menu and assign the prompt "Payslip Report" -
How to run native program with Java program?
Hello
I've got following problem. I'd like to write file browser which would work for Linux and
Windows. Most of this program would be independent of the system but running programs not. How to run Linux program from Java program (or applet) and how to do it in Windows?.
CheersTry this:
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec("ls -l");
InputStream stream = proc.getInputStream();
InputStreamReader isr = new InputStreamReader(stream);
BufferedReader br = new BufferedReader(isr);
String line = null;
while ( (line = br.readLine()) != null) .....
"if the program you launch produces output or expects input, ensure that you process the input and output streams" (http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html) -
My safari browser seems to have been taken over by a malicious program called only-search. Does any one know how to uninstall this program from safari? I am running osX 10.10.
There is no need to download anything to solve this problem.
You may have installed the "VSearch" trojan. Remove it as follows.
Malware is always changing to get around the defenses against it. These instructions are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
Back up all data before proceeding.
Step 1
From the Safari menu bar, select
Safari ▹ Preferences... ▹ Extensions
Uninstall any extensions you don't know you need, including any that have the word "Spigot," "Trovi," or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
Reset the home page and default search engine in all the browsers, if it was changed.
Step 2
Triple-click anywhere in the line below on this page to select it:
/Library/LaunchAgents/com.vsearch.agent.plist
Right-click or control-click the line and select
Services ▹ Reveal in Finder (or just Reveal)
from the contextual menu.* A folder should open with an item named "com.vsearch.agent.plist" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
Repeat with each of these lines:
/Library/LaunchDaemons/com.vsearch.daemon.plist
/Library/LaunchDaemons/com.vsearch.helper.plist
Restart the computer and empty the Trash. Then delete the following items in the same way:
/Library/Application Support/VSearch
/System/Library/Frameworks/VSearch.framework
~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
The problem may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow.
You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the Internet criminal behind VSearch has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing has not done so, even though it's aware of the problem. This failure of oversight has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
Go ▹ Go to Folder...
from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return. -
How do I stop programs from running in the background?
How do I stop programs from running in the background? In the old system you could delete them.
Most of those apps aren't running in the background, but what you are asking is how to close the apps.
To close an app in iOS 7, drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it. -
How do i stop programs from automatically running when i start up my macbook?
how do i stop programs from automatically running when i start up my macbook?
programs such as.. email and Skype.
When i go to system preferences, then users & groups, then to my name, log in items ....this box is clear, i have unchecked everything, yet things still start up......sometimes these applications will have a setting in the preferences to not open on login of computer. If you see none of that, you can go into:
system preferences> Users & Groups > Select your user>Login Items.
unlock the settings by hitting the lock icon on the bottom left of the window then youll be able to uncheck these things from opening when you log in.
Hope this is helpful or answers the question. -
How do I delete items from menu bar that are not part of the OS
How do I delete items from menu bar that are not part of the OS
Perhaps you could be more specific, as it is a little difficult to answer your question without any details. I can give you some general ideas though.
On my machine there are a few applications that have installed items into the menu bar - I'm assuming you are talking about the icons on the right hand side of the top bar. To remove those items, I would generally need to uninstall the program that created them. To do this varies a little from application to application.
Also, sometimes an application will have preferences that allow you choose if you want to display the item in the menu bar.
So, my general advice would be that you need to identify the application that placed the item there, and remove it from your computer. If there is an uninstall program for that application, I would run that in the first instance.
If you don't actually wish to uninstall the application, you may need to click on the item or run the application and see if there is a setting to not show the menu bar item.
Hope that helps.
Ivan -
How to call java program from ABAP
Hi Experts,
My requirement is to call java programs from ABAP. For that i have set up SAP JCO connection by using this link http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/739. [original link is broken] [original link is broken] [original link is broken] Connection gets sucessfully. After this how to call java program from ABAP as per our requirement. Please help me out.
Also i tried this way also.. but while executing the DOS Command line appear & disappear in few seconds. So couldnt see the JAVA output. Please help me out to call java programs in ABAP..
DATA:command TYPE string VALUE 'D:Javajdk1.6.0_20 injavac',
parameter TYPE string VALUE 'D:java MyFirstProgram'.
CALL METHOD cl_gui_frontend_services=>execute
EXPORTING
application = command
parameter = parameter
OPERATION = 'OPEN'
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
bad_parameter = 3
file_not_found = 4
path_not_found = 5
file_extension_unknown = 6
error_execute_failed = 7
OTHERS = 8.
Thanks.This depends on the version of your Netweaver Java AS. If you are running 7.0, you will have to use the Jco framework. The Jco framework is deprecated since 7.1 though. If you want to build a RFC server in 7.1 or higher, it is adviced that you set it up through JRA.
Implement an RFC server in 7.0:
http://help.sap.com/saphelp_nw04/helpdata/en/6a/82343ecc7f892ee10000000a114084/frameset.htm
Implement an RFC server in 7.1 or higher:
http://help.sap.com/saphelp_nwce72/helpdata/en/43/fd063b1f497063e10000000a1553f6/frameset.htm -
How to run labview program in debugging mode in windows 95 version
Respected all,
I am facing probelm while running probe.vi.
I received this command "connection to acquisition board was not found" when i run labview program.
I am using labview 5.1, fieldpoint FP 1000, NI-DAQ 6.5, Field point explorer version 1.6, Measurement and Automation Explorer 1.0.1.
I would kindly request you please help me how to run my program probe.vi in debugging mode in windows 95 version, so that i can locate where error occurs.
Thanking You
Yours faithfully
M.VijayRespected Norbert,
Thank you very much to for your help.
Norbert : Possible reasons are e.g. wrong IDs for measurement devices. If the error is connect to the FieldPoint, it is possible that it isn't configured correctly.
I am using Field point explorer 1.6, The Field point instrument FP 1000 and RS-232 port is using. It is confirmed that the field point instrument is working properly by LED light indication test.
Norbert: It sound like you are using DAQ devices (like PCI MIO 6952E) in the application. Are you sure that you select the correct device ID for this?
I am asking you to know, If i using Labview and Fieldpoint instrument FP 1000 to monitor my parameter interms of All, Channel 0, Channel 1, Channel 2, Channel 3, Channel 4, Channel 5, Channel 6, Channel 7 for my measurement.
But now i need to solve the command connection to acquisition board was not found, The expert say this command is due to there was no AT-AO-10 Analog Output board was present in CPU.
I do not find AT-AO-10 Analog Output board in my CPU, Previously the instrument was worked perfectly by other person who assembled everthing to measure temperature.
The only aswer know send by previous person is if my task does not imply the use of a DAQ you probably have to locate where the DAQ driver is called and exclude it from the program. try to run the program in debugging mode so that you can locate where the error occurs.
I do not know how to proceed his instruction. So i would kindly request you to please help me to solve my probelm.
I also removed AT-AO-10 software from device manager >> Data Acquisition system >> AT-AO-10 just now.
I also find GPIB version 1.30, when i remove in add or remove program, it say that Error removing the GPIB.
I am eagerly waiting for your help.
Thanking You
Yours faithfully
M.vijay -
How do I launch report from menu using RUN_REPORT_OBJECT?
Hi all,
Re: How do I launch report from menu (and have it print to the screen) using RUN_REPORT_OBJECT?
I am using Oracle 9iAS on Windows 2000 and I have a similar problem with launching reports from the menu. The application should call the report via the RUN_REPORT_OBJECT builtin feature from Forms. The report is never displayed.
The report is in the same folder as the menu form calling it. Do the reports have to be in a specific format? How do I get the report_id?
The name of the report is seconds_calls. No user-specified parameters are passed. Also, the report object in the object navigator in Forms is Report4 (is this relevant?)
When I try to run report via the form using this code:
DECLARE
report_id REPORT_OBJECT;
rep_status VARCHAR2(200);
v_rep VARCHAR2(100);
report_job_id VARCHAR2(200);
-- job_number NUMBER;
-- server_name VARCHAR2(200) := 'repserver';
BEGIN
report_id:= FIND_REPORT_OBJECT('seconds_calls');
rep_status:=REPORT_OBJECT_STATUS(report_job_id);
v_rep := RUN_REPORT_OBJECT(report_id);
END;
I get this error message:
FRM-41219 Cannot find report:Invalid ID
And this message
FRM-40738 Argument 1 to builtin RUN_REPORT_OBJECT cannot be null
When I tried to use the same code (above), substituting the object name for the form name,
I got these messages:
FRM-41219 Cannot find report:Invalid ID
FRM-40738 Argument 1 to builtin RUN_REPORT_OBJECT cannot be null
And FRM-10259 Invalid null argument to packaged procedure or function (???)
Any ideas?
Cheers,
PippaPhilippy,
substr(v_rep,instr(v_rep,'_',-1)+1)
This code extracts the Reports job id from the Reports Server name. The run_report_object() built-in
retrieves e.g. RepServ_9 as a job id, but in Reports9i you only need the '9' as a value to retrieve the
output.
Use the following sample a template. It is a procedure that expects the reports object name, teh reports server name and the
output format as an argument. The call to Web.show_document expects the ReportsSrevices to be accessible from teh same server
(relative addressing is used)
PROCEDURE RUN_REPORT_OBJECT_PROC (vc_reportobj Varchar2, vc_reportserver varchar2, vc_runformat varchar2) IS
v_report_id Report_Object;
vc_ReportServerJob VARCHAR2(100); /* unique id for each Report request */
vc_rep_status VARCHAR2(100); /* status of the Report job */
vjob_id VARCHAR2(100); /* job_id as number only string*
BEGIN
/* Get a handle to the Report Object itself. */
v_report_id:= FIND_REPORT_OBJECT(vc_reportobj);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESTYPE,CACHE);
/* Define the Report output format and the name of the Reports Server as well as a user-defined parameter, passing the department number from Forms to the Report. We don't need a parameter form to be displayed, and therefore paramform is set to "no". */
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT, vc_runformat);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_SERVER, vc_reportserver);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_OTHER, 'p_deptno='||:dept.deptno||'paramform=no');
vc_ReportServerJob:=RUN_REPORT_OBJECT(report_id);
/* remove the Reports Server name from teh job id */
vjob_id := substr(vc_ReportServerJob,length(reportserver)+2,length(vc_ReportServerJob));
/* Check the report status if finished. */
vc_rep_status := REPORT_OBJECT_STATUS(vc_ReportServerJob);
IF vc_rep_status='FINISHED' THEN
/* Call the Report output to be displayed in a separate browser window.
The URL for relative addressing is only valid when the Reports Server
is on the same host as the Forms Server. For accessing a Remote Reports
Server on a different machine, you must use the prefix http://hostname:port/ */
WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid '||vjob_id ||'?server='vc_reportserver,'_blank');
ELSE
message ('Report failed with error message '||vc_rep_status);
END IF;
END;
Frank -
Hi,
I'm using Premiere Elements 4 in Windows 7 (64 bit). When I launch PE I get the following error:
Please run this program from the Administrator account so it can set up your license. Once the license is set up, you can run it from any account.
Any idea how to solve it?I came across this link online. Please check it out and decide if it will or will not advance your case.
http://www.howtogeek.com/howto/windows-vista/enable-the-hidden-administrator-account-on-wi ndows-vista/
ATR -
How can i stop programs from automatically loading during startup?
how can i stop programs from automatically loading during startup?
Go to the Apple menu > System Preferences > Users & Groups and click on the user in question then on "Login Items."
Also check the Startupitems folder: OS X Yosemite: If you have problems with startup items -
How to run a report from oracle 10g form in .csv format
dear all,
how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
i'm using
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
Please Help..i have already tried.
but the report show in htm or html format. that file will not save into csv. please help.
Maybe you are looking for
-
IPad to tv using av cable doesn't work since update
II've used a av cable to connect iPad to tv via hdmi to watch you tube etc but since os update it says not compatible when I plug into the iPad and doesn't work
-
This happened after some other troubles made me run Applejack to try for system recovery. .... This is a Graphite G4 400 mhz PCI with OS 10.4.11, ..... IT is my back-up machine to stay online while I sort out what I did to my MAIN Machine. .... I
-
Help anyone ? 3502 AP Recovery Problem
I have had one 3502 access points die in the last few days. I suspect it was broken flash systems and are due for the bin. If anyone can offer any confirmation or a way to fix it, I would be grateful. On booting, it gives the following error: Xmode
-
Hallo everybody My device works already with KitKat. Now I have problems with the file system. If I add a folder with the File Commander in e.g. Internal storage/Music, I can't see the folder on the PC connected with USB. Neither "refreshing" nor dis
-
Ascii to proxy data conversion
Hello experts, i have a requirement where i need to read the ASCII files from an web service and convert into inbound proxy data. can we do this? experts inputs on this... regards, chinna