cancel
Showing results for 
Search instead for 
Did you mean: 

VBFA

Former Member
0 Kudos

Hi experts,

I'm having trouble to understand a dataset from VBFA.

The problem is that for each VBTYP_N i have two (or more) POSNV and POSNN. This is confusing, can someone tell what the POSNV and POSNN stand for? the description says "subsecuent and preceeding information", but it's not very clear what this actually means.

Thank you!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Nicolas,

In table VBFA, preceding document number is assigned to field VBELV, and its correspondent item number is assigned to field POSNV. In contrast, subsequent document number is assigned to field VBELN and its correspondent item number is assigned to field POSNN.

In your example:

matnr     vbelv     posnv     vbeln     posnn     vbtyp_n

1               3          10          50          10          M

1               3          20          50          20          M

For document number 3, you have item numbers 10 (posnv) and 20 (posnv) por material 1.

Item number 10 has been invoiced (vbtyp_n = M means that the subsequent number is an invoice) with billing document number 50 (VBELN), and it's correspondent item number in billing document is 10 (posnn).

The same happens with Item number 20: it has been invoiced (vbtyp_n = M means that the subsequent number is an invoice) with billing document number 50 (VBELN), and it's correspondent item number in billing document is 20 (posnn).

Hope it's clearer now.

Best regards,

Andrea 

Lakshmipathi
Active Contributor
0 Kudos

Have you not checked in the table itself for the said fields?  They are self explanatory.  For one preceding document, if you have multiple subsequent documents, you will have data like that.  You should co-relate POSNV with VBELV and POSNN with VBELN

G. Lakshmipathi

Former Member
0 Kudos

thank you for your answer

for example y have this dataset:

matnr     vbelv     posnv     vbeln     posnn     vbtyp_n

1               3          10          50          10          M

1               3          20          50          20          M

what do you mean with co-relate posnv with vbelv and posnn with vbeln?

Does it mean that for each line there has been a new sales document?

Lakshmipathi
Active Contributor
0 Kudos

Why dont you check the document flow from VA03?  In your example, for one sale order (ref. 3) which has two line items, system has generated one billing document 50 with two line items.

G. Lakshmipathi