Application Development 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: 

what is the field in vbtyp_n in vbfa table speaks about

Former Member
0 Kudos

pls tell in detail what is the main use of vbfa table

6 REPLIES 6

Former Member
0 Kudos

Hi,

<b>VBFA</b> Table gives the <b>Sales Document Flow</b>.

The Field <b>VBTYP_N</b> gives the <b>Document category of subsequent document</b>.

General Scenario:

suppose you want to buy a computer

1) You do Inquiry

2) You get N number of Quotation for that inquiry

3) you select 1 quotation for sales order or many for individual parts like CPU in

one quotation, monitor from one quotation and so on....

4) for all these sales order(s) you get delivery doc(s) and billing doc(s)

using VBFA we can get all the doc numbers related to sales senarios

If you take Inquiry doc all the Quotation doc(s),sales order doc(s) ........

will be preceding documents.

for sales order

Quotation doc(s),Inquiry are subceding.

billing docs(s) ,delivery doc(s) are preceding documents.

This is the consept of VBFA table.

Regards,

Padmam.

0 Kudos

i am new to abap. Just now i am learning the business process. ur answer is very useful to me . please explain in detail about the below points in detail if u have the time.

3) you select 1 quotation for sales order or many for individual parts like CPU in

one quotation, monitor from one quotation and so on....

4) for all these sales order(s) you get delivery doc(s) and billing doc(s)

first we give purchase order then the shop person gives the sales order, then what is this subsequent document and precceding doc mean. what is the use of it.

Former Member
0 Kudos

Hi,

VBFA is the table of the flow of sales document, so you can find all SD document in VBFA, so sales order.

Now u ave to know the type of a sale document.

You can find this information in field VBTYP:

A Inquiry

B Quotation

C Order

D Item proposal

E Scheduling agreement

F Scheduling agreement with external service agent

G Contract

H Returns

I Order w/o charge

J Delivery

K Credit memo request

L Debit memo request

M Invoice

N Invoice cancellation

O Credit memo

P Debit memo

Q WMS transfer order

R Goods movement

S Credit memo cancellation

T Returns delivery for order

U Pro forma invoice

V Purchase order

W Independent reqts plan

X Handling unit

0 Master contract

1 Sales activities (CAS)

2 External transaction

3 Invoice list

4 Credit memo list

5 Intercompany invoice

6 Intercompany credit memo

7 Delivery/shipping notification

8 Shipment

a Shipment costs

e Allocation table

g Rough Goods Receipt (only IS-Retail)

h Cancel goods issue

i Goods receipt

j JIT call

r TD Shipment (IS-Oil Only)

s Loading Confirmation, Reposting (IS-Oil Only)

t Gain/Loss (IS-Oil Only)

u Placing Back in Stock (IS-Oil Only)

v Two-Step Goods Receipt (IS-Oil Only)

w Reservation (IS-Oil Only)

x Loading Confirmation, Goods Receipt (IS-Oil Only)

$ (AFS)

Regards

Sudheer

aris_hidalgo
Contributor
0 Kudos

Hi,

the field VBTYP_N is an indicator field specifying what type is the subsequent

document of your preceeding document.

For example, you enetered a particular sales document in the VBELV field and

specified that your VBTYP_N has a value of 'J' which stands for a delivery document.

So what you are trying to do here is to get all delivery documents related to that

sales document. Other common values are 'M' for invoice, 'H' for returns, 'O' for

credit memo, etc.

The table VBFA is the document flow table. It gives the subsequent and preceeding

document of a given document.

Hope it helps...

P.S. Please award points if it helps...

Former Member

Hi,

VBFA Table gives the Sales Document Flow.

The Field VBTYP_N gives the Document category of subsequent document.

The Field VBELV gives the Sales Document Number.

For example:

24208 is the sales Document number and check the value in the VBTYP_N.

if it is J then for that sales document DELIVERY is created,

if it is 8 then SHIPMENT is created,

if it is M then INVOICE is created,

if it is.... then ..... is created.withis this we can known the sades document flow.

Reward if helpful,

Former Member
0 Kudos

Hi,

VBFA Table gives the Sales Document Flow.

The Field VBTYP_N gives the Document category of subsequent document.

The Field VBELV gives the Sales Document Number.

For example:

24208 is the sales Document number and check the value in the VBTYP_N.

if it is J then for that sales document DELIVERY is created,

if it is 8 then SHIPMENT is created,

if it is M then INVOICE is created,

if it is.... then ..... is created.withis this we can known the sades document flow.

Reward if helpful,