Application Development 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: 

AGR_1251 &TSTCT Using SQVI?

Former Member
0 Kudos
859

Hi All,

I need the Roles and its relevant TCodes with its text.When I combined AGR_1251 & TSTCT using SQVI.I used to combine both the tables with TCode field.But it shows as No relationship exists.

For what reason It shows as there is no relationship between 2 table even though it has TCode has common field?

Kindly help me to find the answer.

Thanks in Advance.

Regards

Karthika Devi

1 ACCEPTED SOLUTION

Former Member
0 Kudos
296

Dear Karthika,

What ravi said is absolutely correct. Try combining the tables AGR_TCODES & TSTCT which should serve your purpose.

Regards,

3 REPLIES 3

Former Member
0 Kudos
296

Between these two tables there is no common field

Table AGR_1251 having T-codes under Object S_Tcode (Under field Name you will get the T-Code )in this table T-Code is not a field name that is field value

Table TSTC is picking T-codes directly from table TSTC . in this table T-codes is a field name

Former Member
0 Kudos
297

Dear Karthika,

What ravi said is absolutely correct. Try combining the tables AGR_TCODES & TSTCT which should serve your purpose.

Regards,

sdipanjan
Active Contributor
0 Kudos
296

> I need the Roles and its relevant TCodes with its text.When I combined AGR_1251 & TSTCT using SQVI.I used to combine both the tables with TCode field.But it shows as No relationship exists

Correct

> For what reason It shows as there is no relationship between 2 table even though it has TCode has common field?

Where did you find "TCode" as a field in AGR_1251? Mapping of Two table extracts in ONLY possible if and only if there is a Primary Key (a common field) exists in between two Tables.

Regards,

Dipanjan