Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Type conflict in Database View

Former Member
0 Likes
698

Hello all,

I want to create a database view. The Database view contains two basic tables ( they are standard tables from SAP [Tables: USR21, CSKS]). Both standard talbles contains a field for costcenter named "kostl" , but with different datatypes and length.

When I try make a join over this fields, I get a type conflict .

How can I solve this problems in the view ?

Thank you in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
624

You can't solve this issue with a database view as the types must be equal.

Regards,

John.

Hello all,

I want to create a database view. The Database view contains two basic tables ( they are standard tables from SAP [Tables: USR21, CSKS]). Both standard talbles contains a field for costcenter named "kostl" , but with different datatypes and length.

When I try make a join over this fields, I get a type conflict .

How can I solve this problems in the view ?

Thank you in advance.

3 REPLIES 3
Read only

Former Member
0 Likes
625

You can't solve this issue with a database view as the types must be equal.

Regards,

John.

Read only

Former Member
0 Likes
624

join condition fields must be of the same data type.. just think of a join statement that you write in an abap program.. can you match two tables joiing fields with different types?

Read only

0 Likes
624

Hello all

thank you for the answers

Cetin