cancel
Showing results for 
Search instead for 
Did you mean: 

VBAP, VBAK and KNA1

Former Member
0 Kudos

Hey SD experts,

I would like to link those three SAP tables :

VBAP, VBAK and KNA1 in order to create a query.

VBAP is the principal table, VBAK and KNA1 are additional ones.

What intermediate table should I use to make it possible ?

Thank you,

Bahia.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

You can connect

VBAP to VBAK through VBELN (Sales docu no.)

VBAK to KNA1 through KUNNR(Customer no.)

hope it will help.

Former Member
0 Kudos

Yes but while creating an infoset,

you have to link the additional table (KNA1) to the principal one (VBAP).

This seems to be impossible.

Edited by: Bahia M. on Feb 6, 2009 3:14 PM

Former Member
0 Kudos

I'll explain to you in details:

I'm trying to create an infoset.

I choose "direct read of table" : VBAP

Than, I add VBAK : VBAP-VBELN = VBAK-VBELN

Than, KNA1: KNA1-KUNNR = VBAK-KUNNR

When I try to generate the infoset, I get this warning message:

Access error in code for table KNA1, KNA1 has sequence number 01

Fields from VBAK are not assigned to a field group

Fields from KNA1 are not assigned to a field group

Thank you

Former Member
0 Kudos

Got the problem solved.

It's all about the access sequence.

Thank you all.

Answers (3)

Answers (3)

Lakshmipathi
Active Contributor
0 Kudos

Dear Bhahia

You have to Table Join in SQVI in the sequence of KNA1 --> VBAK --> VBAP to generate a query

thanks

G. Lakshmipathi

jignesh_mehta3
Active Contributor
0 Kudos

Daer Friend,

You can link VBAP & VBAK with VBELN

You can link VBAK & KNA1 with KNKLI / KUNNR.

Hope this helps...

Thanks,

Jignesh Mehta

Former Member
0 Kudos

Dear,

Go to SE11

enter table name you will get the discriptions of that table and data also

thanks,

Rahul