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

Similar Messages

  • How does table CE4JJ01_ACCT populated?

    Hi All,
    Good day.
    I would like to seek help from everyone on how the table CE4JJ01_ACCT populated. Does it needs a program or a transaction code or a function module to be executed first in order to populate it.
    Your help is very much appreciated.
    Thanks.
    Regards,
    JC

    Hi ,
    Is it related to CO-PA ?
    regards
    Prabhu

  • How to check how this table is populated in PL/SQL

    Hi,
    This is based on assumption that it using a trigger , function or procedure to update this table tbl1
    how can i find out how tbl1 is being updated ? do i check thru those "referenced by" ?
    or it updating another table set off a trigger that updates tbl1A can i find out from tbl1's details i.e those referenced by ?
    pld advise as i do not know how tbl1 is being populated with certain data
    tks & rdgs

    Dependencies can help only if table populated with static SQL, placed in stored procedures.
    Any kind of dynamic SQL or direct SQL-calls from client can't be tracked in such manner.
    But You can try to query V$SQL in order to find exact statements modifying table.
    My favorite way to solve such issues - SQL*Trace.

  • How TVV2 table gets populated????

    How Table TVV2 gets populated in SAP? Please help
    Thanks,
    Sheel

    Moderator message - Please do not add a meaningless comment like "Resolved the issue....." when closing a thread. It only brings old threads to the top of the forum list and pushes current ones down.
    Rob

  • How BDCPV table gets populated?

    Hi,
    I am trying to implement the change pointers for the message type COACTV.This is for KP26 transaction. I want the changes in variable price get captured.
    I have made the necessary settings and even then I am not getting the changed entry in BDCPV table.
    Please let me know how the entries in BDCP or BDCPV or CDHDR or CDPOS get populated into these tables?

    HI,
    Services How change transfer with change pointers works Material Master Table BDCPV AW339701 .
    pls see the below link they may be usefull.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/82c445c2-0d01-0010-4ab2-fc7e1a25bea2
    reply me for more help.
    thanks'
    karthik

  • How is table TTXOB populated?

    I am missing a text object from the standard system IFLOT.  how is this populated ?  thru config ?

    Hi,
    Check the view V_TTXOBI in SM30.
    In my system I am able to see IFLOT text object..
    THanks
    Naren

  • How to set setRowKey value when table is populated dynamically

    Hi All
    I have created a view object using only select statement and displaying all the records in it in the table at page load. Table is SelectMany. Now after selecting some records I press submit button. At the backend logic is executed which prints how many rows selected and the values of the selected rows. Everything works fine till here.
    Now when the view object is modified by putting where clause. And the parameter to this where clause is coming from url. When the page is loaded table displays only records based on filter criteria. But the problem begins when I press the submit button. It shows the error: row is null for rowKey:oracle.jbo.Key[AAAQkHAAJAAAACkAAA ]
    I have done some research and found that row key is not set for the displayed records. because at the backend when I am printing the values of keys in selectionState.KeySet it prints only null.
    This thing happens only when table is populated dynamically through url value.
    Can anyone help me how to get the selectionState.Keyset values when table is populated dynamically?

    SOLVED:
    Actually there is no problem with the rowKeys as I mentioned in the post. What happened was that I was executing the query everytime on page load. Second time when the page is loaded the param value was set to null. So row becomes null but on the other hand I am referring the rows by some selected row keys. so the error that row is null for key...
    So now i am storing the param value in managed bean and then referring it in the code.

  • How many minimum tables get Populated once Employee Created in People scree

    Hi
    how many minimum tables get Populated once Employee Created in People screen ?
    thanx

    per_all_people_f
    per_periods_of_service
    per_person_type_usages_f
    per_all_assignments_f (as a primary assignment is mandatory for employee)

  • How is the table MCHB populated?

    Dear SDNers,
    Need your input on how the table MCHB gets populated?
    for ex. when i create material master mm01 and save, material gets created and an entry is made in master table.
    Similarly, how /what tcode is processed to update the table MCHB.
    I am looking for field CLABS, as to how this is getting populated.
    Effort by me:
    I looked at the where used list for the table mchb and was able to locate a standard report RM07KO01- Stock consistency check. In this there is an include RM07KOF4  which contains perform update_mchb.
    I am not able to locate the code as to where this table is getting values populated from.
    Am i being right in my search ? if not please guide me.
    Regards,
    SuryaD.

    Hi Surya,
    As Suhas said..
    It is being updated while any Goods Movement happens...
    There are various T-Codes for it..
    MIGO
    MB1A
    MB1B etc etc
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • 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

  • What is RT , BT in HR Reporting ? How the Data is Populated into RT, BT ?

    Hi
    Iam Debugging an HR ( used LDB )Report. In that Report 'RT' is used.
    What is the Meaning of 'RT'. And how the Data is populated in to that RT ?
    What is the Meaning of 'BT'. And how the Data is populated in to that BT ?
    Kindly clarify my doubts.
    Regards,
    N.L.

    Hi nl,
    1. These are related to payroll results.
    2. Whenver salary is processed,
       VAST & varied amount of information needs
       to be stored.
    3. Hence, sap uses the concept of CLUSTER table.
    4. when salary is processed,
       some wage types,amounts etc
       are generated.
       ie. RESULTS are generated.
       the table name is RT
    5. Same way, BANK Transfer
       ie. bank code, name, amount etc.
       also needs to be stored.
      Its table name is BT.
    Similary there are other tables also viz WPBP etc.
    6. Payroll data can be retrived using
       macros and also using FM.
    7. Below is the technique
      DATA: myseqnr LIKE hrpy_rgdir-seqnr.
      DATA : mypy  TYPE payin_result.
      DATA : myrt LIKE TABLE OF pc207 WITH HEADER LINE.
          SELECT SINGLE seqnr FROM hrpy_rgdir
          INTO myseqnr
          WHERE pernr = mypernr
          AND fpper = '200409'
          AND srtza  = 'A'.
          IF sy-subrc = 0.
            CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
              EXPORTING
                clusterid                    = 'IN'
                employeenumber               = mypernr
                sequencenumber               = myseqnr
              CHANGING
                payroll_result               = mypy
              EXCEPTIONS
                illegal_isocode_or_clusterid = 1
                error_generating_import      = 2
                import_mismatch_error        = 3
                subpool_dir_full             = 4
                no_read_authority            = 5
                no_record_found              = 6
                versions_do_not_match        = 7
                error_reading_archive        = 8
                error_reading_relid          = 9
                OTHERS                       = 10.
            myrt[] = mypy-inter-rt.
            READ TABLE myrt WITH KEY lgart = '1899'.
            IF sy-subrc = 0.
              entl-cumbal = myrt-betrg.
              MODIFY entl.
              cumul = entl-cumbal.
            ENDIF.
    regards,
    amit m.

  • 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.

  • When RW_Server_Job_Queue table is populated.

    Hi All,
    I want to know how and when RW_Server_Job_Queue table is populated.
    I am printing a report from 10g print server through Scheduler. After Submitting the job
    I am tring to find the same in RW_Server_Job_Queue table but it is not populated though
    the report is generated successfully.
    Could anyone please tel me when can I find a submitted job in the RW_Server_Job_Queue table?
    Thanks in advance.
    Regards,
    Mrigen

    I have succesfully activated job queue logging using jobStatusRepository and it's working fine. The queue, by configuration, has a maximum of 1000 records. We would like to use this table as a montoring type item to keep track of peak times of day when reports are run, run times to identify problemattic reports, etc. When the table reaches this 1000 and a new report is run, record 1 is popped out of the table to make room for the new one. How would you recommend I tackle this? How do I keep this table from removing old data when it gets to its "full" point?
    Thanks in advance.

  • 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

  • How is RSPCLOGCHAIN getting populated?

    Hi All,
      Due to frequent job failures while scheduling of process chains, we need to
    analyse how the table RSPCLOGCHAIN is getting populated in BW? Can
    anyone please tell me the program which populates this table or any information
    you have which might be helpful in this context ?
    Thanks,
    Krishna

    Hi,
    RSPCLOGCHAIN gets populated when a process chain gets executed. There is one more table RSPCPROCESSLOG, this table is useful when you want to see the status of individual process in the process chain.
    You can create a join on these two tables on LOGID to get the overall status of the process chain.
    The technical content cube 0TCT_MC21 (0TCT_C21 and 0TCT_VC21) on Process Statistics is built on the datasource 0TCT_DS21. This extractor is built on these two tables. The cube comes as part of BI Admin Cockpit. You can install BI Admin Cockpit, for details you can go through the note 934848 and the link:https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50f95b21-7fb8-2910-0c81-f6935d4c654b
    Thanks & Best Regards,
    Rajani

Maybe you are looking for