2009 Aug 21 1:40 PM
Hello,
I am building a report in SAP QUERY by joining together 3 tables. For one field I have an illigal join condition. After analysis I think this is due to the fact that the CHAR lenght of the field in the first table is 18 and the CHAR lenght of the field in the second table is 35.
Questions:
1 Is it possible that this is the reason for my illegal join condition?
2 How can it be solved? Can I overwrite the lenght 'CHAR' in SAP QUERY?
thanx,
Stef
2009 Aug 21 2:21 PM
In sap query or SQVI join is only possible if both fields have same data type and length.
Hello,
I am building a report in SAP QUERY by joining together 3 tables. For one field I have an illigal join condition. After analysis I think this is due to the fact that the CHAR lenght of the field in the first table is 18 and the CHAR lenght of the field in the second table is 35.
Questions:
1 Is it possible that this is the reason for my illegal join condition?
2 How can it be solved? Can I overwrite the lenght 'CHAR' in SAP QUERY?
thanx,
Stef
2009 Aug 21 1:48 PM
Hello,
This should not be the reason for join. best way you can paste your join query here.
Thanks,
Augustin.
2009 Aug 21 1:48 PM
Hi,
Before joining the tables, check whether any common fields are present in the tables so that they can be joined based on those fields.
Go to table DD03L and check for the key fields of both the tables and accordingly go for join
Regards,
Shamma
2009 Aug 21 2:15 PM
All,
I tried the table DD03L. I did find an other table where my field had also 35 characters, but I couldn't work with that one, due to the fact that I couldn't link some fields.
Problem remains the same... Any other ideas? Is there perhaps a button to manually overwrite?
But already thanx a lot for help, table suggested is certainly helpful
Stef
2009 Aug 21 2:18 PM
Hello Stef,
What is the requirement by the way?
Thanks,
Augustin.
2009 Aug 21 2:20 PM
Augustun,
They would like to have detail about the payment transactions set up for a business partner together with the recipient banck chain data.
It is for a master data report
gr,
Stef
2009 Aug 21 2:21 PM
In sap query or SQVI join is only possible if both fields have same data type and length.
2009 Aug 21 2:22 PM
2009 Aug 21 4:11 PM
Hello Stef,
The one possible workaround I can see is creating view on these table.
Other one I think of computing JOIN manually using two different select statement as follow:
1. Get the base data from first table (only select key columns)
2. Use base table in for all entries and select data for second table into internal table
3. Use table created in 2nd select in for all entries and select data from 3rd table.
From performance point of you all select select except base should be executed with FOR ALL ENTRIES
Select only required and key fields.
Internal table you are going to use for selecting data from database tables should contain all the fields involved in JOIN
Check if this can help!
Thanks,
Augustin.
2009 Aug 24 9:18 AM
2014 Oct 08 2:44 PM
Hello dear Snyers,
I have the same problem as you had but I couldn't understand the solution steps.
Can you explain these steps in detail?
2015 Jul 27 1:18 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |