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

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

  • 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

  • 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

  • Updating bseg and bsis table ...

    Hello,
    I want to update bseg and bsis table. I guess i will have to use BAPI_ACC_DOCUMENT_POST.
    how do i go on using this BAPI ? any starter code snippet ...!!

    Functionality
    Using this method you can create a posing in accounting for certain business transactions.
    Possible ( Business Transactions):
    Postings that generally only affect the general ledger. (RFBU)
    Billing: For billing in Sales and Distribution, accounting is supplied with the relevant billing data. (SD00) Billing Document
    Accounting can use the data of a logistics system that result from an Invoice Receipt. (RMRP)
    Goods Movement are triggered by transactions in Sales and Distribution or by inventory postings. Within logistics, they lead to a change in the warehouse stocks of
    <DS:GLOS.Inventory Management>Inventory Management. This results in a posting in accounting. This is why accounting is supplied with the relevant data from logistics. (RMWA)
    Example
    Billing document:
    By selling goods in accordance with targets, revenue is generated. The revenue is posted in billing and forwarded
    to accounting.
    Invoice receipt:
    Raw materials are purchased in accordance with targets. The invoice receipt is posted in a logistics system. The data from the raw materials is forwarded to accounting.
    Goods Movment:
    The use of raw materials leads to a change in stock in inventory managment. The posting of raw material consumption is forwarded to accounting.
    G/L Account Posting:
    Provision posting for an expected warranty service. This can refer to acquisitions or retirements belonging to stocks that are not in subledger accounting relevant to inventory management. This is particularly the case if such materials are not displayed as vendor/customer, materials, loans etc. or cannot be displayed in this way. This can also refer to write-ups or depreciation that contain higher aggregations of values than are maintained in a corresponding subledger that is relevant to inventory management.
    The conversion of foreign currencies for receivables/payables due to large exchange rate changes that should not lead to an update of the accounts payable or accounts receivable accounting. A similar transaction can arise for the revaluation of raw materials if this revaluation takes place at a correspondingly aggreagated level.
    Reclassification of inventory of P&L statement accounts that are only used for reconcilliation purposes in the general ledger (this rearranges values for balance sheet items).
    Balance reclassifications of stocks to receivables with different return times.
    Notes
    If the parameter CurrencyAmount is filled with the currency fields, a complete document check including characteristics and value components of profitability analysis (CO-PA). Otherwise, the account assignment objects are checked.
    Messages are returned in the parameter Return. In the parameter documentation you can find the return values and their meaning.

  • 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

  • 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 the BSEG TABLE in MIRO transaction (when saving)

    Hi,
    When MIRO transaction is saved, an user-exit should be triggered to update the 3 fields like ESRNR,ESRRE & ZLSPR Now what I am looking is , to update the 3 fields in tables BKPF or BSEG. Because when a MIRO is saved , 2 document number is created (1 in Accounting document and the other in Invoice document ).
    So is there any user-exit or BADI to update BSEG /BKPF in transaction MIRO.
    Kindly help me
    It is very urgent.
    Thanks in advance
    Points will be rewarded.

    check in se18.
    MRM_HEADER_CHECK     BAdI for Additional Checks of the Document Header Dat
    MRM_HEADER_DEFAULT   BAdI for Additional Checks of the Document Header Dat
    MRM_MRIS_HDAT_MODIFY BAdI for Changing Document Header Data for Invoicing
    MRM_MRIS_IDAT_MODIFY BAdI for Changing Document Lines for Invoicing Plan
    MRM_MRKO_HDAT_MODIFY BAdI for Changing Vendor and Document Type for Consig
    MRM_PAYMENT_TERMS    BAdI for setting the terms of payment
    MRM_RELEASE_CHECK    BAdI for Additional Checks Before Invoices are Releas
    MRM_TOLERANCE_GROUP  BAdI for setting the vendor-specific tolerance group
    MRM_TRANSACT_DEFAULT BAdI for preassigning various transaction fields
    MRM_UDC_DISTRIBUTE   BAdI for distributing unplanned delivery costs
    MRM_WT_SPLIT_BY_ISO  BADI: Country-Dependent Split of Source Control Data
    MRM_WT_SPLIT_UPDATE  BAdI for Changing Withholding Tax and Amount Split
    search terms are MR* in se18.
    User exits
    Maintain Customer Exits for Invoice Verification
    The following SAP enhancements are available for maintaining the customer exits in Invoice Verification:
    MM08R001 ERS (conventional Invoice Verification)
    MM08R002 Tolerance checks
    LMR1M001 Transfer of document header and item data,
    account assignment proposal for invoices for blanket
    POs
    LMR1M002 Account grouping for GR/IR account determination
    LMR1M003 Number assignment in Logistics Invoice Verification
    LMR1M004 Item text in follow-on documents
    LMR1M005 Change criteria for releasing parked documents for
    posting
    LMR1M006 Change XML data for BAPI call CreateFromData
    RMVKON00 Consignment/pipeline settlement
    MRMH0001 ERS (Logistics Invoice Verification)
    MRMH0002 EDI invoice receipt (Logistics Invoice Verification)
    MRMH0003 Revaluation (Logistics Invoice Verification)
    MRMN0001 Message output for Invoice Verification
    more info check in SPRO.
    regards
    Prabhu

  • 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

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

  • User Exit / BADI for  F-02 during SAVE to update BSEG Line Items.

    Hi Experts,
    I need a User Exit / BADI for Transaction code F-02 which triggers during save to update  BSEG-SGTXT with Vendor / Customer 
    name in the Tax Line Item.This is to update table BSEG .
    Thanks in Advance,
    Nithy

    Hi,
    Do it with the BTE 00001120 (tcode FIBF).
    I hope this helps you
    Regards,
    Eduardo
    PD: I forgot, check this link. It will tell you how to do it
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7
    Edited by: Eduardo Hinojosa on Jul 15, 2009 6:38 PM

  • Trading partner not updating in table FAGLFLEXA

    Hi All
    We are in ECC5.0 and we are using new GL. When we post entry tarding partner field updating in BSEG table, but it is not updating in FAGLFLEXA table.
    Can anybody tell me the what is the reason and soution for the same.
    Thanks in advance
    Regards
    Sekhar

    Hi
    Field RASSC not updating in the table FAGLFLEXA. That is the problem.
    Regards
    Sekhar

Maybe you are looking for

  • Calling sql loader in sqlplus

    Hi all, i am trying to load a file called text1.txt using sql loader. I am using sqlplus but i dont know how to call sql loader in sql plus. can someone provide syntax assumming data file is text1.txt and control file is txt.clt thanks

  • Need to get deleted messages back!!! urgently

    Hey accidently deleted all messages and imessages froma contact i would like to get them back! is this possible? if so how do i do it? i have been backing up my iphone all the time.... however my bro did a delete back ups thing... the in itunes>edit>

  • Moved files still appear in grid view

    Lightroom 2.1 - when I drag images from a subfolder to another folder they do move there, they show in the new location, and the subfolder is now empty, but still appear in the folder one level up from the original subfolder. Opening them from the hi

  • How can i transfer non purchased music from my iPod classic to iTunes?

    Recently, my laptop died and geek squad was unable to extract files from hard drive. How do I transfer non purchased music (burned cd's) from my ipod classic to itunes on my new laptop? Apple customer support suggested I engage support communities to

  • CS5.5 Text Tool Error

    Hi, I'm new to the forum, Adobe, and such so I hope this is the right area in which to ask for help. I JUST installed CS5.5 this evening. So far, everything is working correctly but the text tool. Error message saying: 'could not complete your reques