Create RFC for connecting BW with external database (ORACLE)
Hello,
I want to connect to a seperate oracle database from SAP BW system. For that i have to create a RFC.
I hope i have to ctrate a TCP/IP connection.
In SM59, I can see " start on explicit host " option where i have to give the program name. I dont know which program name i have to enter or from which location in sap/OS level i can find the program name.
Please suggest the program name or the location.
Thanks & REgards
Prasanth
Hi,
Can anybody answer to my thread?
Regards
Prasanth
Similar Messages
-
API for connecting to an external database object
Hi,
Can anyone provide me with the API for connecting to the external database table and to create , update and delete data with an Oracle external database object.
Wish you great time.
Best Regards
SidQuestions like yours are best asked over at the webOS Developer's Forum. The Palm Support Community here is geared to answering end-user questions about devices, not programming information.
https://developer.palm.com/
WyreNut
I am a Volunteer here, not employed by HP.
You too can become an HP Expert! Details HERE!
If my post has helped you, click the Kudos Thumbs up!
If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked! -
Connecting AIR with external database
Is it possible to connect AIR application to the external database in MySQL technology?
Are you trying to connect to a MySQL database on a web server somewhere? If so, by far the easiest way to do so is to use some sort of application server layer (e.g. PHP, ColdFusion, Java) on the web server, and have the AIR application call the PHP (or whatever) code to get the data. That is the approach that all the links Greg has given you are talking about.
Of course, in order to make that work you need to know enough PHP/Java/ColdFusion to write that middle layer. In the example you're asking about, the information it wants to know is the name of the server that the MySQL database is running on, and the MySQL username and password for the MySQL account that your PHP code is supposed to use. There are tons of resources on the web for writing PHP code that accesses MySQL, so you'll find much more and better information in other places than what you'll find in the Adobe AIR forums.
However, maybe you want to have the MySQL server running directly on the user's computer rather than on a web server somewhere. In that case you would have a few options:
Run a web server and application server (e.g. Apache and PHP) on the user's computer and use those to connect between the AIR application and the MySQL server.
Write Java code to communicate between the MySQL server and the AIR app, and call that code using Merapi (http://merapiproject.net/)
Run the MySQL server on the user's computer and call the server directly from AIR using ActionScript. While there is no built-in support for MySQL in AIR, there is a third-party (open source) library for calling MySQL directly from ActionScript available here: http://code.google.com/p/assql/. I haven't tested it so I have no idea how complete it is, but it's a solution to consider.
However, in all three cases you're depending on some external pieces that have to be installed and loaded separate from your AIR application. (For instance, most users probably don't want a MySQL server running on their computer all the time if they aren't using your AIR app all the time -- so you'd want a way to start and stop the server, which also couldn't be done directly in AIR.) People do write applications that use external resources like this, but it's not the easiest thing to implement.
If you're really wanting to run the database locally, the best solution (assuming it works for your needs) is to use AIR's built in local SQL database engine (based on SQLite). If you've looked at that option already, and found that it doesn't work for you, I'd be interested to know more about what you're trying to accomplish that you can't accomplish with the AIR local database. -
Connection to an external database.
Hi we r using native sql commands and are connecting to external database. As far as I know from the discussions here i thought that these sort of connections are maintained in the table dbcon. But i don't see any entries in that table.
WHere as i could connect to that database succesfully and getting the records.
The table name for the external system is NOVARTIS.TABLE_ADDRESS@ANK like this.
Where could be that settings made.Try this Forum Thread:-
1. In developer server you have to configure the tnsnames.ora. For doing this you should talk with a person who knows how to configure this file. In the register you should especify: protocol, host and port to connect to the other database system.
2. Then, you enter a register in the DBCON table. In this entrie you especify user, password, database id (in my case I wrote ORA because i am connecting to an oracle database), and in the enviroment field you write the name or alias of the register in the tnsnames.ora
3. In the abap program you use native sql sentences for connecting to the external database. This is an example:
EXEC SQL.
CONNECT TO :p_conexion AS 'C1'
ENDEXEC.
IF SY-SUBRC EQ 0.
EXEC SQL.
SET CONNECTION 'C1'
ENDEXEC.
EXEC SQL PERFORMING save_data.
SELECT COD_CGE, COD_SAX, TO_CHAR(FECHA,'YYYYMMDD'),
VALOR, HORA, TIPO, PAIS, SOCIEDAD
INTO :wa_serv_aux
FROM TEST_TABLE
WHERE FECHA >= TO_DATE( :W_FEC1 , 'YYYY/MM/DD')
AND FECHA <= TO_DATE( :W_FEC2 , 'YYYY/MM/DD')
ENDEXEC.
EXEC SQL.
ROLLBACK
ENDEXEC.
EXEC SQL.
DISCONNECT 'C1'
ENDEXEC.
In the form save_data i insert the work area into the internal table.
And that`s all. The most important thing is to configurate the tnsnames.ora file on the server side.
<i><b>Note:- One small suggestion, Before Posting Thread in SDN, search for the related topics in SDN forums and then post your thread, it would be helpfull for everybody.</b></i>
Regards:-
<b>Santosh</b>
Message was edited by: Santosh (INDIA) -
Oracle Discoverer 4i (portal db - oracle 8i) connectivity issue with 11g database
Hi All
We have oracle discoverer 4i with portal db (oracle 8i).
We connect to the external databases using db links in the portal db and the reports will use the db link to retrieve the data from views in the external databases.
External databases we were connecting is oracle 10g version and now we have upgraded these databases to 11g version.
Now i have a created a new db link to this 11g database and i have created a new EUL in portal to connect to this 11g database.
But when i try to create a report using the discoverer from this new EUL after login to the discoverer we get a "cannot connect to database" error.
We have all the necesscary privilege to the user and the new database link works perfectly fine. (when we try to query directly using SQL plus from portal database using this db link the query works perfectly fine).
Im not sure if this is a compatibility issue in connecting from oracle disc 4i to a 11g database.
Can any one advise if this is the case and if there is any workaround for this?
Regards,
RajAre you saying you are having issues with a database link between 8i and 11g (pl post exact versions to 4 digits) ? If so, it should be expected as database links between these two versions are not supported. Is there a reason you cannot upgrade the portal database to at least 10gR2 ?
See MOS Doc 207303.1
HTH
Srini -
Creation of Server Proxy for Message interface with External Defination
Dear All,
I am getting a problem while generating a server proxy for the inbound interface . The request message used in the inbound interface is a external definition which is uploaded using a XSD file. The XSD file was supplied by a third party which is having very high complex strucuture and used lot of abstract data types in the design. When i tried to generate the proxy in the R/3 system (Transaction SPROXY) for the inbound interface i am getting following error.
Interface uses external and internal message definitions
Message no. SPRX122 *
Diagnosis
In a message interface you can use messages from different sources:
Message types and fault message types edited in the Enterprise Services Repository
Messages imported into the Enterprise Services Repository (external definitions, RFC, IDoc)
In the current message interface, message types from different sources have been used. Since messages from these different sources must be handled differently during proxy generation, such a mixture of messages within a message interface is not possible.
System Response
The interface cannot be generated.
Procedure
Change the interface definition accordingly in the Enterprise Services Repository.
Please guide me, how to generate the proxy for the interface with external defination message. I could nt geneate manullay, because it is having very high complexity and its a big structure.
Is there is any way to generate the proxy for interface with external definition
Regards
VijayanandHi,
i. Import your message schemas from external definitions, or RFCs or IDocs from SAP systems. These definitions already contain data types.
ii. Create a message interface and reference the messages of the external definition, or the RFC or IDoc message.
Check this, it may help you
http://help.sap.com/saphelp_nw04/helpdata/en/3f/01623c4f69b712e10000000a114084/content.htm
REgards
Seshagiri -
P6 user name is not valid for connecting to the reporting database
No data is available because your P6 user name is not valid for connecting to the reporting database
I am getting above error in the following environment:
P6 running on wls instance 1.
BI Publisger running on wls instance 2
MS SQL server 2005
Note that the error appears when I clink on the 'Reports' tab in P6. My admin user on P6 has access to report/analyser modules.
To connect P6 to BI Publisher I am using 'PxRptUser' in the P6 configuration for Bi Publisher. I know as well that the WSDL URL is correct and I can test this in SoapUI tool.
In BI publisher I have created the PMDB data source using PxRprUser, and the test of this connection works.
(Because the report samples come with Oracle flavoured SQL that SQL server does not like, I have configured BI Publisher so I have just a single report left that sources it data from an xml file. This works in BI Publisher. It also helps me in that I do not need to add 'WHERE' clauses and parameters required for SQL server?)
Furthermore, using a DB tool, I can connect to my SQL server using PxRPTUser.
So why do I get the error above?
I picked up somewhere that I should not be adding users to BI Publisher. Funny enough, testing the 'login' method the BI Publisher exposes through its WSDL (as above) I noticed I HAD to create the user PxRptUser in BI publisher application itself (on top of PxRptUser in database) for the login web service to work with PxRptUser
That did not solve the connection between P6 and BI Publisher though. What am I missing ...
Edited by: user3674522 on 10/11/2011 20:16Thought I found something but can't repliacte, som issue is still there:
Had a look at the wls instance logs where BI publisher is running, and the error I get is:
111111_023646955][][ERROR] javax.naming.NamingException: Unresolved naming: cn=admin, dc=user, dc=users, dc=principals at [cn=admin]
That user, admin, is the one I have used to access P6. Why is this passed on to BI Publisher? I thought the idea was that the PxRptUser set in BI Publisher configurations in P6 would be used?
Edited by: user3674522 on 10/11/2011 20:17 -
Connecting and Updating External Database from SAP
Connecting and Updating External Database from SAP
How can i connect SAP Database to External database?
How can i update external databas from SAP withouting using BI/BW, Workflow or Net Weaver?
If anyone know please let me inform.
Thanks in Advance.
Jahnavee TrivediSteps
1. Create an entry in tnsnames.ora for the remote oracle DB
2. Test sqlplus user/pass@remote
3. create a synonym which points to a table at remote DB check docs.oracle.com
4. user ABAP code execute SQL to insert data into local synonym which inturn updates the remote DB.
I have done this in the past, it works great.
It requries, DBA skills + ABAP programming
-AJ -
Query regarding connecting dashboards with SQL DATABASE using WSDT
Hello Sir,
I am trying to connect dashboards with Sql database via WSDT, but i have encountered the same problem as described in your SAP community blog (SAP Web Service Design Tool: From web service creation to Xcelsius consumption).
when i tried connecting CR server with WSDT ,it still shows that total number of available licenses is 0.
What can be done to solve this issue.
for your detail reference, we are using CRS NUL version's 60 days Evaluation keys and same with Xcelsius Departmental edition.
I would really appreciate, if you revert back to my mail as soon as possibleWhich version of Crystal Reports are you using? The regular ReportDocument SDK probably isn't robust enough to handle this, unless you create a connection using that connection string at design-time which you don't change at runtime. You might be able to add those properties using the in-proc RAS SDK, though. This is available with CRXI R2 as of SP2, and CR2008.
-
ERROR while CREATING RFC FOR SOLUTION MANAGER DIAGNOSTICS
Dear all,
Hi,
I am configuring solution manager 7.0.
In SPRO>basic setting >operation>solution manager diagnostics > create RFC for solution manager diagnostics i am getting this error
program WEBADMIN not registerred.
can any one tell me how to register this program in sap gateway.
best regards
azeemHi Azeem,
Just before creating the rfc connection do this step.
Set-Up Solution Manager Connection to Solution Manager Diagn
Use
Check the connection to function Solution Manager Diagnostics.
Default Settings
The function Solution Manager Diagnostics is installed on the Java instance of the Solution Manager system by default.
Activities
If the default values are correct, save the settings.
To run the Solution Manager Diagnostics in another system, enter the required data and save.
Also check that your java is active.
Regards
Ashok -
ABAP report from fields connecting to an external database
Hi All,
The requirement is to connect some GL data with external audit data which is stored in an oracle database. These two table data has to be merged and a report has to be generated.
I heard we could connect to the external database from the R/3 4.7 version through DBconnect. Has anyone come across any such requirement and done a similar report, could you give me the inputs please.
regards
GirishQuestions like yours are best asked over at the webOS Developer's Forum. The Palm Support Community here is geared to answering end-user questions about devices, not programming information.
https://developer.palm.com/
WyreNut
I am a Volunteer here, not employed by HP.
You too can become an HP Expert! Details HERE!
If my post has helped you, click the Kudos Thumbs up!
If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked! -
How to create Rfc for EP system in Solution manager
Dear experts,
I am doing ChaRM configuration for my EP system ( java only).
I also configured CTS+ successfully but we want to integrate this with Chram in solman.
I have done all configuration according to standard doc for ChaRM.
But when creating project from solar_admin it is giving " NO RFC for DEP system"
so please suggest me how to create RFC for java system in Solution manager.
thanks in advance
dhirajHello,
You need to setup an ABAP communication client and system, that's done through the TMS settings:
For source system:
- CTC 1
- CTS_SYSTEM_TYPE JAVA (others for a MDM system)
- NON_ABAP_SYSTEM 1
- COMMUNICATION_SYSTEM: (SAPSID of the ABAP communication system (e.g. the domain controller))
- NON_ABAP_WBO_CLIENT (Client of the ABAP stack on which the Transport Organizer Web UI (CTS_BROWSER) is activated and will run.)
- WBO_GET_REQ_STRATEGY TAGGED
- WBO_REL_REQ_STRATEGY MANUAL
For quality and production Java system (target systems):
- CTC 1
- CTS_SYSTEM_TYPE JAVA (others for a MDM system)
- NON_ABAP_SYSTEM 1
- COMMUNICATION_SYSTEM: (SAPSID of the ABAP communication system (e.g. the domain controller))
- DEPLOY_WEB_SERVICE CTSDEPLOY
- DEPLOY_DATA_SHARE:
When this is done correctly, you will see the fields ABAP communication system and client populated in SMSY.
When ChaRM needs to operate on the non ABAP systems, it will take the RFCs for the communication system and client.
Best regards,
Miguel Ariñ -
How to interact with external database in CQ5
Hi,
I need to interact with external database like SQL or Oracle to store some/fetch some data in CQ5. Can someone pls provide some help regarding the same. I guess I need to do it through JDBC. Please guide me step by step how to do this.
ThanksHi,
Bellow you find some references to the documentation related to CQ and DB configuration and developments:
http://dev.day.com/docs/en/cq/current/developing/jdbc.html
https://helpx.adobe.com/cq/kb/HowToConfigureSlingDatasource.html
Regards,
kasq -
How to create tcode for modulepool program with selection screen?
hi,
How to create tcode for modulepool program with selection screen?
thanks,
sagarHi,
We need to goto SE80.
In our program we right click on object name and goto create
-> transaction. Enter the module pool program and screen number and save and activate.
Or by SE93 also we can create a transaction code for our program.
Hope ths helps.
plz reward if useful.
thanks,
dhanashri..
Edited by: Dhanashri Pawar on Jul 22, 2008 8:29 AM -
Urgent -Create RFC for update the database and delete from the database
Hi Guy's,
Please help me how to create the RFC for update to databse and delete from database(step-by-step) procedure.
Thanks and Regards,
Sai.Hi,
Please go through the following link,
reward if helps.
[RFC Step By Step|https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=39728]
regards,
mahantesh
Maybe you are looking for
-
Java Threads compilation problem
Hi everyone, I've having problems getting a simple thread program to compile, the programs says " ; " expected when there is already one present. I've gone through the program many times and still can't put my finger on whats going wrong. If someone
-
Error while copying form in SFP
On our development server, we just applied EHP4. When we do SFP and try to copy a form, a dialog box appears and asks for username and password. I tried with the login for ADS_AGENT and this gave the error "Internal error occurred in SAFP API" Gratef
-
How do i change my account settings
How do i change my account settings on my MacBook Pro if i want to change it ALL to my new accont?
-
Ipod won't update music and i get wierd error messages
I've never gotten any error messages with my ipod before, i've been trying for about an hour to get it to update my music. I'm backing up my music to make sure i don't have to worry about losing it all when i try restoring. My itunes tells me that my
-
I live in Spain. My credit cards are spanish which are mastercard and amex. I went and bought an ipod today for €319 plus some accessories for about €90. Signed up for itunes so I could watch some videos on my new 30GB colour screen ipod, but guess w