How to linked to Oracle Applications from another program
I'm developing a program that linked automatically to Oracle Applications, but I have a problem when linked jsp page, for example Purchasing Super User -> Notifictaions Summary (http://host.mydomain.com:8000/OA_HTML/RF.jsp?function_id=2781&resp_id=20707&resp_appl_id=201&security_group_id=0&lang_code=US¶ms=-hGaWj3PvePPMhx7H1yInt93j1IPNk6tfPVTCtNXwLs&oas=gS2ZxQ3Hn1tQi6xAVKtgsw..). This page need some special parameters, params and ocs, that I can't regenerate. My current solution is to use javascript to parse html page. and find the link that match function_id, and resp_id of page that I want to show. To do this I have to solve javascript cross domain problem by adding javascript code like document.domain="mydomain.com" into jsp page of Oracle Applications, but I can't find the location of thehtml page used for main menu and "Home" page.
Do you have any sugestion ?
Thank you
Hi,
To create Interface with SAP Business Object Repository (BOR) Oracle provides Adapter for SAP.
Please get more info on this
http://www.oracle.com/technology/products/integration/adapters/pdf/DS_OracleASAdapter_SAP.pdf
Example of using the Oracle AS Adapter for SAP - http://www.oracle.com/technology/products/integration/adapters/pdf/adapter-Tutorial3-InvokingSAPBAPI.pdf
regards,
Similar Messages
-
How to call an alv report from another program and return back
Hello ,
I am calling one abap program (Prgm B) from another program (Prgrm A).
Here, Prgm B is an ALV report. I have fetch some data from Prgem B that gets stored in an internal table.
Now, I am using below code in Prgrm A,
SUBMIT Prgrm B VIA SELECTION-SCREEN
WITH SELECTION-TABLE rspar
EXPORTING LIST TO MEMORY
AND RETURN.
When Prgrm A executed, it lead me to selection screen of Prgrm B and when I click F8, it shows me the report output, In short, it doesnt return back to Prgrm A. It ends up showing me the alv report if Prgrm B even afetr using RETURN statement.
I want to get back to Prgrm A by fetching some data from Prgrm B.
Please let me know, if i am missing something.
Regards,
SeemaHi Seema,
Refer below code.
DATA: v_matnr LIKE mara-matnr.
DATA: t_listobject TYPE abaplist OCCURS 0 WITH HEADER LINE.
DATA: t_mara TYPE mara OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF t_ascilist OCCURS 0,
line(200).
DATA: END OF t_ascilist.
data var(3) type c.
SELECT-OPTIONS: s_matnr FOR v_matnr.
var = ' 3'.
START-OF-SELECTION.
SUBMIT ztestaks1 WITH s_matnr IN s_matnr EXPORTING LIST TO MEMORY
AND RETURN.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = t_listobject
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
CALL FUNCTION 'LIST_TO_ASCI'
* EXPORTING
* LIST_INDEX = -1
* WITH_LINE_BREAK = ' '
TABLES
listasci = t_ascilist
listobject = t_listobject
EXCEPTIONS
empty_list = 1
list_index_invalid = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
WRITE:/ 'Below are the lines from the submitted program.'.
LOOP AT t_ascilist.
WRITE:/ t_ascilist-line.
ENDLOOP.
SKIP 2.
ENDIF.
ENDIF.
IMPORT t_mara FROM MEMORY ID 'T_MARA'.
WRITE:/
'Here is the output from the table exported from the submitted program.'
LOOP AT t_mara.
WRITE:/ t_mara-matnr.
ENDLOOP.
Submitted program
REPORT ZTESTAKS1.
DATA: v_matnr LIKE mara-matnr,
v_maktx LIKE makt-maktx.
DATA: t_mara TYPE mara OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF t_makt OCCURS 0,
matnr LIKE makt-matnr.
DATA: END OF t_makt.
SELECT-OPTIONS: s_matnr FOR v_matnr,
s_maktx FOR v_maktx.
START-OF-SELECTION.
SELECT matnr INTO TABLE t_makt
FROM makt
WHERE matnr IN s_matnr
AND maktx IN s_maktx.
if not t_makt[] is initial.
SELECT * FROM mara
INTO TABLE t_mara FOR ALL ENTRIES IN t_makt
WHERE matnr = t_makt-matnr.
endif.
EXPORT t_mara TO MEMORY ID 'T_MARA'.
WRITE:/ 'This list is from the submitted program'.
SKIP 1.
LOOP AT t_mara.
WRITE:/ t_mara-mtart.
ENDLOOP.
Hopes this helps you.
Thanks,
Ashok. -
EREC-BSP-How to call a bsp application from another bsp application
Hi Experts,
In E-Rec one of my bsp application zapp_e_ext calling another standard bsp application hrrcf_searchhlp when user click on search help button.
i made a zcopy (zhrrcf_serchhlp) of std application hrrcf_searchhlp,and did some changes,
now the problem is how to replace the std application with zapplication so that zapplication should be called in place of std application when user click on search button.
Cheers,
Amodtry 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 WD Application from another WD Appliction
Hi all,
how can we call webdynpro application from another wbdynpro application on click of a button in the same browser.
pls suggest
regards
vishalHi Vishal,
Just try to Embed the another WD Component into Component Controller first.
And then Create a View and map it to window as U regularly do,
then in Window- Explore the tree until that View, now open Context Menu for Embed View Option and from the scroll U get search for that WD Component U wanna Embed.
U also have to handle Plugs here, Because the result application required some parameters to be passed that U do from ur first application by passing those values through Plugs. -
Invoke one java application from another?
Hello,
Can anyone tell me how to Invoke one java application from another?
Suppose I have a small java application say, Hello.java which has its own main() method and
I also have another java application, say World.java which has its own main() method too.
What I want to do is invoke or startup World.java from Hello.java.
If possible kindly give code examples?main is just a normal method so Hello can invoke the main method of World just as it would invoke any other method.
Kaj -
How to open Adobe Reader file from another native IOS application?
There is an existing thread, but I want to re-open it because I think this is an important feature that we need badly. I was wondering if there is any plan to add this feature so we can open PDFs directly into Adobe from the web / other apps.
How to open Adobe Reader file from another native IOS application?
Basically, we just want to use a custom URL scheme to open a specific document in the App. Currently, this only opens the app but does not load the file.
APBNot to hijack the conversation but I can explain why this would be useful for both the above case and another.
What I believe Pavel is talking about is setting up a "URL Scheme" for the Adobe Acrobat iOS application so that you can easily open a PDF specifically in Adobe Acrobat iOS from other native applications and even from web applications opened within Safari. This is particularly useful if your application requires some of the specific features in Adobe Reader iOS to grant them the best experience possible and you want to encourage this.
Another case: If you're using Adobe Livecycle's document security modules (that encrypts PDF files so that Adobe Acrobat must "phone home" to decrypt and view the document), these PDF's can only be viewed inside the Adobe Acrobat application and appear as blank in most other PDF readers. Having a URL scheme allows your application utilising this functionality to have a 1 click step to view the PDF rather than the current non-user friendly process:
- Within Safari, touch the PDF link (appears as blank in the default Safari PDF reader, which in itself is confusing)
- Touch "Open in..."
- Touch "Adobe Acrobat"
We have an immediate need for this functionality for the example above. I can resubmit it in a separate post if necessary. -
How to access oracle 11i from another node
Hi,
I have installed Oracle 11.5.5 on Windows NT4.0. I could access it on the same machine through the internet explorer by typing http://computername.domain name:8002/OA_HTML/US/ICXINDEX.htm
Now i want to access application from another machine. How to do it?. Can i find any help documents on this & where?
Please help me on this.
Thanks & Regards,
Arun
[email protected]Hi,
As i remembered,you do not have to do anything extra to access the URL from other machines.ya both the machine should have the some sort of connectivity and at the max you can make the entry of URL along with ip address of server into your local machine's host file.
could you please share the error message you are getting ?
-Yogi
[email protected] -
How to connect to Oracle database from webdynprojava application
Hi
How to connect to Oracle database from webdynprojava application. where can we provide the code to connect to database.?
Thank You.Hi,
You need to create Java Bean model. The bean is a typical java bean with default constructor, getter and setter. You can have additional methods for query etc. The attributes in the class will be your model node and attributes.
However you need to configure the connection and create JNDI using visual administrator before writing the code.
You can also consider writing Session EJB with oracle and using them in WD.
http://help.sap.com/saphelp_nwce10/helpdata/en/45/dcaa4f05535591e10000000a1553f7/frameset.htm
Srini -
How can I edit my website from another computer? and how can I create a new website next to the one, I already have? Can anyone help, please?
Move the domain.sites file from one computer to the other.
The file is located under User/Library/Application Support/iWeb/domain.sites. Move this file to the same location on the other computer and double click and iWeb will open it. Remember, it is your User Library that you want and not your System Library, as you will not find iWeb there.
Just create a new site on the same domain file and it will appear below the other site. If you want them side by side then duplicate your domain file and have one site per a domain file and they can then be side by side. -
How to display a oracle table from a java program?
How to display a oracle table from a java program.
Hello friends, I have written a Java program, using oracle 10g as backend.
I want to display a oracle table as output. Im not getting how to display oracle table as a output table.. Pls help me
Thank youjayanthds, you're not going to get a satisfactory
answer to this here. it's too big a task to justbe
quickly outlined in a forum - the reply "all youneed
to do is to query you table and return it asJTable"
is worthless, for example, since the solution to
any problem can be distilled to such a
soundbite, if need be. doesn't make the solutionany
simpler
essentially you're asking "how do I write adatabase
application?". all you'll get is snippets of code
that, when fitted together, will eventually helpyou
do this, but you'll spend days and days comingback
saying "right, I've done that, now what?" until
either you or the forum gets frustrated with the
whole affair and the process stops
there are entire books written about this subject,
and countless tutorials and guides on theinternet.
you're better off going down that routehehehe.well, it's true! I used to have a manager that would outline the solution to a problem in a few lines of pseudocode, and then firmly believe that the actual solution would be just as brief and simple. shame his pseudocode included such lofty abstractions as "reformat all data" -
Calling Java Application from another
How can i call a Java Application from another java App.
eg., If my Java application is called MyApp and i would like call another java application from within it.
One way could be by using "System". I would like to know if there is any other method and is portable.
Thanks in advance.hi,
it works and not!
if you start an other class with a command like this the 2nd prog/class terminates too if you terminate the caller-class!
dear
oliver scorp -
How to execute 2 different application from same Application Server
Hi,
I would like to know that how to execute two different applications from the same Application Server with different databases?
We are using
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
Oracle Application Server 10g 10.1.2.0.2
Regards,
Hassanwhat type of applications you want to run from the same application server, Hassan?
What other DB are you using to launch it beside the one you quoted? Is it the MRep DB of infra? -
Web dynpro abap : Call an application from another with parameters
Hi ,
Could you please tell me how to call an application from another with parameters?
Thanks a lot
Karim* Construct the URL
call method cl_wd_utilities=>construct_wd_url
exporting
application_name = 'APPLICATIION_NAME'
importing
out_absolute_url = g_url.
* Append parameters to URL
data: g_par1 = lv_value. " value of your parameter
call method cl_http_server=>append_field_url
exporting
name = 'PAR1' " Parameter name
value = g_par1
changing
url = g_url.
* Call the Application
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 = g_url ).
lo_window->open( ). -
Issue in executing an application from another remote server
Hi Experts,
I have an application on one of the remote server which is running on Windows Server 2003.
I would like to execute this application from another remote server (also running on Windows Server 2003). I am able to browse the application path using "\\", but when double clicking on the application
gives "you may not have appropriate permission to access the item"
How do I set the permission & what permission is required?
Please anybody can explain?
Thanks in advance.
Regards,
Naveen J VIs this a single exe file, or is it part of an installed application with exe, dlls, registery settings, etc?
If this is an installed application, you cannot run it like this. That would be like trying to start microsoft office which is installed on a different computer. -
Re: How do I keep an application from being started morethan once?
Here are some quick ideas. None of them should be too hard to implement,
although each has some drawbacks.
1. Have a login server track who is logged on, and if there is already a
logon for a given user or a given machine, then deny the application
startup. The nice thing about this is that a user will not be able to have
multiple logins even by going to another machine. Then again, this may not
be so nice, and you also get a possible single point of failure on the
login server for which you will have to prepare.
2. Drop to the operating system, and get a list of processes for the client
machine. If the name of one of them matches the name of application that
is being run, then deny startup. This avoids a network hit, but requires
some OS specific code. Also, a clever user could change the name of an
executable to get around this. Note that a user could have another login
on another machine.
3. Write to a file on the local machine. You can hide the file in some
suitable place, and can also scramble some information so that a user
cannot get around having this file present by reading from the file at
startup and then writing to it. Based on the state of your application,
the file will have some scrambled information indicating if an instance of
an application can be started. If you retain the write lock (i.e. do not
close) the file for the duration of the application, you increase your
security at the risk of a confused user if the application gets terminated
without releasing the lock. Depending on the OS where the client will run,
this could be an issue. If you like this option, perform some experiments
first on all configurations of an example client machine to determine the
behavior. Again, this only works to prevent an extra login on a single
machine, not system wide.
If you are not concerned about your users hacking around too much and don't
care about a login on another machine, I would opt for some version of
number 3. Otherwise, I would venture number 1.
Regards
CSB
At 07:47 AM 2/18/98 -0500, Martin G Nystrom wrote:
A user can launch an application, then launch it again. How do we make it so
that the user can only run one instance of the application?
Martin Nystrom
Eli Lilly and Company
([email protected])
Curtis Bragdon, Senior Consultant, Forte Software
[email protected]
Voice Mail: (510) 986-3807
Paging: (888) 687-6723
"I've seen dozens of triggering towns." - Richard HugoYet another quick and dirty solution is to use local ExternalConnections.
This is a single instance per machine solution.
Example is attached.
(See attached file: TestOne.pex)
[email protected] on 02/18/98 10:01:07 PM
Please respond to [email protected]
To: [email protected]
cc: [email protected]
Subject: Re: How do I keep an application from being started more than
once?
Martin,
there are two ways to read your question
(a) no more than one instance of an application per machine
(b) no more than one instance of an application per "user"
now if a user has only one machine, and your system has "userids" and you
only want
one active "session" per "user" then the distinction is irrelevant.
However, many systems
let people share logins, so a token based thing enforcing one login will be
problematic.
The downside of #1 approach suggested by Curtis happens when a machine gets
hosed without "logging" the user off the security system, then they can't
get in until their ticket expires or a sysadmin gets involved. Should be
manageable, however. But this enforces one application
instance per user, unless you check both for the presence of an active
token for that user as well as the presence of a token tied to that
particular node name. Otherwise there is nothing to prevent the same user
from launching the app again and logging in as a different user. This is
definitely the best approach of the bunch, and can be adapted for either
(a) or (b).
Suggestion # 2 won't work unless the application is built as a compiled
client,
since the process name will be 'ftexec' and not the "name" of the
application. And it doesn't
prevent a user from launching the app from a different machine (or people
sharing logins). So again it depends on what you are trying to achieve.
#3 also only prevents multiple instances per machine, not necessarily by
user. Of course
most people don't have multiple machines. The point is that you may be
trying to
prevent your users from sharing logins. In which case the file thing won't
do it.
Some other ideas:
1. You could, however, enforce one application per machine using the
installed partition agent's ExecutingPartition instrument name. As long as
the user doesn't run the app in a different environment, you can have the
app check at startup time if there is another
ActivePartition running under the same InstalledPartition name.
(ActivePartitions are child agents
of InstalledPartitions).
2. use the ObjectLocationManager and bind a simple object into the naming
system using a naming scheme such as
/MyApplication/MyNode or
/MyApplication/MyUserId
the presence of either one would indicate that another instance of that
application is running on either that machine or that user. Of course
these have to be cleaned out, and subject to similar downside as
alternative #1. So you'd essentially be using the forte naming system as a
distributed lock manager (ouch).
3. Have the application remove the shortcut to launch it upon startup, and
recreate it when it is finished, or move it to a hidden place. There it
is - the worst idea I've ever come up with. Don't
do this!
Regards,
John
From: Curtis Bragdon <[email protected]>
Date: Wed, 18 Feb 1998 16:36:58 -0500
Subject: Re: How do I keep an application from being started more than
once?
Here are some quick ideas. None of them should be too hard to implement,
although each has some drawbacks.
1. Have a login server track who is logged on, and if there is already a
logon for a given user or a given machine, then deny the application
startup. The nice thing about this is that a user will not be able to have
multiple logins even by going to another machine. Then again, this may not
be so nice, and you also get a possible single point of failure on the
login server for which you will have to prepare.
2. Drop to the operating system, and get a list of processes for the client
machine. If the name of one of them matches the name of application that
is being run, then deny startup. This avoids a network hit, but requires
some OS specific code. Also, a clever user could change the name of an
executable to get around this. Note that a user could have another login
on another machine.
3. Write to a file on the local machine. You can hide the file in some
suitable place, and can also scramble some information so that a user
cannot get around having this file present by reading from the file at
startup and then writing to it. Based on the state of your application,
the file will have some scrambled information indicating if an instance of
an application can be started. If you retain the write lock (i.e. do not
close) the file for the duration of the application, you increase your
security at the risk of a confused user if the application gets terminated
without releasing the lock. Depending on the OS where the client will run,
this could be an issue. If you like this option, perform some experiments
first on all configurations of an example client machine to determine the
behavior. Again, this only works to prevent an extra login on a single
machine, not system wide.
If you are not concerned about your users hacking around too much and don't
care about a login on another machine, I would opt for some version of
number 3. Otherwise, I would venture number 1.
Regards
CSB
At 07:47 AM 2/18/98 -0500, Martin G Nystrom wrote:
A user can launch an application, then launch it again. How do we make itso
that the user can only run one instance of the application?
Martin Nystrom
Eli Lilly and Company
([email protected])
Curtis Bragdon, Senior Consultant, Forte Software
[email protected]
Voice Mail: (510) 986-3807
Paging: (888) 687-6723
"I've seen dozens of triggering towns." - Richard Hugo
John Jamison
Vice President of Technology
Sage IT Partners, Inc.
415 392 7243 x 306
[email protected]
Maybe you are looking for
-
I filled in a job application document in Adobe Reader (as instructed by the HR website of the company I am applying to). When I re-opened the saved document in AR, the text was gone. When I opened the same version in Preview, the checkmarks were gon
-
Adding Silverlight-enabled WCF Service failed with error code 50
Hello everyone, I am very new to Silverlight ,and I am working on silverlight with WCF. When I tried to add a silverlight-enabled WCF service. I kept getting the error Method failed with unexpected error code 50. I am working with Silverlight 5 an
-
Mac Compatible Software for NAVMAN - What to use?
Hi there, We have a IMAC and recently aquired a NAVMAN MY85XLT. I have discovered that to upgrade maps the Navman software is only compatible with Windows. Can anyone please advise a way arounds this? Preferebly without it costing a great deal??? Che
-
When I send an email and CC myself on the email and then view the email in my inbox, it does not show me who I had in the ''To'' field.2
-
How to reduce rendering time.
Hi I have a couple of questions- 1. When i am rendering an hd video pal format, it takes on an average 3.5 hours to render it. This is through encore as well as premiere? How do i reduce rendering time? 2. Second issue is how do i tranfer an open pro