Updating BSEG-LZBKZ in MIRO

Hi,
We have requirement where we need to populate the value of BSEG-LZBKZ in the transaction MIRO. Could you suggest how do we go about doing this ?
Can BADi - INVOICE_UPDATE help us in doing this ? Are there any specific user exits to modify this field ?
Thanks in advance for your help !

You may be able to use a substitution rule (transaction OBBH) to do this.
Rob

Similar Messages

  • 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

  • Extension for MIRO to update BSEG/BKPF

    Hi Experts,
      When MIRO transaction is saved, an user-exit should be triggered to update the 3 fields like ESRNR,ESRRE & ZLSPR(which is stored in structure RBKP_V).
       I tried all the 7 user exits (LMR1M001,LMR1M002, LMR1M003, LMR1M004, LMR1M005, LMR1M006, RMVKON00 , MRMH0001, MRMH0002 ,MRMH0003, MRMN0001) and 1 badi (INVOICE_UPDATE) .But in all this the structure RBKP_V is an importing parameter except LMR1M006 .But this user-exit is not getting triggered because it is change XML data.
    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.

    Hi Vinod,
              This can be done through FI Substitution, you may need to write an Exit in FI Substitution. Talk to your FI Consultants, and they should help you.
    Regards
    Srikanth M

  • "State Central Bank Indicator" (BSEG-LZBKZ)

    Hi All,
    with reference to the field "State Central Bank Indicator" (BSEG-LZBKZ), for documents creted with a purchase order, I wonder when the data "State Central Bank Indicator" is filled in...
    When I create the purchase order (ME21N)
    Or when i execute the MIRO?
    Thanks a lot
    Gandalf

    Hi Gandalf,
    I believe,This is for a MIRO Transaction.
    Because it is Comming From table RBKP and then moving  to BSEG.
    And it is Defined in the SPRO in the Path
    SPRO>Financial Accounting>Account Rec and Acc Payable>Business trnx>Incomming invoices-->Define SCB Indicator for Foreign Trade Regulations
    In this activity, you define information using an indicator which is needed for reporting according to German foreign trade regulations (AWV) for foreign payment transactions and which shows the reason for payment. You must enter the indicator in the line item. The reasons for payment stored for the indicator are transferred when you print the form or in the corresponding data medium exchange.
    Hope so it helps
    Regards
    Anjanna.

  • 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

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

  • Update BSEG field

    Hi All,
    I want to update a z.. field which was being added by someone..
    Problem is I can not do it through BDC..there is some problem in doing so...it will bit more work I already tried it.
    I am looking for a FM or BAPI through which I can update field. Field is "Basline date".
    Is there any update module for BSEG entries.
    Looking for your ideas...
    Thanks,
    Mark

    Hi,
    Refer Below code
    *& Form SUB_READ_UPDATE_BSEG
    text
    FORM sub_read_update_bseg.
    IF NOT it_final[] IS INITIAL.
    LOOP AT it_final INTO wa_final.
    UPDATE bseg SET zuonr = wa_final-ccnum
    WHERE bukrs EQ wa_final-bukrs
    AND belnr EQ wa_final-vbeln
    AND rfzei EQ wa_final-rfzei
    AND saknr NE ' '.
    ENDLOOP.
    *--Message data updated successfully
    MESSAGE i888 WITH text-002.
    LEAVE LIST-PROCESSING.
    ELSE.
    *--Message No data found
    MESSAGE i888 WITH text-003.
    LEAVE LIST-PROCESSING.
    ENDIF.
    ENDFORM. " SUB_READ_UPDATE_BSEG
    Regards,
    Prashant

  • Update BSEG-ZUONR with VBRK-BSTKD

    Hi experts,
    This enhancement will kick in in real time when ever a billing document is generated and it involves posting into accounting.
    Update BSEG-ZUONR with VBRK-BSTKD .
    I need the substitution rule exit details.
    Plz can u tell me that whether I can get BSEG-BELNR value into this substitution rule exit or I should go for something else.
    <removed by moderator>
    Thanks
    Edited by: Thomas Zloch on May 3, 2011 3:17 PM - urgency reduced

    Hi
    In my opinion, it will be easier with an enhancement. See Note 301077 - User exits for the interface to accounting. Depending of what kind of item you want update, you can write this code:
       xaccit-zuonr = vbrk-bstkd.
    In the corresponding ZX* include.
    I hope this helps you
    Regards
    Eduardo

  • Update BSEG-BEWAR when an FI document is posted

    Hi,
    The requirement is to update BSEG-BEWAR (Transaction Type) when an FI document is posted by any of the transactions F110, F111, FB01 or FF_5.
    Substitution exit is not working for F110.
    Please let us know any USER EXIT/ BTE/ BADI for the same.
    Thanks,
    Sweta

    hello,
    you could add implicit user exit inside FI_SUBSTITUTION_DOC FM.
    br,
    dez_

  • Update BSEG - Profit Centre

    I need to "update" BSEG-PRCTR. What is the best way to do this? I need to re-set the value for a specific GL Account. I can not do it using a BTE.

    You can not update this field. Else Profit center accounts will not be any more in sync with the general accounts.
    Look at SPRO Financial Accounting, Financial Accounting Global Settings, Document, Line Item, Document Change Rules, Line Item.
    Document Change Rules, Line Item
    In this activity, you determine under which circumstances fields within posted documents can be changed.
    Note
    For a number of fields, the system itself determines that they can no longer be changed after posting. This includes all fields which are central to the principles of orderly accounting, for example, the amount posted and the account.
    The system also prevents the update objects from being changed in documents which have already been posted, independent of the document change rules. Update objects are elements in the system for which transaction figures or line items are updated, for example, business area or cost centers (if cost center accounting is used in the SAP system). Update objects are entered as additional account assignments during posting.
    If you are using the Special Purpose Ledger application, you should ensure that fields which are updated there are protected against changes in the document. Document changes do not affect updating in the special purpose ledger.
    Activities
    1. Check the default settings.
    2. Change the specifications if necessary.
    Regards

  • Update BSEG

    Hi friends,
        I have to update ZUONR field in BSEG table based on belnr rfzei & saknr,
    could u please tell me how can i do that??
    Thanks
    Prashant

    Use the bapi:BAPI_ACC_DOCUMENT_POST
    To update BSEG table

  • User exit or FM or BAPI to update bseg-augbl field

    hello,
    i'm looking for a solution to update bseg-augbl field.
    is there a user exit or fm to do it ?
    please help.

    hi,
    i think, there's no fm or bapi -
    so try batchinput for transaction FB09.
    P.S.
    why do you want to change this field ? I think it's -<b>without exception</b>- a field that should be changed only by SAP-standard programs ?????
    A.

  • I need to "update" BSEG-SGTXT. What is the best way to do this?

    For a bunch of FI documents, the BSEG-SGTXT has been entered wrong while creating the documents. We need to change the BSEG-SGTXT values. What would be the best method to do this. We understand, direct table updates are risky and not suggested. Also BSEG-SGTXT is duplicated in other tables, like BSIS, BSID etc. We wanted to get some BAPI/ other FM. But we have not found any such one till now.
    Can anyone suggest a suitable method for this problem?

    Hi kaushik just check this Fm to change the text ..
    BAPI_EXPENDITUREPROGTREE_SVRPV
    also check
    BAPI_EXPENDITUREPROGTREE_CHVAL
    hope this helps regards,
    Vijay

  • Express document "Update was terminated"   in miro

    Hi All,
    When i creating an invoice through Tcode : miro,  document number  is generated.after that i go back error is coming,
    " Express document "Update was terminated" received from author "xxxxx".
    how to rectify this problem.
    Thanks and Regards
    Sam
    Edited by: ghandhipk on Feb 26, 2011 3:17 PM

    Hi,
    Check your authorization to post invoice document WRT PO for your company code. Take help from Basis Consultant.
    Also check the number range setting for invoice document in OMBA or OBA7 for"RE" document type.In RE document type check Number range number  & Accounting types allowed ( Vendor, G/L account.Asset & Material etc..)
    Regards,
    Biju K

  • BTE to substitute BSEG-BZDAT in MIRO doesn't work

    Hi all,
    I need to substitute the field BSEG-BZDAT with BKPF-BLDAT in all asset invoices postings through MIRO, in order to get the correct value date in AM for  depreciation calculation.
    After set a breakpoint in function module BF_FUNCTIONS_FIND, I got the correct event was 1025. My client has a 'Z' function modul for this event, so the basis guy added the corresponding programming code into it.
    When I run MIRO, substitution works OK, but after the Z function modul, the system goes into OPEN_FI_PERFORM_00001025_E, and set the original values the fields have before the substitution as per note 530655.
    Could, please, anyone help me to carrying out this requirement?
    Many thanks in advance.
    Regards,
    M.

    Hi all,
    I've found a solution for this issue by myself.
    For the new adquisitions posted from MIRO, there's a customizing point to determine the data, and for all the asset posted with wrong capitalization date, I'd  made a program that makes a mass substitution in the master records.
    Value date in asset explorer is not changed, and depreciation for subsequent adquisitions are not calculated correctly, so I have to apply note 92925, in order to set the corresponding entry in T090NP and get the correct depreciation calculation.
    Regards,
    M.
    Edited by: Miriam Munoz on Jul 26, 2010 12:02 PM

Maybe you are looking for