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
Girish

Questions 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!

Similar Messages

  • Calling ABAP report from BEx query

    Good day!
    I want to call ABAP report from BEx query by right-clicking on the field and using context menu. I know that transaction RSBBS is used (sender-receiver connecting), but I don't know how to transfare data to ABAP program
    In ABAP program I want to know at least data from those cell in BEx query, that was right-clicked.

    Depending on your requirement and environment, you have the following options:
    1. Use an info spoke and make selections as you would in a query.
    2. USe FM RS_VC_GET_QUERY_VIEW_DATA_FLAT to send the data to a file and your ABAP can read this file.
    Ravi Thothadri

  • 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 Trivedi

    Steps
    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

  • 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)

  • 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
    Sid

    Questions 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 trigger abap report from module pool

    hi,
    continuing with this link
    table control this is done (Module pool )
    there were two buttons (accept and delete )in the module pool..so when the user  clik 'accepts '  the records (from table control ) then it shud call abap report which will run in background..
    so how do we pass the values selected from table control to the abap report in one go.....as only one background job has to run..say if there are  10 entries then it shud take all the 10 entries and trigger the abap report where it will do the processing with the selected 10 records in the abap report.
    Thanks
    Mohan..

    Declare the parameters of the report as select options and call it using submit statement.
    link:[http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_VIA_JOB.htm]

  • Calling an ABAP Report from the Web

    Hello all,
    Is there a way in WAD to have a web link call an ABAP report?  I am trying to provide a link in my web template to allow users to launch the BEx Analyzer.  When I look at transaction RRMX in the GUI, it appears to be calling the ABAP report RRMX_START_EXCEL.  Can I use BSP to accomplish this?
    Thanks in advance for any help you can provide,
    Chris

    OK, here is the code for my BSP page:
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <html>
    <% submit RRMX_START_EXCEL and return. %>
    </html>
    When I attempt to test it, however, I am receiving the following error:
    The following error text was processed in the system BWS : Screen output without connection to user.
    The error occurred on the application server sapbwsci_BWS_35 and in the work process 5 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Module: SEND_TAB of program SAPLGRAP
    Function: GRAPH_RECEIVE of program SAPLGRAP
    Function: REGISTRY_GET of program SAPLGRAP
    Form: PREPARE_LAUNCHER of program SAPLRSAH
    Function: RSAH_LAUNCH_EXCEL of program SAPLRSAH
    Form: START_EXCEL of program RRMX_START_EXCEL
    START-OF-SELECTION of program RRMX_START_EXCEL
    Any ideas??
    Thanks again!!

  • Calling an ABAP report from a web-dynpro view

    Hi,
    I have a web dynpro view that i would like to call an ABAP program from.  Any ideas how i can do this?  Thanks,
    Samir
    Edited by: Samir Vora on Feb 18, 2008 11:12 AM

    Hello Samir,
    that would mean mixing two different ui technologies and hence it not possible. You can start the report in background though. Please refer to [this list of restrictions and limitations|http://help.sap.com/saphelp_nw70/helpdata/en/46/82091e304559dbe10000000a1553f6/content.htm] regarding the usage of certain ABAP statements.
    Best regards,
    Thomas

  • Printing abap report from Transactional Iview

    Hi All,
    I have a abap report and i have created a transactional Iview to embed the report into Portal.
    Now when i try to execute and print the report from portal end i am unable to print the report.
    It opens another window saying please wait for the formatted data to be displayed in the window and please do not close the window and the download option comes at the top block bar. Aftter clicking on download file it promts to save the file . When saved and opned the file is corrupt and cannot be opened by adobe reader.
    Thanks and Regards,
    Nuzhat

    No answer

  • Calling one abap report from another

    1.There are two abap reports Report A and Report B.
    2.Report A is already developed and I am working on Report B.
    3.Report B has two radio buttons.
    4.The logic for the first radio button is written in the Report B itself.
    5.While for the second radio button i want to call the Report A.
    6.The selection-screen fields required for executing the report A are already present in the report B.i.e Report B's selection-screen contains all the selection-screen fields of Report A plus some additional fields.
    Now my requirement is that when I select radio button 2 in the report B and fill up the selection screen data in the report B and execute the report I want that the selection-screen of Report A should not be displayed but the logic of the report A should be used and should return back to Report B. (Report A just downloads some data on into excel file). How can I achieve this?

    Hi ,
    Use submit z_reportA    with selection-table p_rspar_tab and return. Here you need to populate the selection screen fields in table p_rspar_tab  of type rsparams.
        rspar_line-selname = 'P_TAB'.
        rspar_line-kind    = 'P'.
        rspar_line-sign    = 'I'.
        rspar_line-option  = 'EQ'.
        rspar_line-low     = value.
        append rspar_line to rspar_tab.
        clear rspar_line.
    Thanks
    Subhankar

  • Calling an ABAP Report from GRC Portal

    Hello...
    we want to know how an ABAP report will be called from GRC Portal ? How will be the linkage between these two and can u please explain the same .
    Thanks in advance.
    Regards,
    KY.

    I suppose you want to add additional portal content to GRC PC/RM 3.0 portal, then follow the steps bellow:
    In backend ABAP box,
    - Create an transation code for the ABAP report
    In the front end Portal box,
    - Create an iView using the template "SAP Transaction iView"
    - Add this iView to your protal role, either directly added to portal role or via workset
    Done.

  • Report from different connection pools

    Hi All
    My requirement is as below.
    When USER1 logs in and builds a report from a subject area then the data is fetched from connection_pool1 and when user 2 logs in and builds the same report then data is fetched from connection_pool2.
    The data are in identical table structures in both connection pools but for user2 there is a restriction on the volume of data hence can this dynamic feature be implemented? and How.
    thanks
    swastik

    We cannot do this dynamically,We need to change this manually
    Connection Pool ---- Permissions
    Mark if helps,
    Thanks,

  • Calling an ABAP Report from ITS

    Hi,
    I am new to ITS and we have requirement, where i have to call an ABAP Report with selection screen.
    Now my question is where to put the code to execute the report and what is the syntax?
    Any suggestions/documentation would be of a great help.
    Regards,
    Lalith

    Hi Lalith,
    Just pass the Tcode after the webgate followed by ! mark.
    http://hostname:portno/scripts/wgate/<b>ztest!</b>
    Rgds,
    Jothi.P

  • How can I connect to MySQL external database

    Hello.
    I have a SAP system running in SQL Server 2003.
    I need to connect to external MySQL DB., to operate with this information in ABAP program.
    I have done the step necesary... I mean I go to DBCO transaction and configure the connection like this:
    DB CONNECTION --> AFIS
    DBMS --> MSS
    user name --> xxxxxx
    DBpass -->xxxxxx / xxxxxx
    Conn Info -->MSSQL_SERVER=192.168.1.233 MSSQL_DBNAME=alliance OBJECT_SOURCE=alliance
    I do a test program, when I do the statement CONNECT TO, sy-subrc 0 and connection = DEFAULT... I mean, with this form I cannot connect to MySQL Database...
    Can you help me to do this?? I think the problem it's the connection string in DBCO... but I'm not sure...,
    Would be possible to connect by MySQL ODBC??? I mean , installing the ODBC driver in my SAP server, and using this in ABAP Program??
    Thks.
    DATA: BEGIN OF wa,
    cod_modelo(20),
    END OF wa.
    DATA: dbs TYPE dbcon-con_name.
    DATA: con(20) TYPE c.
    DATA : ls_wa LIKE wa.
    con = 'AFIS'. "DB Connection in DBCO above
    EXEC SQL.
    CONNECT TO :con
    ENDEXEC.
    WRITE sy-subrc. ---> The result it's 4
    EXEC SQL.
    GET CONNECTION :con
    ENDEXEC.
    WRITE : con. --> The result it's DEFAULT
    EXEC SQL.
    SET CONNECTION DEFAULT
    ENDEXEC.
    write : con. --> The result it's DEFAULT

    > It's for it, that when I go to DBCO... in DBMS ---... I can select Oracle, MSSQLServer, DB2... for this Databases..., exists the library (lib_dbsl)???
    yes, for all those databases exists the database interface library.
    > In resume:
    >  IT'S NOT POSSIBLE CONNECT TO MYSQL!!! ... I cannot believe it!!!...
    Well - as far as I remember there were some times ago efforts to port SAP applications to MySQL. That would explain why there's also a file "DDLMYS.TPL" created if you execute R3ldctl during a system copy - amongst DDL files for all other databases. I believe this was at the time MySQL was promoting SAPDB/MaxDB.
    MySQL is historically not a database engine for software, that requires transactional integrity; there were extensions to support that (InnoDB or others) and there was no customer demand in getting MySQL as engine for SAP applications. And only develop an interface to be able to connect to an external MySQL engine is not worth the effort.
    However, there is hope Some BusinessObjects applications also run with and against MySQL engines, depending on how the strategy to integrate those into the SAP software stack there may (or may not) be an interface for that database in the future.
    Markus

  • 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.

Maybe you are looking for

  • How can I use MS Word within java programming

    Hi everyone! I am developing a Java program that will take data from an Access 2000 database, and manipulate it, display the results graphically and in tables. The challenge for me is that I want the program insert the graphics and tables into the MS

  • Problem in bdc urgent

    iam running vf46 transaction using bdc. it is an alv report .after displaying the output of a report, i need to select the line and do further process. selecting the row of alv report is not reflecting in bdc  recording.how to go about this how to se

  • Ibook wants to reset every 10mins

    my friends ibook keeps poping up with the following screen: every 10 mins or so. once she has reset it, it comes back again and makes her reset her computer. she has tried resetting the PRAM, PMU etc but that hasn't helped any ideas?

  • Illustrator cs4 error: Can't open the illustration. Can't print the illustration.

    Disk full error has occurred while it is printing. Has anyone else experienced this? I am running Illustrator CS4 on a Mac Snow Leopard. The error occurs when attemping to open any eps file on my computer, which are ALL of my Illustrator files, sigh.

  • Advantages of OOPs over conventional prog

    Dear all, can any one explain briefly why to use OOPs concept over Conventional prog in ABAP language. Thanks & Regards Venkata Prasad