Table VBKD

In table VBKD you have a POSNR 000000 for header data and then POSNR e.g. 000001 for item 1 on the sales order. According to me a POSNR not equal to 000000 will only be created when you have different purchase order data per item. When does the system update field IHREZ_E in table VBKD?  And what is the meaning of the values in the field?  We now get different entries in VBKD an this has something to do with field IHREZ_E

Hi,
"According to me a POSNR not equal to 000000 will only be created when you have different purchase order data per item."
No, it will be created when you made the first change to item purchase order data, equal or not to the header data.
Initialy, the header information will be visible in the item view (but in vbkd it will only exists for posnr = 00000), but only if you made a change (you can even put the same value again) to the purchase order data per item, the vbkd for posnr = 00001 will be inserted.
"When does the system update field IHREZ_E in table VBKD?"
The system will update IHREZ_E for posnr = 0000 every time you change IHREZ_E in the Header purchase order data (GoTo-header-purchaseData).
The system will update IHREZ_E for posnr = 0001 every time you change IHREZ_E in the Item purchase order data (GoTo-item-purchaseData).
"And what is the meaning of the values in the field?"
According to SAP "The reference number generally identifies the person who is responsible for the document at the end customer. (The reference number can, for example, be taken from the employee's initials.)
but it's not a very important field, in my case, we used to hold a value for external system identification.
Hope it helps.
Thanks & Regards
Sadhu Kishore

Similar Messages

  • Reg table VBKD

    Hi,
    I want to know on what basis entries are made in the table VBKD.
    Even if a sales order has multiple line items, it is not having the data for those sale order and line items.
    This is not the case with all the sale orders, but only some sale orders.
    Why is it so.??
    Regards.

    As per SAP documentation,
    Table Lookup in Table VBKD
    When you define a table lookup for the table VBKD (Sales
    document: Business data), data does not have to be present
    for every item in the sales document. If the item data is no
    different than the header data, the system does not store it in
    the item as well. In this case, you can find the valid values in
    the header data, which is stored in table VBKD under the item
    number "000000".
    Thus, if you want to read characteristic values from VBKD, you
    always need to define two table lookups.
    1. First look up against VBKD table using the corresponding
        sales document number and item number.
    2. If such an entry does not exist, look up using the
        corresponding sales document number and item number
        as '000000'.
    This rule causes the system to first try to read the item data. If
    this information is not stored explicitly in VBKD table step 2 is
    carried out, which reads the header data.
    Hope this helps.
    Thanks,
    Balaji

  • UPDATE TABLE VBKD

    hello.
    The table VBKD is  not updated in quality, the table with the same data is however updated in devlopment.
    The item with billing plan is updated in teh VBKD table. The rest of the items with "TAN" item categories are not updated in the table in quality server.
    Please advice me on the same.

    Hello,
    The logic of entries in VBKD is as follows:
    The header entry of the business data (VBKD) is valid for all
    items until a change on item level is done to the business data.
    Then the item receives a separate entry on the database.
    For example an order with 3 line items is created. The business data
    is the same for header and all items. Therefore only 1 entry
    in table VBKD (for the header) is necessary and all items
    use this business data.
    If now a change to the first items business data is done (e.g.
    different incoterms are entered) the item receives its own
    entry in VBKD. The other items still refer to the header.
    This is the general logic, which also has exceptions, but should
    hopefully explain the system behaviour. It is correct that some
    orders do only have entries for the header and some also for
    items, this does not affect the system behaviour.
    Best regards,
    Ian Kehoe

  • Table VBKD update

    Hi Experts,
    I am useing VBKD-INCO1 - Incoterms (part 1)
                       VBKD-INCO2 - Incoterms (part 2)
                        VBKD-ZTERM - Terms of payment key
    for some of my report.In VBAP there are suppose 4 line item but in VBKD there is only one entry with line item no 000000 .
    so I am not able to utilize this above mentioned fields.
    can anyone guid me why there is no entry in VBKD and is there any other table from where I can take this above metioned field?
    Thanks in advance
    Thanks
    Sanujeet

    Hi
    The record with item 0 means header data:
    The data stored in VBKD are valid for all items of sales document, so the system inserts one record only with the item equal to 0.
    Only if the user changes some data of VBKD for a certain item, the system'll insert a new record for VBKD with item equal to the item where the modification was done.
    So if you need to extract data from VBKD u should run the select twice:
    DATA: POSNR TYPE VBAP-POSNR.
    DATA: VBKD_H TYPE VBKD.
    DATA: VBKD_P TYPE VBKD.
    SELECT * FROM VBAP WHERE VBELN = .......
       IF VBKD_H IS INITIAL.
          SELECT SINGLE * FROM VBKD INTO VBKD_H
                WHERE VBELN = VBAP-VBELN
                     AND POSNR = '000000'.
       ENDIF.
       SELECT SINGLE * FROM VBKD INTO VBKD_P
             WHERE VBELN = VBAP-VBELN
                  AND POSNR = VBAP-POSNR.
      IF SY-SUBRC <> 0.
        VBKD_P = VBKD_H.
      ENDIF.
    ENDSELECT.
    Anyway just as I said, the Sales Document: Business Data are generally the same for all items, so I think it''s rare u can find another record there except the header one.
    Max

  • Table VBKD Urgent Query

    Hi All
    There is a field in VBKD table AKKUR - LettOfCredRate. This is not visible in the sales order. How this field is populated and whats the significance of this field? i could not get much information in F1 help as well.
    This is affecting to create collective billing.
    Regards
    Murali

    I will explain you the problem fully...this is not in development..this is in production..
    Initially there are 3 line items with one LC # at the header which got applied to item as well. Then added 2 more items and for this also LC # updated automatically.
    Later in the last 2 items, LC # was removed. After some time, LC# was changed to a different #. This change didnt get applied to last 2 items.
    Then later this new number was entered manually in 2 items.
    Now the field AKKUR is having different rate for first 3 items and different rate for last 2 items.
    Because of this i am not able to do collective billing.
    Regards
    Murali

  • Does any LO cockpit extractyor extract VBKD table values

    Hello Friends
    Does any LO cockpit extractyor extract VBKD table values--I am looking for BSTDK field.
    Thanks
    Tanya

    Hi Tanya.....
    This table is related to SD.......Following datasources r extracting data from the table VBKD.......but none of the table extracting BSTDK field.........
    2LIS_11_VAITM >> SD Sales: Document Item
    2LIS_11_VASCL >> SD Sales: Document Schedule Line
    2LIS_11_VAKON >> SD Sales: Order Conditions 
    2LIS_11_V_ITM >> SD Sales: Document Item Billing
    2LIS_11_V_SCL >> SD Sales: Document Schedule Line Billing
    U hav to enhance the Datasource........Check this.......
    http://help.sap.com/saphelp_nw70/helpdata/EN/3c/7b88408bc0bb4de10000000a1550b0/frameset.htm
    Regards,
    Debjani......

  • How to modify VBKD, FPLT Tables trough Bapi ?

    Im little desperate : (
    I would like to modify entries in the Table VBKD, FPLT Tables trough Bapi ?
    Any Ideas ?
    Thank you.

    I solved it now. Thanks to all. Use extensionin table.

  • Table : Production Order in the sales order

    Hi,
    When can we found in the tables of the sales order the link to the PO numer.
    And, In which field screen in the sales order document we can find the order number.
    Thanks for yur quick answer.

    Dear Omar,
    tables of the sales order the link to the PO numer
    Table: VBKD
    Field: BSTDK
    Screen: 4001 (if, for Incompletion Log, maintain as KBES)
    In which field screen in the sales order document we can find the order number
    Table: VBAK
    Field: VBELN
    Screen: 4001
    Best Regards,
    Amit

  • Updating VBKD at item level in User_exit_move_field_to_vbkd.

    Dear All,
    I saw several posts on the table VBKD and understand that business data is stored at header level normally with
    posnr = 00000  , until unless atleast once a change is made at item level in atleast one of its field.
    So Can we use Form User_exit_move_field_to_vbkd to update a field say shipping type (VSART) at item level ?
    As far as I've seen we don't get the item no in XVBKD and once i was  trying to update one such field at item level, it updated VBKD table but then I started getting weird messages when I used to open Sales order that Business header & Item Data not match.
    Please suggest, if this is a appropriate user exit if i want to update shipping type (VSART) at SO item level .
    Thanks in advance for help,
    Manu Parihar

    Use userexit save_document_prepare in MV45AFZZ .
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Jun 12, 2008 6:51 PM

  • Update/modify an internal table

    hello
    i m writing a program in which i m adding a new field to a table type, after adding i want to select those SO no which has the date='06/08/2009', but in the o/p screen i m seeing that the beside the SO no those two date values in the date field is coming , but i can t modify my screen to only these two SO.
    LOOP AT i_vbkds INTO w_vbkds.
          READ TABLE postab INTO wa_postab  WITH KEY vbeln = w_vbkds-zvbeln.
         IF sy-subrc = 0.
            i_index = sy-tabix.
            postab-fkdate = w_vbkds-zdate.
            postab-vbeln = w_vbkds-zvbeln.
            MODIFY postab INDEX i_index TRANSPORTING fkdate.
           if sy-subrc = 0.
           endif.
          ENDIF.
          CLEAR : w_vbkds.
        ENDLOOP.
      ENDIF.
    in this internal table vbkds only 2 datsa is shown but i can modify the same in postab(table which is uysed in display)
    please help
    Edited by: Rob Burbank on Nov 13, 2009 9:19 AM

    hi all
    thnx 4 ur reply...
    i have also written transporting with vbeln but i removed it coz i was facing the same error.
    vbeln fkdate
    234    09082009
    252    06082009
    211    06082009
    421   
    now when i give the search critera for fkdate = '06/08/2009' then  i wat to show
    vbeln fkdate
    252    06082009
    211    06082009
    but for me rest of the things are also following with the fkdate value as ' '(when i check those SO fkdate is nt blank)
    still in the selection criteria all comes..
    postab is the final table to ALV, there are other fields also in POSTAB.
    please help now

  • Records in VBKD

    Hi,
    I want to know how records are stored in the table VBKD ?
    Are the records stored per line item or are the records stored per header data?  This confusion arose because when I create orders in our scenario, so for some orders, VBKD  stored records line item wise and for some orders it stored just a header  record (for POSNR = 0000).
    So can anyone explain, why is it so ?
    Regards,
    ss

    Table Lookup in Table VBKD
    When you define a table lookup for the table VBKD (Sales
    document: Business data), data does not have to be present
    for every item in the sales document. If the item data is no
    different than the header data, the system does not store it in
    the item as well. In this case, you can find the valid values in
    the header data, which is stored in table VBKD under the item
    number "000000".
    Thus, if you want to read characteristic values from VBKD, you
    always need to define two table lookups.
    1. First look up against VBKD table using the corresponding
        sales document number and item number.
    2. If such an entry does not exist, look up using the
        corresponding sales document number and item number
        as '000000'.
    This rule causes the system to first try to read the item data. If
    this information is not stored explicitly in VBKD table step 2 is
    carried out, which reads the header data.
    For more information, check the below link.
    [http://help.sap.com/saphelp_47x200/helpdata/en/7a/4c39084a0111d1894c0000e829fbbd/frameset.htm|http://help.sap.com/saphelp_47x200/helpdata/en/7a/4c39084a0111d1894c0000e829fbbd/frameset.htm]
    Hope this helps.
    Thanks,
    Balaji

  • Table link between contract document and billing document

    Hi,
    Please let me know the table link between contract data and its billing plan nnumber.
    Regards,
    bhaarathi.

    VBKD is the Table name
    if Ordertype "G"  <--- that means It is a contract
    From VBAK and VBAP you can get the Contract Details for the Order Type "G"
    Go to Table VBKD, with the contract and get the billing plan .
    FPLNR <--- is the Billing plan
    Here you get the relation Between Contract and Billing Plan

  • How to enhance SD (0DOC_NUMBER) with Field BNAME (T: VBAK), BSTKD (T: VBKD)

    Hi Gurus,
    I need the following data to 0DOC_NUMBER
    Field: BNAME / ERP Table: VBAK
    Field: BSTKD / ERP Table: VBKD
    - It is a 1:1 relationship
    - both fields are available in the 2lis_11_vaitm
    - fields are "free text" in ERP (used for additional information to customer order)
    How can I bring these data to sd? It's not a keyfigure, it's not master data. I think both are "only attribute" for 0DOC_NUMBER? Is that correct? I'm able to enhance the 0DOC_NUMBER with two "only attribute" attributes. But how can I bring the data into BW?
    Or is this the wrong was? Hope you can help me.
    Thanks and best regards.
    Feli

    I searched the whole day yesterday and I searched the whole morning. But I'm not able to find an answer for my question. I know how to load normal transactional data and I know how to load master data. But I never enhanced master data which were filled by an transactional data source.
    Could you give me a hint, how to do this?
    Thanks.

  • SQ01 Query issue - Table join

    Hi Gurus,
    I need to make a change in already created query generating a report concerning Billing documents. Tables which are being used in there are VBRK, VBRP, VBPA & KNA1.
    Now, I would like to add Purchase Order number as field in Field Group in related Infoset in SQ02.
    The issue is when I include table VBKD field VBKD-BKSTD  to fetch PO number and join it in infoset, it does get joined but the actual query does not work in SQ00 or SQ01 after getting this change done in infoset.
    Can you please suggest if I am doing something wrong in joining the tables or should I try joining some other table to get this requirement??
    Kindly help and thanks in advance for your suggestions!!
    Regards
    Bawa

    Hi Shiva,
    The issue is that I cannot use the field VBRP-AUBEL as it contains the document number of referenced Sales Document which is sales order type document number in my case.
    Kindly suggest if I am doing something wrong in joining or do I have take care of some steps involving joining of tables??
    Thanks
    Bawa
    Edited by: Bawa Bawa on Sep 23, 2009 9:44 PM
    Edited by: Bawa Bawa on Sep 24, 2009 9:32 AM

  • Suspect VBKD inconsistency.

    Hi gurus
    i have one question to ask . i tried to develop a adhoc report using QUERY and inforset.
    i join both table VBAP and VBKD togther with the fields VBAP-VBELN VBAP-POSNR join with VBKD-VBELN VBKD-POSNR
    after i search through the SE11 find out that VBKD records seem inconsistency.
    Here how it goes ...
    i have 2 sales order here 50003 and 50055
    50003 got 1,2,3 items
    50055 got 1,2,3,,,,,9,10 items
    where i search VBAP table with both sales order , it shows out perfectly .
    But when i search VBKD table sales order no 50055 only have one record which is VBKD-POSNR = 0000 .
    why the VBKD table for sales order 50055 does not contain POSNR = 1 , POSNR = 2 ... POSNR=10
    why this happen?
    Thanks
    Wilson

    Hi MONIKA
    Thanks for your reply. As i go through the checking the VBKD with few Sales Document No that.
    Below are my analysis..
    If the line item data is changed and is different from the header data then an entry for that line item will also be made in table VBKD.
    I check with one sales order no XXX52 find out that there is a changes of quantity in the item no. This particular sales order got 5 items. Then in VBKD table got 6 records. I understand that.
    But when i check another sales order XXX43 find out that no changes in the Sales Order either the data header or the item data. But VBKD table still got 5 records.
    why this happen? i am confused.
    Some Sales order i find out that changes in the item but in the VBKD not able to appear the item records . POSNR still = 000000.
    Edited by: Wei Shen Wilson Low on Mar 25, 2009 7:30 AM

Maybe you are looking for

  • Firefox doesn't work with Net Nanny. What to do?

    Firefox will not go to any website (other than homepage - MSN), when program Net Nanny is enabled. I have to disable Net Nanny for Firefox to go to other websites. Do not have this issue with IE or Chrome. Solutions? Thanks

  • IDoc error while running CO88

    Hello everyone, I get the following error while running CO88, I have a feeling it may have to do with the reverse posting I did earlier. FI/CO interface: Line item entered several times Message no. RW014 Diagnosis The following document information w

  • [Solved] iwlwifi very unstable after 3.4 upgrade (Centrino 1030 BGN)

    Since the 3.4 kernel upgrade my wireless (iwlwifi, Intel Centrino-N 1030) has been extremely unstable and essentially unusable. There have been reports of problems on Intel 6x00 wifi cards, but I've not seen any on the 1030. I've tested this on 3.4.2

  • Creating Info Packages

    Hi, I have 80 infopackage in BW system with source system as R3 prod. Now i want to create this all info packages with source system as R3Q. Is there any smarter way to do it rather manually creating them. I mean some tool like LSMW.. Thank you, sam

  • 'Final issue' indicator automatically

    Hello, A flow has been developed to transfer material (assigned to network activity) from 1 plant to another plant through a stock transfer order with a specific movement type . Find that 'Final issue' on material tab is not getting flagged automatic