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

JOIN CONDITION - VIEWS

Former Member
0 Kudos
137

Can u give me the join condition to be put in the view.

This is the scenario.

1. In the transaction FBL5N (Customer Line Item Display) include a new match code ‘ Active Account with Balance’.

2. The search parameters will be similar to match code ‘’ Customers(By Company Code) / Customers per sales group.

3. When the search is made by entering the name in the name field , the program logic would be as:

a. The table KNB1 will be used to search the customer based on company code.

a. The list of customers obtained will be queried in the table KNA1(General Data in Customer Master) to get the list of customers with name 1, postal code , city etc.

b. This list of corresponding customers is queried in the Table BSID (Accounting: Secondary Index for Customers) to check if the customers have an open item.

c. If there is an open item for any customers then they are considered as Active customers.

d. Display only the list of active customers for the name search with the details ‘Name1, city, Postal code, Customer No. , company Code etc.

1 REPLY 1
Read only

abdul_hakim
Active Contributor
0 Kudos
90

Hi

Add the tables into ur view and select what are all the fields you want to view.The system will propose the join condition automatically if any foreign key relationship exists between the tables,you can either accept or discard it.Finally activate the view..

Regards,

Abdul