Updating xref2 in bseg table

hello
does anyone know which transaction updates bseg-xref2?
and how to update it

You set up the reference keys 1, 2  in your field status settings of the posting keys. You also set up the field for posting in the field status group for each GL account. You then can use these in the transactions you choose to set up. They are a way to enter special data that you want to enter and track at the line item basis. It is an extra field available based on your definition. You also can do reporting on them.
please assign points if helpful as a way to say thanks.

Similar Messages

  • Update BSEG table for PERNR

    Hi,
    How to update PERNR Field BSEG Table?
    My scenario is to update the (Personnel Number ) PERNR Field in FB50 Transaction.
    I get the following fields details from a third party system
    Document Information 
    o     I_BUKRS (Company Code) u2013 example: 0010
    o     I_BELNR (Document Number) u2013 example: 1700006041
    o     I_GJAHR (Fiscal Year) u2013 example: 2008
    u2022     Final Approver ID
    o     I_PERNR (Personnel No.) u2013 example U0050049
    For all line items of the document (represented by the key  (I_BUKRS, I_BELNR, I_GJAHR)) need to update the BSEG-PERNR field in FB50.
    Please let me know if you have any ideas like BAPI's or any alternative.
    Thanks & Regards,
    Satya

    Hi
    Try to use below the FM's
    FMUDBSEGH_UPDATE
    FMUDBSEG_UPDATE
    G_BKPF_BSEG_UPDATE
    before to that you need to read data from FM READ_BSEG. then update.
    hope it helps you
    Thanks!
    Edited by: Prasanth Maddela on Apr 21, 2009 6:26 PM

  • Is there any User Exit to update the SGTXT of table BSEG while doing F110

    Hi,
    I have a requirement of updating the item text of BSEG table while doing the payment run with transaction F110. Anybody tell me the user exit name if there is any.
    Thanks,
    srinivas.

    I responded in your other thread as well...
    I suggest you to make use of BTE 00001120. You can find documentation
    for the usage of this event in transaction BERP, enter process
    interface 00001120 > execute > Keep cursor on the event 00001120 and
    then click documentation.
    Hope that helps,
    Jon

  • Bapi or function module to update rstgr field in bseg table

    what is the bapi or function module used to update the fields in bseg table particularly "rstgr" field?

    Hi,
    Use Bapi
    BAPI_ACC_DOCUMENT_POST
    Regards,
    Prashant

  • Update Bseg table for one field (Functional Area)

    Dear all
    I need to update function area in bseg table for existing records. How can i modify for that particular field without using update command. Is any BAPI is there for update document no. I have Lakhs records. So is any other way to modify that field.
    This is happening in production. please give your valuable guide how to do it?

    I'm not sure it is advisable to perform, take a look at OSS [Note 966428 - FB02: Functional area (FKBER) can be changed on coding block|https://service.sap.com/sap/support/notes/966428],*this note seems to imply that this area should not be changed..
    Look alsio to Customizing (SPRO) Financial Accounting, Financial Accounting Global Settings, Document, Line Item, Document Change Rules, Line Item.
    Keep in mind that this field is replicated from FI line items to other applications and tables.
    If you must perform this change at you own risk, you may build a huge batch-input based on FB02 or FB09 transactions. Another solution is to reverse the documents and then post again those documents with functional area.
    Regards

  • BSEG Table update

    Hi All,
    My requirement is like that, Whenever I do the posting I want to update the BSEG Table field xref3.Please suggest is there any BTE exist for this.
    Points are surely awarded.
    Thanks
    Garg

    Hi All,
    I have found the following BTE to update the xref3 field of BSEG table with LIFNR.
    Even OPEN_FI_PERFORM_00001020_E...Even I have implement that BTE in my copy function module with the folowing code
    DATA : V_LIFNR LIKE BSEG-LIFNR.
      READ TABLE T_BSEG WITH KEY KOART = 'K'.
      IF SY-SUBRC = 0.
        V_LIFNR = T_BSEG-LIFNR.
        LOOP AT T_BSEG.
          T_BSEG-XREF3 = V_LIFNR.
          MODIFY T_BSEG.
        ENDLOOP.
      ENDIF.
    Whenever i simulate the posting
    But problem exist in the BTE OPEN_FI_PERFORM_00001020_E
    Becoz in this BTE code is like that in line, first the T_BSEG table entries get saved with the old entries in table  L_BSEG[]
      EXPORT T_BSEG T_BKPF TO MEMORY ID MEMID.
       L_BSEG[]  = T_BSEG[].
    After that the code written in my FM execute and update the BSEG value successfully..
    And the most confusing code thing again the T_BSEG  table get again updated with the old entries of L_BSEG[]* 
    T_BSEG[]  = L_BSEG[].
    So the table does n't get updated with the required entries.
    Your suggestion is valuable.Points are surely awarded
    Thanks
    Garg

  • Update of segment field in bseg table

    hi
    can any explain me about update of segment field in bseg table
    segment is mentained in profit center master record ,and i want to generate trial balance segment wise and profit center wise
    please suggest me steps to do in a new gl senario
    thanks
    cb

    Hi,
    You need to activate the assign scenarion FIN_SEGM to your ledgers in the below path:-
    SPRO> Financial Accounting (New) > Financial Accounting Global Settings (New) > Ledgers > Ledger > Assign Scenarios and Customer Fields to Ledgers
    Then you need to make document splitting characteristics based on Segment field in the below path:-
    SPRO> Financial Accounting (New) > General Ledger Accounting (New) > Business Transactions > Document Splitting > Define Document Splitting Characteristics for General Ledger Accounting
    Make the below entry:-
    Field = SEGMENT
    Zero Balance = Selected
    Partner Field = PSEGMENT
    Mandatory Field = Selected
    Then you will be able to generate the balance sheet segment wise in report S_PL0_86000028 "Financial Statement: Actual/Actual Comparison". (Similar steps you can use for profir center wise balance sheet in addition.)
    Regards,
    Gaurav

  • Update a field in bseg table

    Hi experts,
    i want to update a field in BSEG  table (field name is BUPLA).
    Using UPDATE statement i am going to update the bseg table.
    I know only update statement.
    This my immediate requirement.
    please give me suggesstion.

    Hi,
    If you want to update the existing table record or field.. it is always advisable to use MODIFY statement instead of  UPDATE.
    syntax: 
    fetch the BSEG data to internal table IT_BSEG and do you modificaltions.
    Loop at it_bseg.
        it_bseg- XYZ = 'ABC'.
        it_bseg-UVW = '123'.
       modify it_bseg transporting XYZ  UVW .
    endloop.
    MODIFY BSEG FROM TABLE IT_BSEG   (here it_bseg is the internal table)
    COMMITWORK.
    Modify always check in the database whether the record exists or not if it is there it will modify the existing one.. otherwise create a new record.... in Update statement.. there is always a chance of creating a new record.. instead of updating the existing one...

  • Updation of the MENGE field in the BSEG table

    SAP 4.6C
    The material is moved from one plant to another. The excise on the same is also moved from one plant to another via STO. The value in the GL accounts is calculated using the quantity in the STO. However when the FI posting is triggered, the quantity does not flow to the BSEG table (MENGE field), but the value is populated.  The posting is triggered via conditions and via OBYC setting
    How can we populate the quantity in the FI document.

    Hello,
    There is a note to help you on to achieve this requirement. CAn you please check the note 608340??
    This note has a detailed description about what should be done to update the field MENGE.
    Regards,
    Renan

  • To update BSEG table

    Hi,
    How to update the BSEG table????

    We also want to update the FM fields on the BSEG records. Some of this data posted early in the year and our budget reports are not reflecting the actual budget expenditures and availability. When we drill down in our reports, we get to the detail and find the improper Fund and Fundcenter assignments in BSEG.
    This data comes from Project WBSes and PM Orders which were corrected mid-year. So without opening those periods and reversing, correcting and reposting, we can't correct the data. My question is: Is there a way to correct those fields without doing the reversals?
    JThompson

  • Updating custom fields in BSEG table

    Hi Experts,
    I searched through SDN but did not find satisfactory answer to my problem.
    The scenario is that FIDCC2 Idoc is coming to SAP system. This Idoc has extended to include few custom fields. These fields need to be updated in table BSEG. Table BSEG also contains these custom fields. However, the Idoc processing routine is not updating custom fields in table BSEG with the data coming in Idoc. How can I do that?
    Thanks in advance,
    Netrey

    This message is processed by function module IDOC_INPUT_FIDCC2. If you drill down into the code a little bit, you should be able to find BTE/open FI or user exit calls (CALL CUSTOMER-FUNCTION) before the document is being posted.
    I found two that are using the ACCIT structure for passing the line items, which should contain your customer fields as well, if they were added to BSEG properly (via transaction OXK3).
    Please have a look.
    Thomas

  • Difference between Downpayment and normal invoice in updating BSEG table

    Hi,
      I created 2 different documents, 1 invoice via FB60 and 1 downpayment request between F-47.
      After which i perform a payment run via F110 on both documents and i realised that the bank account id for the document created via F-47 is not updated in the field HBKID for the BSEG table. However, HBKID is updated for the invoice created via FB60.
    I would like to if this is correct or if there is any config i need to perform for the HBKID field to be updated for document created via F-47.
    Thanks in advance.

    Hi,
    Please, look at the following note 524942. It should solve your problem...
    Regards,
    Eli

  • FBL5N t code and BSEG table is showing wrong contract number

    Hi,
    The proces flow is contract number>sales order>DMR-->Invoice
    Now when I am checking the VBFA table it's showing correct contract number against invoices but FBL5N t code and BSEG table are showing wrong contract numbers.
    Why FBL5N and BSEG table is showing wrong contract number?
    Currently we are using one enhancement and user exit is used to incorporate one customized field as identifier for bill type.
    1. During the billing document release to accounting VFX3, The user exit triggering and it is update the customized fields and Net settlement indicator.
    2. Using the Invoice number, get the fields VGBEL(Document number of the reference document) and VGPOS (Item number of the reference item) from VBRP and read table VBAP with VBELN and POSNR, to get DMR number (Sales Document) that created for the Invoice.
    3. Use fields VGBEL and VGPOS on table VBAP to get the sale order number.
    4. By using the Sales order number, get the Distribution channel to update Net indicator field
    In accounting table BSEG-UZAWE = JF must be updated on the customer line.
    5. Retrieve the sale order number and item level to get customized field from table VBAP
    Any pointers.
    Thanks
    Ashu

    Hi Reazuddin,
    Thanks for your reply,
    I am concercerned about BSEG table and using user exit EXIT_SAPLV60B_008 to post the document in FI.
    Now in we have enhanced this user exit  for contracts and included in this way.
      SELECT SINGLE ZZ_CONTRACT FROM VBAK INTO (LC_CONTRACT) WHERE VBELN EQ cvbrp-vgbel.
    Endloop.
    *Moving the values to final accounting table
    loop at xaccit.
    xaccit-vertn = lc_contract.
    xaccit-VBEL2 = xaccit-AUBEL.
    xaccit-xref3 = lc_vbel2.
    MODIFY xaccit .
    ENDLOOP.
    Clear: lc_contract,lc_vgbel,lc_vgpos,lc_vbel2.
    But I am getting correct data when checked other clients( development and quality), this problem I am getting in production.
    Do I need to ask the ABAP'er to debug this enhancement in production?
    Thanks
    Ashutosh

  • Help on BSEG table

    Dear all,
    Can anyone plz tell me when does KUNNR of 2nd line item of a particular document number (BELNR) get updated.Anywas,can the KUNNR from 1st line item be moved to the 2nd line item of that BELNR.
    What will I have to do for this?.Basically i will have to modify BSEG table.But as many tables will be logically connected,how can this be done?
    Edited by: Rahul Bhat on Jan 28, 2008 10:09 AM

    Hi,
    The KUNNR does not get updated for 2nd and subsequent line items of an accounting document no.
    The reason being, in an accounting doc, since the 1st line is a debit entry it always belong to the customer code. Hence fo any acc. doc, the KUNNR will be available for 1st line item. Whereas the subsequent line items are credit items and will get recorded against a G/L account and not against a customer code.
    This is designed as per std SAP. Also FYI, since BSEG is a cluster table and any changes to an acc. doc gets recorded in this table, its not advisable to change this std SAP table. It will lead to data in consistency in your system and lead to accounting errors during reporting.
    Regards,
    JLN

  • BSEG Table maintenance

    Dear SD Gurus,
    We are not able to see entries related to Material and material quantity in BSEG table. I am not sure why these entries are not coming in this table.
    As far as my knowledge goes BSEG table is a cluster table and an important part of the Accounting Document Segment.
    It comes in picture whenever there is a movement type of material such as 601 is involved i.e. at the time of PGI or PGR, i have my doubts over  u201Chow it is skipping data insertion in this table?u201D
    Could anybody let me know from where and how BSEG table fatched material and its quantity.
    Thanks in advance. Suitable  Text Removed
    Regards
    Vinod Kumar
    Edited by: Lakshmipathi on Jan 28, 2011 9:16 PM
    Dont offer anything

    Its happening after transporting some requests in Dec 2010
    In that case, you need to take the list of those requests and check which particular request relates to changes in SD table that parallely affects BSEG table.
    You can also check from document flow for that  Accounting document whether values are posted correctly in FI.  As a random test, take a billing document for which an Accounting document is generated and check in FB03 how many line items are flowing.  Next go to SE16 / BSEG and check whether you could see all those line items in this table.
    Meanwhile, you can also check from those transport requests what changes were made in which SD tables.
    Perhaps, you can also have a look at the following notes which may help you.
    1)  Note 10083 - BSIS missing for G/L account
    2)  Note 401646 - New DataSources for Line Items from FI-GL, FI-AP, FI-AR
    3)  Note 416076 - SELECT FOR UPDATE does not lock cluster tables
    4)  Note 608340 - SAP Cons.: No quantity update in subsequent posting from FI
    5)  Note 677630 - Correcting functional areas in FI documents
    6)  Note 685688 - Release of "old" invoices as of SAP R/3 Enterprise
    7)  Note 1497911 - F-26: All items not selected
    In case, you could find out the root cause, please update the forum without fail which will be very helpful to all.
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • Indesign CS6 only works in safe mode (windows 7)

    I have installed the CS6 suite in Windows safe mode (after multiple attempts did not work in normal mode, it kept stopping at 2% installed) using the Adobe application manager. I am on a trial period, my company is going to start paying monthly after

  • Electronic Signatures

    I use macs in my clinic and have been looking for software that would let my patients sign forms on an e-sig capture device, like a wacom tablet and then produce PDF's that we can upload to our records system.  Lots of options for PC.  Can't find any

  • Dynamic lookup

    Hi All, I want to know how to implement Lookup Dynamically in ODI, I know the concept of normal lookup. But here in my case I have to lookup the same table many times My Environment : Oracle 10g, ODI 11g, Windows 2003 Thanks in Advance Regards, RR

  • Restoring not restoring backed up information

    I've restored my iPhone multiple times, but the last two times I've done it, I lost all of my favorites, settings, SMS messages, notes, stocks, weather settings, etc. I thought iTunes backed these up? Both restores were running the latest iPhone firm

  • Verification email code?

    I had to re-load my Adobe Photoshop Elements 9 into a newer computer and while I was sending an email and pic from Elements 9 a window came up and said I needed my verification email code. I don't ever remember doing this before. Can you help me?