Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Join 2 SAP tables from VB code

Status
Not open for further replies.

eyalisr

Programmer
Apr 7, 2002
10
GB
Hi , I am able to read the content of SAP tables from VB using RFD_READ_TABLE command.
The problem is that I have 2 tables that I want to Join (like in SQL).
does anybody have any idea how ?

any help would be appriciated.

 



RFC_READ_TABLE
I don't believe you can do this in R/3 from Visual Basic without having soeone write a custom query in an R/3 Function Module.

What you really are looking for is an r/3 abap query.

RFC_READ_TABLE will only read single tables.
Another way, if your tables are not huge, is to query the tables separately and join them external to SAP. Build a DB on the fly, create two tables, populate with each tables data, join and get the resultset.

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a brand NUANCE![tongue][/sub]
 
Thanks,
I don't have any abap skils and there for I will try building a DB on the fly and join the fields there ...

thank you !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top