Skip to Content
author's profile photo Former Member
Former Member

Fetch data from R/3 table

hi,

i want to access data from SAP using Jco without using any custome BAPI OR RFC FM. Is there any way such that i can query while accessing data from SAP like on multiple SAP table.

Message was edited by:

Sandip Mane

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 01:01 PM

    Hi,

    Try looking into function module RFC_READ_TABLE.

    Gareth.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 21, 2007 at 07:27 AM

    Hi Sandip,

    If u r not ready to create or use an custom Bapi try to create a RFC FM with all the information which u need from SAP at SAP side and try to access it through u r JCO connecter.

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2007 at 08:33 AM

    hi,

    Thanks for help, but i am already using RFC_READ_TABLE but it can not work on multiple table. Now i got the way to read multiple table using RFC_ABAP_INSTALL_AND_RUN , while testing in R/3 it works fine that the result WRITES-ZEILE shows character upto 256. But while i call it from Jco it shows only 84 characters per row of WRITE table.

    My code is:

    for (int i = 0; i < data.getNumRows(); i++) {

    data.setRow(i);

    String str=data.getString("ZEILE");

    System.out.println(str); }

    Note: I am new in ABAP

    I am fresher i just know JAVA and something abt SAP but i have to do this job for mine java charting project

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi,

      I want to copy the following R/3 table data day by day on another MySQL database

      that contain the table structure same as R/3 table

      The tables are :

      HRP1000,HRP1001,HRP1007,PA0000,PA0001,PA0002,PA0022,PA0023....

      This is required for our organizational charting application.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.