Calling an PC-Application from the CUSTOM.PLL
We are moving from Oracle Financials 10.7 (Smart Client) to Oracle Financials 11.3
In Oracle Financials 10.7 we call a PC-Application from within the CUSTOM.PLL
Can anyone tell me if this is still possible in 11.3 when the forms are running on a formsserver and not on the PC anymore.
If "outside of network" is over NAT (for example from Internet) you can access to Apex.
1. You can set public IP for your APEX server and call http://public_ip:PORT/apex/
2. You can redirect port on your router. (if call on 8080 redirect to -> local ip and port
Also you have to open remote access:
exec dbms_xdb.setListenerLocalAccess
(l_access => FALSE);
Similar Messages
-
How to call an external application from the current one
Hi Guys,
Im not sure if/how this is possible.
For example:
I have two projects : Project1 and Project 2.
When I click on a button in Project2, Project1 needs to be launced. That is, the Main class of Project1 needs to be triggered.
How do I do this? I have tried everything.
Kind Regards,
ChristiaanThere is no problem with handling multiple Frame with a javaFX app. Some features are needed to improve that, like AlwaysOnTop, modal, ...
For exemple it can be used like a splashscreen.
If your question was about launching anything on your machine, the regular java API can do that. -
Calling web Service from the Custom Adapter.Is it Possible?
Hi Experts,
I am having requirment in which i have to cal com.sap.aii.mapping.lookup.LookupService for calling web Service from the Custom Adapter.Is it Possible?
Regards,
Rajesh.DHi Rajesh..
Just looking the problem in another angle.. if there is no constraint that you have to use XI specific API to call the web service, why dont you use usual Java API used for calling a web service inside you custom adapter (I have Microsoft background.. donno exactly how it is done in Java,, but in .NET kind of a language it is possible). SInce your adapter is in Java itself and is capable of calling web service.. collect or lookup the data whatever you want and validate...
Just a thought..
VJ -
How to Call a AIR application from Flex Application
Hi,
I have Used AIR (Desktop application) in Flex Builder to Upload a File from a local path and save it it a server path.
I need to Call this AIR(Desktop application) from my Flex Application.... i.e
I am using a link button to send a event using Script and Forward that Desktop application from Flex Screen
But it doesnot load that (Desktop application) in Screen. Only Balnk screen is loaded from path
Here is the code
AIR(Desktop application)
<?xml version="1.0" encoding="utf-8"?><mx:WindowedApplication
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="openBrowseWindow();">
<mx:HTTPService id="urlpath" showBusyCursor="true" useProxy="false" method="
POST" url="http://localhost:8080/nat/FlexAction.do?method=UrlPath"result="pathresult(event)"
fault="faultHandler(event)"
>
</mx:HTTPService>
<mx:Script>
<![CDATA[
import mx.events.FileEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import mx.utils.ObjectUtil;
import mx.controls.Alert;
private
var openFile:File = new File()
private
function openBrowseWindow():void{openFile.addEventListener(Event.SELECT, onOpenFileComplete);
openFile.addEventListener(Event.OPEN, load);
openFile.browse();
private
function load():void{Alert.show(
"load");
var imageTypes:FileFilter = new FileFilter("Images (*.jpg, *.jpeg, *.gif, *.png)", "*.jpg; *.jpeg; *.gif; *.png");
//var textTypes:FileFilter = new FileFilter("Text Files (*.txt, *.rtf)", "*.txt; *.rtf");
var allTypes:Array = new Array(imageTypes);openFile.browse(allTypes);
private
function faultHandler(event:FaultEvent):void {
//Alert.show("Fault")Alert.show(ObjectUtil.toString(event.fault));
private
function pathresult(event:ResultEvent):void{Alert.show(
"res")
//Alert.show(ObjectUtil.toString(event.result));}private
function onOpenFileComplete(event:Event):void{
//mx.controls.Alert.show("event: "+event.target.nativePath +"UR!!!");
var pPath = event.target.nativePath;
var parameters:Object = {FlexActionType:"PATH",path:pPath};
// Alert.show("Image Selected from Path : "+pPath); urlpath.send(parameters);
//Alert.show("Passed.."+parameters);}
]]>
</mx:Script>
<mx:Button click="openBrowseWindow();onOpenFileComplete(event)" name="Upload" label="Upload" x="120.5" y="10"/>
Here is Mxml Code for Flex Application
<?xml version="1.0" encoding="utf-8"?><mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns="http://ns.adobe.com/air/application/1.0.M4" >
<mx:Script>
<![CDATA[
import mx.controls.Alert;
private function Upload():void{
// CursorManager.setBusyCursor();
//var url:String = "HomeAction.do?method=onLoad";
//var url:String = "assets/Air.swf";
var url1:URLRequest = new URLRequest("assets/Air.swf");navigateToURL(url1,
"_self");
// CursorManager.removeBusyCursor(); }
]]>
</mx:Script>
<mx:LinkButton id="up" click="Upload()" x="295" y="215" label="UpLoad"/>
In this code i forward using s url to Open tat Desktop application but a blank screen appears with out the proper output...
Please Help me in this to forward AIR from Flex Screen..
Thanks in Advance
With Regards
Gopinath.A
Software Developer
First Internet Systems Pvt. Ltd.,
Chennaitry this
http://www.leonardofranca.com/index.php/2009/09/17/launching-an-installed-air-application- from-the-browser/
regards
Leonardo França
Adobe Certified Expert Flex 3 with AIR
Adobe Certified Expert Rich Internet Application Specialist v1.0
Adobe Certified Expert Flash CS3 Professional
Certified Professional Adobe Flex 2 Developer
Adobe Certified Professional Flash MX 2004 Developer
http://www.leonardofranca.com
http://twitter/leofederal
Manager AUGDF - Adobe User Group do Distrito Federal
http://www.augdf.com.br
http://twitter/augdf -
How to call a concurrent program from a Custom JSP page.
Hi,
I have a custom JSP page which i have deployed by creating a form function with the path of the JSP Page
and added the JSP Page to the OA_HTML top.
Now, i need to call a concurrent program from the JSP Page, i have all the parameters in my page and i am using the standard class as below:
ConcurrentRequest cr= new ConcurrentRequest(con);
int requestId= cr.submitRequest("XXINV",programName,null,null,false,vec);
I have verified my connection object and it is OK but i am getting the exception that user is not set to run the program.
I tried the below code in my JSP page and getting -1 for all test variables :-
int userId = wctx.getUserId();
int respApplId = wctx.getRespApplId();
int respId = wctx.getRespId();
I think i need to set the context in JSP page to run the program..
Pls help ....
Regards
Saurabh JaiswalHi,
Thanks for the reply,,,
This is a possible solution but this will allow to run the program anyhow.
But the procedure which i call thru callable statement will start with
fnd_global.apps_initialize (3825, 50603, 704);
fnd_request.submit_request API call.
Now, the values of user and Responsibilty is required in the program and it changes.
With this approach we have to hardcode the user and resp.
The same JSP page is attached to other responsibilities and there the concurrent program would get fired as if fired from the resp Id hardcoded as above.
Need to capture user Id and RespId.
How can i set the apps Context in JSP page???
Regards
Saurabh Jaiswal -
How to call a VB application from Java
Hi,
does anybody know how to call a VB application from java.
Would appreciate if you can provide me with an example.
thankstry exec()ing the cad program with the name of the file as a command line parameter...
Runtime.getRuntime().exec("CADProg.exe Test.prt");
i have no clue if this will work but it seems like it's worth a try. -
How to call an applescript application from Office 2011 Excel VBA
All:
I have been pounding my head how to implement a working VBA application into the Mac environment. I have tried a number of approaches calling applescript from VBA. I would like to call my applescript application and pass one argument. My applescript application is as follows:
<code>
on run argv
set theURL to (item 1 of argv)
set p_path to do shell script "echo ~"
set m_path to POSIX file p_path
set theName to text -((offset of "/" in (reverse of characters of theURL) as text) - 1) thru -1 of theURL
set theFile to (p_path & "/Downloads/" & theName)
set macPath to (POSIX file theFile)
do shell script "/usr/bin/curl " & theURL & " -o " & quoted form of POSIX path of macPath
end run
</code>
My last attempt within VBA is:
<code>
Sub SaveMetaDataFile(URL As String, shortFileName As String)
Dim scriptToRun As String
Dim posixcmd As String
posixcmd = ThisWorkbook.Path
scriptToRun = "tell application " & posixcmd & ":MetaDataFileDownloadScript.app " & URL
MsgBox "[" & scriptToRun & "]"
MacScript (scriptToRun)
</code>
I first tried to call the script directly without the "tell application" and I still obtain an error. I also tried the following in VBA and I get the same error with the last lane of code:
<code>
scriptToRun = "set theURL to " & """" & URL & """" & Chr(13)
scriptToRun = scriptToRun & "set p_path to do shell script " & """" & "/bin/echo ~ " & """" & Chr(13)
scriptToRun = scriptToRun & "set m_path to " & """" & posixcmd & """" & Chr(13)
scriptToRun = scriptToRun & "set theName to " & """" & shortFileName & """" & Chr(13)
scriptToRun = scriptToRun & "set theFile to (p_path & " & """/Downloads/""" & " & theName)" & Chr(13)
scriptToRun = scriptToRun & "set macPath to (POSIX file theFile)" & Chr(13)
scriptToRun = scriptToRun & "do shell script " & """" & "/usr/bin/curl " & """" & " & " & " theURL " & " & " & """" & " -o " & """" & " & " & " quoted form of POSIX path of macPath"
MsgBox scriptToRun
'scriptToRun = scriptToRun & "do shell script " & """/usr/bin/curl """ & " & " & " theURL " & """ -o """ & " & " & " quoted form of POSIX path of macPath"
MacScript (scriptToRun)
</code>
The above code is from the applescript application. The applescript application works well using the terminal via osascript. For example:
xenas-imac:Census Work Xena$ osascript MetaDataFileDownloadScript.app http://www2.census.gove/acs20095yr/summaryfile/Sequence_Number_and_Table_numberLookup.xls
xenas-imac:Census Work Xena$
The whole goal is to download a file into the Download directory from Excel to allow the next step to import the file into Excel for the user. Any help here would be great!
Thank you;
LoriUpdate:
Ok have the module almost working and matches the syntax within the test applescript I had created, but the VBA code via the MacScript() call is generating an invalid procedure or argument call. The following is the test applescript to compare the created string to be passed to VBA MacScript() function:
<code>
set appPath to quoted form of POSIX path of "Macintosh HD:Users:Xena:Desktop:Census Work:"
do shell script "/usr/bin/osascript " & appPath & "MetaDataFileDownloadScript.app " & "http://www2.census.gove/acs20095yr/summaryfile/Sequence_Number_and_Table_numberLookup.xls"
</code>
The following is the VBA module that generates the above word for word as far as I can tell:
<code>
Sub SaveMetaDataFile(URL As String, shortFileName As String)
Dim scriptToRun As String
Dim posixcmd As String
posixcmd = ThisWorkbook.Path
posixcmd = posixcmd & ":"
scriptToRun = "set appPath to quoted form of POSIX path of " & Chr(34) & posixcmd & Chr(34) & Chr(13)
scriptToRun = scriptToRun & "do shell script " & Chr(34) & "/usr/bin/osascript " & Chr(34) & " & appPath & " & Chr(34) & "MetaDataFileDownloadScript.app " & Chr(34) & " & " & Chr(34) & URL & Chr(34)
MsgBox "[" & scriptToRun & "]"
MacScript (scriptToRun)
End Sub
</code>
The message box in the above VBA code matches my test applescript file and I have taken the output of the MsgBox and used it in a test applescript and it works great, but VBA is throwing "Run-time error '5': Invalid procedure call or argument".
Looking at Microsoft's definition it takes a string argument and I have made sure that scriptToRun is a string type, so at this point I suspect there is something wrong with the MacScript() funciton, or I am missing something above. Is there another way to call an applescript application from VBA outside the MacScript() function? Or is there something I am missing? Any help or suggestions is needed.
Thank you;
Lori (CodeXena) -
I want to call External Java class from the PL/SQL
Hi,
I am using Oracle Apps R11i (11.5.7), I wanted to call external Java class from the PL/SQL. This external Java class is residing in another application server.
How do I do this.
I know one way. Develop C routine in Oracle Apps to call external java class and call this C routine from the PL/SQL.
Is there any simple method available? or any other method?
Thanks in advance.
-VenkatFirst of all, this is a Java application you're talking about, right (i.e. it has a main() function)? It's not just a class that you're trying to instantiate is it? If it's an application, you obviously have to start a new virtual machine to run it (rather than using the virtual machine built into the database like stored java). I'm a little leary of your mention of an "application server" as this would more commonly mean that a virtual machine is already over there running with access to this class. In which case, you'd typically interface with SOAP or some other RPC API.
All that aside, as long as you have physical disc access (through NFS or whatever) to the class file, you could use a java wrapper class with a system call to do this. In fact, there is a thread in just the last day or so on this very forum that has the code to do just that (see " Invoking OS Commands from PL/SQL"). However, it's worth noting that the virtual machine will be running on the database server in this case and not the application server. -
Call a Java Application from MicroFocus COBOL (in UNIX environment)
Hello,
Could you please let me know, how to call a Java application from a MicroFocus COBOL application. If anyone has any code samples, that would be of great help.
Thanks in advance,
Tijo.You generally can't cause a program to be executed on a different >server. Basic security, you know. Besides this idea of having the Java >application run on a different server wasn't mentioned in your original >post. That leads me to believe we don't have the whole story.So I think you need to step back and find out what are the requirements. For example: Does your program need to start this Java application running, or is it already running and your program needs to connect to it somehow?
My program has to start a Java class file, meaning that the Micro Focus COBOL module will call the Java class file. Will it be running on the same machine as your program, or on some other machine?
For both cases, I would like to know the answer.a) Running on the same machine as my program is running.
b) Running on the different machine.
And then there are the questions about whether your program needs to have a conversation with the Java application, or whether it just needs to start it and that's all.
COBOL program has to call a Java class by passing some parameters and Java class in turn process it and return some value back.. Kind of Request and Response model.Plenty of questions to be asked. Go and find out what they are.
Sorry ... if I am not clear on my questions. Anyhow, thank you very much for providing the information. -
Calling A Webdynpro Application From Another Webdynpro Application
Hi,
i want to call a webdynpro application from another webdynpro application with sending parameters.
i used this method,
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = lv_webapp
IMPORTING
out_absolute_url = lv_url.
CONCATENATE lv_url '?param1=' lv_param INTO lv_url.
data lo_window_manager type ref to if_wd_window_manager.
data lo_api_component type ref to if_wd_component.
data lo_window type ref to if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->CREATE_EXTERNAL_WINDOW(
URL = LV_URL
lo_window->open( ).
but this method shows the parameters on the address bar.
is there a method to send the parameters to another webdynpro application without show the parameters on the address bar?
Can somebody help me pls?
Thanks.I've used a server cookie before. This was built for BSP, but it is really usable anywhere. It just writes the data temporary into the database. This way you can just pass one meaningless URL parameter - like a GUID and use this key to read the data (the server cookie) upon initialization of the new application. I generally serialize all the data that I want into one server cookie by serializing a class. I can then restore whatever attributes of the class that I want on the receiving side.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/bd/4cd23a09313b37e10000000a11405a/frameset.htm -
Calling a java application from j2ee web application
Hi,
I have a j2ee application in which i am making a call to a jar file which is a java application.
Runtime a4 = Runtime.getRuntime();
Runtime a = Runtime.getRuntime();
String cmd[] = new String[14];
cmd[0] = "cmd";
cmd[1] = "/c";
cmd[2] = "start";
cmd[3] = "javaw";
cmd[4] = "-jar";
cmd[5] = CATALINA_HOME+"\\webapps\\AveksaTesting\\AveksaTestingJava\\dist\\AveksaTestingJava.jar";
cmd[6] = SERVER_TESTS;
cmd[7] = COLLECTOR_TESTS;
cmd[8] = SYSTEM_TESTS;
cmd[9] = CREATE_ORACLE;
cmd[10] = DB_NAME;
cmd[11] = DB_DUMP;
cmd[12] = email;
cmd[13] = isMIGRATE;
try{
java.lang.Process p = a.exec(cmd);
Now in the called java application, i am first shutting down the tomcat server by calling shutdown.bat script and then starting it using startup.bat. But the problem i am facing is when i restart the server from java application, it says address already in use(i.e. port 8445 on which tomcat is runninng).
Id i just call the java application and do the same operation it works fine. I guess when i am calling java from j2ee application, j2ee still has some threads holding java and not shutting down tomcat properly.
Can anyone suggest me what can be done in this case. I have to call a java application from j2ee and restart the tomcat server many times.
Thanks in advance
-VikramAnnoyingly crossposted.
http://forum.java.sun.com/thread.jspa?threadID=730657 -
How to trigger an ESS application from a custom built WD app
Hi All,
I want to trigger the ESS record working time application from a custom built web dynpro application on click of a button.
I tried Absolute Page Navigation for this but I am not able to do so can somebody help me in this. I use this code to navigate it to the target application.
<b><i>WDPortalNavigation.navigateAbsolute("ROLES://portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.roles/com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.area_working_time/com.sap.pct.erp.ess.recordworktime", WDPortalNavigationMode.SHOW_INPLACE, WDPortalNavigationHistoryMode.NO_HISTORY, "");</i></b>
Regards
SidHi Tummuru,
I was about to close this question as my problem got resolved.
I was running the application outside portal and because of that the navigation was not working.
Anyways thanks for showing interest
Message was edited by:
siddharth chauhan -
I bought an iPad and an iTunes card, I want to buy an application from the Apps store but it only gives me the option of credit card. How can I buy Pages with my iTunes card to my iPad? thank you
Have you redeemed your iTunes card to an account associated with an Apple ID?
Once you have your iPad associated with an Apple ID AND you have an account with a credit card associated with the same Apple ID AND you have some 'store credit' (from redeeming your iTunes card) then purchases use the store credit before they charge the credit card, so you should be ok!
Personally, I use 'store credit' as a way to monitor whether or not there have been any 'unauthorised' purchases because as soon as the store credit is zero, the security code from the credit card is needed for further purchases! It does mean that I have sometimes to top up store credit before making a purchase, but 'better safe than sorry'! -
How can I remove the applications from the Content Administrator
I had undeployed the applications from Content Administrator in two ways:
A:
1. Start the tool using the go.bat located in \usr\sap\<SID>\<Instance Name>\j2ee\admin folder
2. Log in with an Administrator user.
3. Under the Server node click Services-> Deploy.
4. In the runtime tab, on the right hand side screen click on the Applications checkbox. The list of all deployed applications appears.
5. Select the application and click on the Remove button.
B:
Undeploying using SDM remoteGUI.
after I finished that,the application still exist in the browse of Content Administrator Web Dynpro.
But it is'n invailable.When I click the application name,it throws exceptions:
Failed to get the list of names of referenced deployable objects for deployable object 'local/Welcome'.
Failed to get list of defined JCO clients for deployable object 'local/Welcome'.
Failed to get the list of names of referenced deployable objects for deployable object 'local/Welcome'.
Failed to get enable state for 'local/Welcome'.
No resource bundles found for development component ''local/Welcome''.
My question is , how can I remove it form the list.Hi,
Have you restarted the server after removing the application from the Visual Admin?
Regards,
Satyajit. -
How do I delete more than 1 slide at a time from the custom slide show in Elements 8
How do I Delete more than 1 slide at a time from the custom slide show in Elements 8?
How to Mass Delete Emails from iPhone and iPad Inbox (with video)
http://suiteminute.com/how-to-mass-delete-emails-from-iphone-and-ipad-inbox/
Cheers, Tom
Maybe you are looking for
-
How do I delete a duplicate wireless network created on my Time Capsule
I was looking to extend my wi-fi network using an AirPort express, with an existing Time Capsule as the base. Ran into several issues. Reset my TC, created "new" network with the same name I used before, as I thought the reset would delete the old
-
Itunes wont open after reinstalling new version
Any ideas on how I can get itunes to open up after installing new versions of it and quicktime?
-
JavaEditorKit sun.tools.java.Constants jar help
I found a good article on JavaEditorKit using JEditorPane. Problem is this article uses sun.tools.java.Constants. I could not find a jar that would provide the functionality. I was able to see api for sun.tools.java.Constants. I need someone to help
-
In the app I have used 4.25GB of 5GB Do I need to purchase more storage?
My photo stream has stopped working It is greyed out so I cannot check it I have used 4.25GB of 5GB Do I need to purchase more storag
-
Upgrading Adobe CS2 PowerPC to Lion
Hi, I have recently purchased a new iMac running Lion software and have just realised that this will not allow me to install the current CS2 PowerPC Creative Suite that I was using on my previous Mac. What I would like to know is if and how it is pos