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

Secondary table

Former Member
0 Likes
869

Hi All,

As i know there are secondary table for BSEG, like BSID, BSIK, BSAD and BSID.

But may i know is there such secondary table for table VBAK and VBAP ?

Please comment.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
808

Not really, sales documents don't have the same statuses as accounting documents, such as open, cleared etc. There are other tables which link to VBAK and VBAP:

VBRK & VBRP - Billing documents

VEDA - Contract data (dates etc)

VBEH & VBEP - Schedule data

VBFA - document flow

VBKD - business data

VBPA - partners

VBUK & VBUP - status data

Hope that helps.

Not really, sales documents don't have the same statuses as accounting documents, such as open, cleared etc. There are other tables which link to VBAK and VBAP:

VBRK & VBRP - Billing documents

VEDA - Contract data (dates etc)

VBEH & VBEP - Schedule data

VBFA - document flow

VBKD - business data

VBPA - partners

VBUK & VBUP - status data

Hope that helps.

4 REPLIES 4
Read only

Former Member
0 Likes
809

Not really, sales documents don't have the same statuses as accounting documents, such as open, cleared etc. There are other tables which link to VBAK and VBAP:

VBRK & VBRP - Billing documents

VEDA - Contract data (dates etc)

VBEH & VBEP - Schedule data

VBFA - document flow

VBKD - business data

VBPA - partners

VBUK & VBUP - status data

Hope that helps.

Read only

Former Member
0 Likes
808

Hi,

BSEG is a cluster tables so you may say that BSID and all are its secondary tables (transparent tables), but VBAK and VBAP are themselves transparent tables, so they will naot be viewed in this fashion. VBAK and VBAP are similar to the BSID and BSAD tables.

Regards,

Sachin

Read only

Former Member
0 Likes
808

No, the reason what I think might be is that BSEG is a cluster table and thus cannot have any indices on it nor it can be joined with other table. Hence there are secondary tables which serve as index tables for faster access of accounting data.

But VBAK and VBAP are normal transparent tables which can have indices and there is no requirement for additional secondary tables.

BR,

Advait

Read only

christine_evans
Active Contributor
0 Likes
808

>

> Hi All,

>

> As i know there are secondary table for BSEG, like BSID, BSIK, BSAD and BSID.

> But may i know is there such secondary table for table VBAK and VBAP ?

>

> Please comment.

The secondary FI line items tables only exist because BSEG is a cluster table and so you can't add extra indexes to it. In an ideal SAP FI world (in my opinion anyway), BSEG would be a transparent table with indexes set up so that it could be used to do everything that the secondary tables are currently used for. Which would get rid of the wasteful denormalisation of data that results from having multiple tables holding the same data.