Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Query Engine #367

Open
tudorian opened this issue May 21, 2024 · 1 comment
Open

Enhance Query Engine #367

tudorian opened this issue May 21, 2024 · 1 comment

Comments

@tudorian
Copy link

Hello,

It is possible to use another SAP table as a reference when extraction data from the current tables

Eg:
SELECT * from MARC INNER JOIN MARA ON MARCMATNR = MARAMATNR
WHERE MARA~MTART = 'ABC'

Thanks,

Tudor

@amarvin
Copy link
Contributor

amarvin commented Dec 2, 2024

I don't think you can do joins using pyrfc, unless you call an RFC that does the tables joins on the SAP-side. Rather than doing the join on the SAP-side, you could do query the data from the two tables separately and then inner join them on your client-side.

Note that where conditions are a bit tough to use with the basic pyrfc. I developed https://github.com/amarvin/pyrfc-read to make this easier!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants