About Table VBFA

Hi All,
As you know in Table VBFA we have the below fields.
VBELV: Preceding sales and distribution document
VBELN :Subsequent sales and distribution document
Please let me know what the purpose of both and let me know the significance for both.
Akshtiha.

In sales Process:
1. First we create a Quotation
2. Then we create a contrate
3. Then with the reference to that contract we create a sales order
4. Then with the referance to the sales order we create a delivery document
5. Then with the referance to the delivery we create a billing document and shipment document
So Subsequent document of a sales quotation is :
1. Contract
2. Sales Order
3. Billing Document
4. Credit memo
etc
and Preceding document of a billing document is :
1. delivery document
2. Sales order
3. Contract etc
etc
So Subsequent document of a sales quotation is :
VBFA table have this flow of documents.
a. In You enter any document VBELN field the you will get the type ( contract or sales oredr) of that perticular document and all the Preceding  documents and their types.
b. In You enter any document VBELv field the you will get the type of that perticular document and all the Subsequent documents .

Similar Messages

  • Want to know SAP MM Table, like table VBFA for SD Document Flow

    Hello Experts,
    I want to know, direct relationship between GR against PO line item and IR against PO line item.
    I want to know, is there any SAP table for MM which gives direct relationship between succeeding document and preceding document, similar to table VBFA for SD Document Flow.
    We have EKBE table which gives information about GRs and IRs for PO Line items.
    Consider following case,
    We have PO with line item say P1.
    Two GRs are done for the same item, say G1 and G2.
    Also two IRs are done for the same item, say I1 and I2.
    In table, EKBE it just shows that, G1 and G2 are done for P1.
    Similarly I1 and I2 are done for P1.
    I want the table showing that, I1 is done after G1 and I2 is done after G2.
    (or may be showing that, I1 is done for G1 and G2)
    Do we have such table in MM? If such table does not exist, is there any way to verify this case?
    Please share your opinion.
    Thanks in advance.
    Amrut

    Amrut,
    If it is a GR based IR (check PO item Invoice tab- GR Based IV checkbox), you will find this link in table RSEG. You will find the GR number & item number in Reference number & Reference number Item field (LFBNR & LFPOS).
    If it is non-GR based IR, then I think only way is to get it through EKBE (which you have explained in your question) since these two are not linked directly.
    Regards,
    Gokul

  • HR: Info about Table T77ZZ

    Hi ,
    Can anyone give me some idea about table T77ZZ ?
    Like why it is used,when it is updated etc.
    Thanks very much.
    Regards,
    Sandip.
    Ph: +44 121 683 2561.

    hi,
    check this it may help you....
    https://websmp106.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=012006153200000167822005
    https://websmp106.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700008971712001
    regards,
    venu.

  • About table display functionalities

    Hi all,
    I have to deal with one question about table display :
    - I'd like to remove the orange color when we select a row. I tried to change the selectionChangeBehaviour properties but it only freeze the colored row to the first position.
    Does someone has an idea?
    Thank you.
    Regards

    Hi,
    If we set selectionMode property to none then it disables the lead selection. Try it once that whether it meets your requirement.
    Regards,
    Siva

  • ABOUT TABLE INDICATING WHEN IAM SELECTING PARTICULARLY

    hi,
    i got one problem about
    table,
    if i select table column in UI
    THERE IS RED COLOUR INDICATING STARTING
    I WANT TO CHAINGE THAT COLOUR OF SELECTING
    COLUMN, BECAUSE RED INDICATES DANGEROUS
    SO THAT I AM ASKING
    THAT RED IS PREDIFINED CAN WE CHAINGE THAT COLOUR
    BYEEEE

    Hi,
    Extremely sorry. I am not working in Hyderabad.
    It will be available in the download area of SDN.(Category : Development tool)
    https://www.sdn.sap.com/sdn/downloaditem.sdn?res=/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/business_packages/a1-8-4/nw04stack09themes.zip
    Regards
    Bharathwaj
    Message was edited by: Armin Reichert
    P.S: Hi Armin, What Happened ? We cant use [c] tag for a link ?
    Message was edited by: Armin Reichert
    (Link was broken because of line break, I corrected it)

  • Header record in document flow table VBFA

    Hello experts:
    I would like to have header entries (item number as "000000") for every document in document flow table VBFA. How to get it done?
    We have copy control from sales document to delivery document and from delivery to billing. All items are copied.
    Would appreciate your help.
    Raj

    Hi Ulrich:
    Thanx for your reply.
    To give you a little background. I am both a developer and SD consultant. In my previous assignments where I was only a developer, I used to query document flow with item no. as "000000" to limit the selection for performance reasons. If you notice, I did not have to hard-code item no.s as it is dynamic. So, it was a cool option. It is the case with VBKD table too.
    Right now, I work in a highly performance conscious environment where I thought it would be useful to implement what I had experienced before. But I am stuck!! My previous experiences make me think it is possible and hence the question.
    Thanks,
    Raj

  • I want complete information about table maintanence genarator?

    i want complete information about table maintanence genarator?

    hi there,,,,,,,
    The purpose of table maintainence generator is to enable the table maintenance through SM30, and to implement and validation etc on table field inputs.
    SE11->Utillities->table maintainence generator
    You need to enter the values of following fields:
    1. Table name
    2. Authorization group , and authorization object (select the suitable one )
    3. Function group and package
    4. Maintainence type : single or double screen maintainence view depending on the option selected.
    5. Maintain screen number : you may specify a value or let the system generate one for you.
    The validation code for the table entry is written in the flow logic of this screen. Even some of the fields may be made display only , by adding suitable code in the logic or directly disabling the input in table control in the layout.
    Table maintanance is for creating,adding datas to an existing table.
    it is for adding muiltiple records at a time in the table
    A table can be manipulated by a program or manually.
    When creating table, you will find a check box 'Table maintenance allowed'. If we
    check that option, we can manually enter entries using SE16 or table
    maintenance generator screen.
    SE16 is for data browser.
    Go to SE11, give the table name and click on change. Then Go to utilities--> Table
    maintenance generator.
    In the table maintenance generator screen, we should give Authorization Group,
    Function Group name (Function Group name can be same as table name),
    Maintenance type can be one step or two step, usually we will create with one
    step. we should give maintenance screen number. After clicking on create button,
    a table maintenance generator will be created.
    To check it go to SM30 . In SM30, we find display, Maintain options.
    We can view the table contents by choosing Display and we can create table
    entries by choosing Maintain.
    In the production system, end-users will not be having access to transaction
    codes like SE11 and SE16. Developers will not be having access to many
    transaction codes including the above two.
    To view the contents of the database table, we will use SE16n in Production
    system. Please find out the difference between SE16 and SE16n.
    All these authorizations will be maintained by BASIS team, by creating access
    profiles.
    So in order to edit or create the contents of a database table, we should go for
    table maintenance generator. In real time, authorizations will be maintained in
    production system. (even in development and Test systems to some extent).
    There is an audit like Sarbanes-Oxley Act for American clients, where every thing
    will be audited by government agency. To know more about SOX, use the links on
    the right hand side of this page.
    The second reason is, we can edit or create multiple entries at a time, using table
    maintenance generator.
    Apart from that we have options like 'Enter conditions' in table maintenance
    screen SM30. Please try to find out the use of those, by creating an example.
    Table Maintenance generator: Difference between one step and two steps.
    While creating table maintenance generator, we find below options:
    When we choose one step, we have to give the screen number in Overview Screen field.
    When we choose two step, we have to give both overview screen number and single screen number.
    You can give any number for screen. Don’t give 1000 screen number. As this
    number is reserved for selection screen.
    When we choose two step, two screens will be created for table maintenance. For
    single step only one screen will be created.
    When we choose two step, table maintenance will work as follows
    Go to SM30, give the table name for which you have created table maintenance-
    Overview screen will be displayed. To create entries, when you click on ‘new
    entries’. Another screen will be displayed, where you give input and save. You can
    enter one record at a time.
    Go to SM30; give table name for which you have created table maintenance-
    Overview screen will be displayed; To create entries click on ‘new entries’, you can
    enter the records on the same screen. You can enter multiple records at a time.
    We use single step generally, as it is user friendly.
    To completely understand the difference and above points please do exercise by
    creating table maintenance generator in both ways (using single step and two
    step).
    Link: http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
    Link: http://help.sap.com/saphelp_46c/helpdata/en/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm
    Link: /message/2831202#2831202 [original link is broken]
    One step, two step in Table Maintenance Generator
    Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.
    Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.
    pls reward if useful
    regards,
    rekha

  • Should we index table vbfa if vbeln and vbelv is already key field.

    Dear All,
    actually I am passing billing document into vbfa and want vbelv  for faster access data from data base into internal table 
    should we index table vbfa if vbeln and vbelv is already key field.
    Regards
    chandrashekar

    no need.

  • Tables VBFA and VBAK

    Hi Gurus,
    I have a doubt regarding the entries in table VBFA.  When is it this table populated?
    For example I have an inquiry ( sales document of type inquiry 'A' ) in table VBAK but it doesn't appear in table VBFA as a preceding document or as a subsequent document. 
    Could you help me understand this?
    Thanks a lot,
    Luis.

    I think since inquiry is the first document it will not be in VBFA unless you create quote or sales order from it.
    Create quote from inquiry and then you will find inquiry in presceding and quote in succeeding document.
    I hope this helps,
    ags.

  • Question about Table Locks

    Hi All,
    Is there any Oracle defined table/place from where we can know the details about Tables that have been locked in the current session?
    Thank you.

    Hi ,
    To know which all objects are locked, you can use the below query :-
    COLUMN owner FORMAT A20
    COLUMN username FORMAT A20
    COLUMN object_owner FORMAT A20
    COLUMN object_name FORMAT A30
    COLUMN locked_mode FORMAT A15
    SELECT b.session_id AS sid,
           NVL(b.oracle_username, '(oracle)') AS username,
           a.owner AS object_owner,
           a.object_name,
           Decode(b.locked_mode, 0, 'None',
                                 1, 'Null (NULL)',
                                 2, 'Row-S (SS)',
                                 3, 'Row-X (SX)',
                                 4, 'Share (S)',
                                 5, 'S/Row-X (SSX)',
                                 6, 'Exclusive (X)',
                                 b.locked_mode) locked_mode,
           b.os_user_name
    FROM   dba_objects a,
           v$locked_object b
    WHERE  a.object_id = b.object_id
    ORDER BY 1, 2, 3, 4;Anand

  • I have one query about table entries.

    i have one query about table entries.
    suppose  for particular table we maintained   5 entries in dev server. actaully in the dev we have only these 5 entries.
    In production we have 200 entries actually.
    If we move the cts from  dev  to production ,we will get 205 entries right
    please help me in this.

    If i understood correctly, It is a Z table and you have done some changes in DEV system. If you move this to Production, it wont effect the production entries.
    There are 2 different ways you can trnasport a Table. 1. with Table entries 2. Without table entries.
    If you transport with Table entries then the DEV entries in this case 5 will be moved to PRODUCTION totaling 205.
    If you transport without table entries, then in Production you will find only 200 entries.

  • Sales document flow table VBFA

    Hi All,
    What exactly the meaning of sales document flow how the data in table VBFA  is filled I mean from which Tcodes this table data will be filled?
    I am calculating the open quantity of a particular sales document which the data (quantity delivered vbfa-rfmng ) I have to take from table VBFA and subtract this from the order quantity(vbap-kwmeng).
    Thanks&Regards
    Mahesh

    Use SE16 see the fields of VBFA.
    Normally the sales document flow is SALES ORDER -> DELIVERY-> INVOICE.
    For a particular case it can be
    SO -> Del -> PGI -> Inv -> SO (Return) -> PGR -> Inv (RE-Type) and so on.
    If we know the document no of any one of them thru VBFA we can get the precceding and the following document.
    Thanks,
    Ashish

  • Question about tables

    Hi there,

    You mean a table of outbound billing documents for sales orders?  VBRK and VBRP.  Or the document flow table VBFA.

  • How is table VBFA populated?

    Hi Experts,
    I will appreciate if someone can explain to me how is table VBFA populated.  What is the logic for creating a record inside this table ?. Why are also some documents that only have 000000 as value in the POSNN field?
    Thanks for your help.

    The easiest way to use it is like:
      DATA: BEGIN OF L_COMWA OCCURS 1.
              INCLUDE STRUCTURE VBCO6.
      DATA: END   OF L_COMWA.
      data: begin of it_vbfa occurs 1.
              include structure vbfa.
      data: end   of it_vbfa.
      L_COMWA-VBELN = P_VBELN.   " VBELN
      CALL FUNCTION 'RV_ORDER_FLOW_INFORMATION'
        EXPORTING
    *     AUFBEREITUNG        = '2'
    *     BELEGTYP            = ' '
          COMWA               = L_COMWA
    *     NACHFOLGER          = 'X'
    *     N_STUFEN            = '50'
    *     VORGAENGER          = 'X'
    *     V_STUFEN            = '50'
    *   IMPORTING
    *     BELEGTYP_BACK       =
        TABLES
          VBFA_TAB            = IT_VBFA
        EXCEPTIONS
          NO_VBFA             = 1
          NO_VBUK_FOUND       = 2
          OTHERS              = 3
    Regards,
    Naimesh Patel

  • About tables used in purchase order creation

    Hi all,
    In which table do th information about purchase organisation and vendor stored.
    I am getting error  vendor 3411 has not been created  for pur organization 4000.
    can anyone help me that which is the table used for this..
    Regards,
    KCV

    Hi,
    EKKO - po header
    EKPO - po item
    The error u mentioned could occur when the vender 3411 is not maintained for Pr. org 4000.
    Regards
    Vadi

Maybe you are looking for