0% found this document useful (0 votes)
7 views

Understand The Netting Procedure in SAP

Uploaded by

permendra.kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Understand The Netting Procedure in SAP

Uploaded by

permendra.kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Yes, in SAP you can use several tables to identify a Business Partner (BP) that has both customer

and
vendor roles. Here are the main tables you would use:

1. **BUT000**: This table contains general data for the Business Partner.

2. **BUT100**: This table stores the roles assigned to a Business Partner.

3. **CVI_VEND_LINK**: This table links Business Partners to Vendor master records.

4. **CVI_CUST_LINK**: This table links Business Partners to Customer master records.

### Steps to Identify a Business Partner with Both Customer and Vendor Roles:

1. **Use Table BUT000 to Find Business Partner**:

- This table holds the general information of Business Partners.

2. **Check Roles in BUT100**:

- This table contains the roles assigned to each Business Partner.

3. **Link BP to Customer and Vendor Using CVI_CUST_LINK and CVI_VEND_LINK**:

- These tables link the Business Partner to their respective customer and vendor master records.

### SQL Query Example:

You can use the following SQL queries to identify BPs with both customer and vendor roles:

#### Step 1: Find Business Partners with Roles

```sql

SELECT BP.BU_PARTNER

FROM BUT000 BP

JOIN BUT100 ROLE_CUST ON BP.PARTNER = ROLE_CUST.PARTNER


JOIN BUT100 ROLE_VEND ON BP.PARTNER = ROLE_VEND.PARTNER

WHERE ROLE_CUST.ROLE = 'FLCU00' -- Customer Role

AND ROLE_VEND.ROLE = 'FLVN00'; -- Vendor Role

```

#### Step 2: Link BP to Customer and Vendor Master Records

To further ensure that the BP is linked to both customer and vendor records:

```sql

SELECT BP.BU_PARTNER, CUST.CUSTOMER, VEND.VENDOR

FROM BUT000 BP

JOIN CVI_CUST_LINK CUST ON BP.PARTNER = CUST.PARTNER

JOIN CVI_VEND_LINK VEND ON BP.PARTNER = VEND.PARTNER;

```

### Detailed Steps:

1. **Find Business Partners in BUT000**:

- Check the table `BUT000` to get the list of Business Partners.

2. **Check Roles in BUT100**:

- Use the table `BUT100` to identify if the Business Partner has the roles `FLCU00` (Customer) and
`FLVN00` (Vendor).

3. **Link BP to Customer and Vendor**:

- Verify the links using `CVI_CUST_LINK` and `CVI_VEND_LINK` tables to make sure the Business Partner
is correctly linked to both a customer and vendor.
### Example with Screenshots:

#### 1. Accessing `BUT000` Table:

![BUT000 Table](https://example-screenshot-link.com/BUT000.jpg)

#### 2. Checking Roles in `BUT100` Table:

![BUT100 Table](https://example-screenshot-link.com/BUT100.jpg)

#### 3. Verifying Links in `CVI_CUST_LINK` and `CVI_VEND_LINK` Tables:

![CVI_CUST_LINK Table](https://example-screenshot-link.com/CVI_CUST_LINK.jpg)

![CVI_VEND_LINK Table](https://example-screenshot-link.com/CVI_VEND_LINK.jpg)

### Additional Information:

- **Transaction Code SE16N**:

- Use transaction code `SE16N` to view these tables and perform queries within SAP.

- Example steps: Enter `SE16N` -> Enter table name (e.g., `BUT100`) -> Execute the query with specific
conditions.

By querying these tables, you can identify Business Partners who have both customer and vendor roles,
ensuring they can participate in intercompany transactions as required.

You might also like