Reg: Creating sub menu for a concurrent program under menu on the Menu bar
Hi all,
I would like to know, how we can create a sub menu for a conc. program under a sub menu on the Menu Bar ?
Thanks In Advance.
Regards,
Neeti
It is a 2 step process. First, enable a new menu entry, which when called will fire a user-named trigger, where the call to the concurrent programs form is the executed. How to do it depends on the release. Previous to 11.5.10, this has to be done trough custom.pll, and 11i10 an r12 with forms personalization. Documentation and examples exists for both cases, have a look on metalink.
Similar Messages
-
No getting Report Output in OAF for java Concurrent program Method
I am not getting report output for java Concurrent Program(Concurrent Program Executable Method), for the reports which are of type PL/SQL Stored Procedure getting the output. for some of the reports the executable method is 'java Concurrent Program', so is there any thing i need to modify in my code.
Thanks
BabuThe Concurrent request is not able to generate output
getting following error in FNDCPREQUESTVIEWPAGE
The concurrent request 9923758 did not create an output file.
so what may be reasons for this?
Thanks
Babu -
NoClassDefFoundError for Java Concurrent Program in Oracle Apps
Hi,
I am accessing the Oracle Apps application which is installed in local server(Within the network).
I am trying to execute Java Concurrent Program in oracle apps (in Windows XP Professional). I did the following.
1. Created the concurrent program executable with Execution file name
as AvailableProg and Execution File Path as
oracle.apps.fnd.cp.request (this is where AvailableProg resides)
and Method as Java Concurrent Program.
2. Created the concurrent program and set the Options as -cp JAVA_CON.
3. Created a environment variable JAVA_CON (In Windows XP) with the
values D:\apps.zip and
D:\oracle.apps.fnd.cp.request.AvailableProg.class.
4. Registered the concurrent program.
5. While I submitted the request I got the following error:
Exception in thread "main" java.lang.NoClassDefFoundError:
oracle/apps/fnd/cp/request/Run.
Can anybody help me in resolving this issue?
Is there any documents available in executing java concurrent programs?
Please do the needful..
Thank You....Hi
I am having the same issues. Here are the setup I have for all the variables:
$ echo $AF_CLASSPATH
/u001/oracle/deltacomn/util/jre/1.1.8/lib/rt.jar:/u001/oracle/deltacomn/util/jre/1.1.8/lib/i18n.jar:/u001/oracle/deltacomn/java/appsborg.zip:/u001/oracle/deltaora/8.0.6/forms60/java:/u001/oracle/deltacomn/java
$ echo $JAVA_TOP
/u001/oracle/deltacomn/java
$ echo $AFJVAPRG
/u001/oracle/deltacomn/util/jre/1.1.8/bin/jre
$ echo $CLASSPATH
/u001/oracle/deltacomn/util/jre/1.1.8/lib/rt.jar:/u001/oracle/deltacomn/util/jre/1.1.8/lib/i18n.jar:/u001/oracle/deltacomn/java/appsborg.zip:/u001/oracle/deltaora/8.0.6/forms60/java:/u001/oracle/deltacomn/java:/u001/oracle/deltaappl/ncr_custom/ncrx/1.0.0/java
Please help.
Thanks
AE -
How to find the patches for perticular concurrent program
HI
How to find the patches for perticular concurrent program. suppose for one concurrent program we create the patch and applied now i want know the which patch applied for perticular concurrent program through back end.
Thank'sQuery the concurrent program in Sysadmin responsibility.
Note the concurrent executable.
Query the concurrent executable in Sysadmin.
Note the file name.
If it is a package, open the package in TOAD and note down the file name.
If it is a report/form, open it in form developer and note down the file name.
Go to patch find screen in metalink. In the advanced search screen, enter the file name and you will see patches that contain it.
Hope this answers your question
Sandeep Gandhi
Independent Consultant
513-325-9026 -
Creating a PLSQL Procedure as Concurrent Program
Folks:
I am new both to PLSQL and Concurrent program creation. I am actually working on a process for deploying changes from one environment to another, so I want to create a simpel PLSQL procedure that I can then register as a concurrent program, and finally test the download/uplaod of this procedure and program from one instance to another.
I tried reading the Developer documentation on creating concurrent program, but couldn't find the information I was looking for. Here are some of my questions:
1) The PLSQL procedure that I want to run as concurrent program, can it be declared within a new custom package, or does it have to be created as a procedure.
2) In the concurrent program executable registration window, can i specify directly the name of this new procedure or do I need to create an additional wrapper PLSQL procedure that has Concurrent Program related attribute (Developer guide seemed to incline that way).
3) What should be put in the 'File' parameter on Concurrent Program Execution Window in the case of pl/sql concurrent program. There is no file, so what to put in there?
4) Any other place I can find step by step how to for making a 'PLSQL" package a concurrent program?Hi,
1) Create PL/SQL Package with "main" procedure that has arguments ERRBUF and RETCODE plus your other required arguments.
2) xxxx_pkg.main as per 1.
3) xxxx_pkg.main (the package and procedure name)
4) Best place to look is at an existing program! Plenty of basic examples on the net. Here's a link that has basic package and screens:
http://garethroberts.blogspot.com/2007/10/excel-file-output-from-oracle.html
Regards,
Gareth
Blog: http://garethroberts.blogspot.com/ -
How to create desktop application for simple server program using netbeans?
Hi,can anyone help me on this one??
I'm am very new to java,and I already trying different example program to create desktop applications
for simple server program but it's not working.
This is the main program for the simple server.
import java.io.*;
import java.net.*;
public class Server {
* @param args the command line arguments
public static void main(String[] args) {
try{
ServerSocket serverSocket = new ServerSocket(4488);
System.out.println("Server is waiting for an incoming connection on port 4488");
Socket socket = serverSocket.accept();
System.out.println(socket.getInetAddress() + "connected");
PrintWriter out = new PrintWriter(socket.getOutputStream(), true);
BufferedReader in = new BufferedReader( new InputStreamReader(socket.getInputStream()));
String inputLine;
while ((inputLine = in.readLine()) != null){
out.println(inputLine);
System.out.println("Connection will be cut");
out.close();
in.close();
socket.close();
serverSocket.close();
}catch(IOException e){
e.printStackTrace();
// TODO code application logic here
}and this is the Main Processing :
import java.awt.*;
import java.awt.event.*;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.*;
import java.text.*;
import java.util.*;
import java.net.*;
import java.io.*;
public class MainProcessing {
private static final long serialVersionUID = 1L;
static private boolean isApplet_ = true;
static private InetAddress argIp_ = null;
static private int argPort_ = 0;
public TCPIP TCPIP_ = null;
private InetAddress ip_ = null;
private int port_ = 10001;
static private boolean conectFlag = false;
private BufferedWriter bw;
FileOutputStream fos;
OutputStreamWriter osw;
public int[] current = new int[400];
public int[] volt = new int[400];
public int[] revolution = new int[400];
public void init() {
public void start() {
if (isApplet_) {
try {
ip_ = InetAddress.getByName(getCodeBase().getHost());
} catch (UnknownHostException e) {
} else {
ip_ = argIp_;
if (argPort_ != 0) {
port_ = argPort_;
// IPアドレスが不明なら何もしない
if (ip_ != null) {
// コネクションが成立していないなら、接続
if (TCPIP_ == null) {
TCPIP_ = new TCPIP(ip_, port_);
if (TCPIP_.getSocket_() == null) {
System.out.println("ミス1");
// エラーメッセージを表示
return;
if (TCPIP_ == null) {
System.out.println("ミス2");
return;
System.out.println("成功");
conectFlag = true;
try {
TCPIP_.sendF();
} catch (IOException ex) {
Logger.getLogger(MainProcessing.class.getName()).log(Level.SEVERE, null, ex);
System.out.println("" + conectFlag);
return;
public void receive() {
try {
// Calendar cal1 = Calendar.getInstance(); //(1)オブジェクトの生成
// int year = cal1.get(Calendar.YEAR); //(2)現在の年を取得
// int month = cal1.get(Calendar.MONTH) + 1; //(3)現在の月を取得
// int day = cal1.get(Calendar.DATE); //(4)現在の日を取得
// int hour = cal1.get(Calendar.HOUR_OF_DAY); //(5)現在の時を取得
// int min = cal1.get(Calendar.MINUTE); //(6)現在の分を取得
// int sec = cal1.get(Calendar.SECOND); //(7)現在の秒を取得
byte[] rev = TCPIP_.receive();
// System.out.println("受信");
if (rev != null) {
byte[] Change = new byte[1];
int j = 0;
for (int i = 0; i < 1200; i++) {
Change[0] = rev;
current[j] = decimalChange(Change);
i++;
Change[0] = rev[i];
volt[j] = decimalChange(Change);
i++;
Change[0] = rev[i];
revolution[j] = decimalChange(Change);
} catch (NullPointerException e) {
public int decimalChange(byte[] byteData) {
int bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7;
int bit = 0;
for (int i = 0; i < 8; i++) {
int a = (byteData[0] >> i) & 1;
System.out.print(a);
System.out.println();
return 1;
public void destroy() {
// 切断
if (TCPIP_ != null) {
TCPIP_.disconnect();
if (TCPIP_.getSocket_() != null) {
try {
System.out.println("\ndisconnect:" + TCPIP_.getSocket_().getInetAddress().getHostAddress() + " " + TCPIP_.getSocket_().getPort());
} catch (Exception e) {
TCPIP_ = null;
public boolean conect(int IP) {
conectFlag = false;
String address = "192.168.1." + IP;
System.out.println(address);
try {
argIp_ = InetAddress.getByName(address);
} catch (UnknownHostException e) {
// xp.init();
isApplet_ = false;
start();
return (conectFlag);
public void send(String command, int value, int sendData[][], int i) {
int j = 0;
Integer value_ = new Integer(value);
byte values = value_.byteValue();
Integer progNum = new Integer(i);
byte progNums = progNum.byteValue();
try {
TCPIP_.send(command, values, progNums);
for (j = 1; j <= i; j++) {
Integer time = new Integer(sendData[j][0]);
byte times = time.byteValue();
Integer power = new Integer(sendData[j][1]);
byte powers = power.byteValue();
TCPIP_.send(times, powers);
TCPIP_.flush();
} catch (IOException ex) {
Logger.getLogger(MainProcessing.class.getName()).log(Level.SEVERE, null, ex);
public void file(String name) {
ublic void fileclose(String name, String command, int value, int sendData[][], int i) {
try {
fos = new FileOutputStream("" + name + ".csv");
osw = new OutputStreamWriter(fos, "MS932");
bw = new BufferedWriter(osw);
String msg = "" + command + "," + value + "";
bw.write(msg);
bw.newLine();
for (int j = 1; j <= i; j++) {
msg = "" + j + "," + sendData[i][0] + "," + sendData[i][1];
bw.write(msg);
bw.newLine();
bw.close();
} catch (IOException ex) {
Logger.getLogger(MainProcessing.class.getName()).log(Level.SEVERE, null, ex); -
Creating sub menu's under Abstract Action.
Folks,
I am trying to create a sub-menu under abstract actions.
But when I run the application,I can only see 'Create New Positions' menu item;
and cannot view/invoke the sub menu options(ie Create Position One/Two).
Is there a way to create sub menu's under the main action menu? (in the code below please)
Thanks,
final ArrayList<Action> actions = new ArrayList<Action>();
actions.add(new AbstractAction("Create New Positions") {
public void actionPerformed(ActionEvent e) {
// Sub Menu options
actions.add(new AbstractAction("Create Position One") {
@Override
public void actionPerformed(ActionEvent e) {
// Code to create position one
public void actionPerformed(ActionEvent e) {
// Sub Menu options
actions.add(new AbstractAction("Create Position Two") {
@Override
public void actionPerformed(ActionEvent e) {
// Code to create position two
});Hi Thomas.behr
I tried as you suggested :
final ArrayList<Action> actions = new ArrayList<Action>();
actions.add(new AbstractAction("Position Creation..."){
public void actionPerformed(ActionEvent e) {
JMenu PositionMenu = new JMenu(new AbstractAction("Create Position one"){
@Override
public void actionPerformed(ActionEvent e) {
// TODO Auto-generated method stub
// actions.add( PositionMenu).... as action expects an Action
{code} -
How to stop concurrent programs from appearing in the SRS window ?
Hi All,
We have hundreds of custom concurrent programs registered under a custom application.
Except for 3 hidden programs (which will be submitted internally from another concurrent program), all the others should appear in the SRS window. Therefore, instead of individually registering each program in the request group, we have registered the application itself, in the request group.
However by doing this, the 3 hidden concurrent programs are also appearing in the SRS window. The concurrent program define form doesn’t allow us to uncheck the “show in SRS” checkbox if we have parameters define for a concurrent program.
Is there any way that we can prevent these hidden programs from appearing in the SRS window, in our case?Hi,
Create a new request group and add all but the 3 programs, using a PL/SQL script calling fnd_program.add_to_group.
Regards,
Gareth
Blog: http://garethroberts.blogspot.com/ -
I have created two tables for my new report under one transport request.
Unwanted table transported
I have created two tables for my new report under one transport request.
But I only need one table and the second table I was supposed to delete.
However by mistake, with out deleting the second tableu2026 the transport request is released and moved to quality system.
how to handle this issue.
I am not sure any additional changes for this program.
Could you please suggest me an idea.
Thanks in adv>
sam kumar wrote:
> Unwanted table transported
> I have created two tables for my new report under one transport request.
> But I only need one table and the second table I was supposed to delete.
> However by mistake, with out deleting the second tableu2026 the transport request is released and moved to quality system.
>
> how to handle this issue.
>
> I am not sure any additional changes for this program.
> Could you please suggest me an idea.
>
> Thanks in adv
Does one custom table more or less really matter? If you really want delete it, delete the table in DEV which will put it into a new transport and get that transport moved to TEST. -
I received a psd file created in CS6 for MAC, I am unable to find the layers when I open it in photoshop in Windows. What can i do to edit the files? What can be done so that I can either open and see the layers or how can the sender save it in a way that it doesn't "merge" the layers in some way to just one?
Could try saving as tiff provided layers and transparency are chosen at the time of saving. But it's hard to give a definitive answer as it depends on the final usage. For example PSD's tend to work better in applications like In Design in comparison with tiff.
-
When I change the time zone of the clock, the "Date created" time information for my documents and image files in the Finder window (and in Get Info) is changed. Can I make the time info in "Date created" remain fixed regardless of the clock's timezone?
When I change the time zone of the clock, the "Date created" time information for my documents and image files in the Finder window (and in Get Info) is changed. Can I make the time info in "Date created" remain fixed regardless of the clock's timezone?
-
Migrated Aperture 3 upgrade from old Mac Book Pro to new Mac Book Pro. Can't open Aperture on new machine because I don't have the original serial number for Aperture 2 program originally installed on the old machine. What is the best solution to this situation
Call Apple and make a appointment.
You have 3 months of care and up to 3 years with paid AppleCare, let them handle it and bring everything in.
Good Luck -
Generation .class file for Java Concurrent Program
Hi
Below if my sample java concurrent program code and registered concurrent program
package oracle.apps.sample;
import oracle.apps.fnd.cp.request.*;
public class Hello implements JavaConcurrentProgram {
public static final String RCS_ID = "$Header$";
public void runProgram(CpContext ctx) {
ctx.getLogFile().writeln("-- Hello World! --", 0);
ctx.getOutFile().writeln("-- Hello World! --");
ctx.getReqCompletion().setCompletion(ReqCompletion.NORMAL, "");
Created a sample directory under $JAVA_TOP: $ mkdir $JAVA_TOPoracle/apps/fnd/cp/sample
Copied Hello.java into $JAVA_TOP/oracle/apps/fnd/cp/sample and ran below command to compile
$ cp $HOME/Hello.java $JAVA_TOP/oracle/apps/fnd/cp/sample
But getting error
javac: file not found: /oracle/apps/fnd/cp/sample
Usage: javac <options> <source files>
use -help for a list of possible options
Please suggest what was issue and is there any option to generate class file in J developer in local (Windows) instead of doing on application server if yes what are steps to be followed to generate class in windows
Thanks
ArjunPlease post the details of the application release, database version and OS.
But getting error
javac: file not found: /oracle/apps/fnd/cp/sample
Usage: javac <options> <source files>
use -help for a list of possible optionsHow do you get this error?
Thanks,
Hussein -
Unable to import the package for java concurrent program
Hi all
i m trying to work on java concurrent program ,but when i tried to import these classes
import oracle.apps.fnd.cp.request.CpContext;
import oracle.apps.fnd.cp.request.JavaConcurrentProgram;
the compiler is throwing
cannot access class oracle.apps.fnd.cp.request.CpContext; file oracle\apps\fnd\cp\request\CpContext.class not found
it is not giivng the cp package
please can somebody have idea ,what could be the reason .
thanx in advance
regards
pratapPratap,
Please download the cpcontext files whose package structure is oracle.apps.fnd.cp.request.CpContext
from the google or other search sites or download it from application unix server $JAVA_TOP/oracle/apps/fnd/cp/request/CPContext .
If it is a class file then convert it to java file by using java decompiler.
then plalce the file respective folder by creating folder of this name. e.g. if
the package structure is oracle.apps.fnd.cp.webui the create folders in myproject folder in jdeveloper
oracle, then under oracle folder cretae aapps folder and so on...
Thanks,
Kumar -
OAF: Creating PDF output without calling concurrent program.
Hi Everyone,
i want to Create PDF output in OAF.
I wil be having one button “Convert PDF” on my OAF page. On clicking on that button my page should generate pdf output without calling concurrent program(Because running a concurrent program may take much time sometimes.).
How can I do that?
I have never generated pdf outputs so plz help me to get out of this.
What are the possible ways to get this?
Any example?
Any suggestions wil be really useful.
Thanks.....Hi ,
Please refer to -
http://apps2fusion.com/at/85-daxesh/515-oa-framework-xml-publisher-integration
http://apps2fusion.com/at/51-ps/260-integrating-xml-publisher-and-oa-framework
Regards,
Ashish
Maybe you are looking for
-
Dear SRM Gurus, While we define SITE in SMOEAC. What should be - RFC destination - FOR BACKEND A) System USER. B) Dialog User. Thanks and Best Regards, ANIL RAJPAL.
-
There is an issue with my keychain password. I can not remember having set up a keychain password at all. All the time i'd like to show the password of e.g. a wireless connection keychain asks me to enter the keychain password which i can not remembe
-
I have Windows Vista 64-bit. I can't play on-line games on Pogo. I already contacted Pogo & they told me to update flash player. Firefox disabled by plugin for flash. I can't get the most updated Adobe flash player because it doesn't support 64-bit.
-
2 questions, how do I get google back to safari browser, and why does my screen zoom out all buy itself ?
-
Test web dynpro appear error message
Hi can anyboday tell me , when I test Web dynpro progream then appear message: 已在系统中处理下列错误文本ER1:An exception occurred that was not caught. 应用程序服务器和exxept01_ER1_01工作流程中产生错误0. 终止类型为:RABAX_STATE ABAP 调用堆栈: Method: CHECK of program CX_FQDN========