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

question on view

Former Member
0 Likes
780

I have a view that contains two tables LFA1 and WYT3. the join is on LIFNR and the view contains the partner function, the "reference to other vendor" field LIFN2, and address information. the problem that I have is the for 1 vendor, there can be multiple records in the WYT3 table that have different LIFN2 values. What I would need to have in the view is the address if the LIFN2 vendor, not the address of the LIFNR vendor. I do not know how to get this information in the view. I am not sure if this is handled on the tab "selection Conditions" when you display the view or not.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
633

You have to go to the Table/Join Conditions tab.

GIve the join condition as WYT3-LIFN2 = LFA1-LIFNR

I have a view that contains two tables LFA1 and WYT3. the join is on LIFNR and the view contains the partner function, the "reference to other vendor" field LIFN2, and address information. the problem that I have is the for 1 vendor, there can be multiple records in the WYT3 table that have different LIFN2 values. What I would need to have in the view is the address if the LIFN2 vendor, not the address of the LIFNR vendor. I do not know how to get this information in the view. I am not sure if this is handled on the tab "selection Conditions" when you display the view or not.

2 REPLIES 2
Read only

Former Member
0 Likes
634

You have to go to the Table/Join Conditions tab.

GIve the join condition as WYT3-LIFN2 = LFA1-LIFNR

Read only

Former Member
0 Likes
633

change the join condition to

WYT3 LIFN2 = LFA1 LIFNR