BSEG Update during accounting document post

Hello ALL,
Need an idea to update a custom field in BSEG. The field should get updated once the A/C document gets generated but not yet saved in database. The BTEs are not helpful as its NOT allowing to change the T_BSEG entries. Substitution also not helpful as its gets triggered quite prior to the actual generation of accounting document in the system. The important part is the updation shouldn't be transaction specific. Means whenever an accounting document gets generated that exit/badi/bte should trigger to update that custom entry.
Many Thanks for the suggestion.
Somnath

Hello Ankur Agrawal,
Thanks a lot for your help.
I got the item text from the mentioned BADI.  I will get back to this post if it works.
Thank again for your quick reply.
Kind Regards,
Bryan

Similar Messages

  • Vendor Reconcilation account change during the document posting

    Hello Experts,
    I have one doubt about the Vendor Reconcilation account change during the document posting.
    Is there any way/possibility to change the vendor reconcillation account during the document posting, for a particular vendor.
    If is there any chance please let me know the way how to change it and also letme know the impact of this.
    Thanks in Adavance,
    Satya

    The System always takes the reconciliation account stored into the Vendor master data.
    Technically it is possible to change reconciliation account in vendor master record as follows:
    1) SPRO -> Financial Accounting -> AR and AP -> Vendor accounts -> Master Records -> Preparations for Creating Vendor Master Records -> Define Screen Layout per Activity (Vendors) -> Change Vendor (Accounting) -> Company Code Data ->
    Account management -> field 'Reconciliation account' set to 'optional entry'
    2) Then system will allow you to change reconciliation account in vendor master record.
    In general you can only change recon account when balance is zero.
    "By changing the reconciliation account in the open item master record the proportionate values from the items open at the time of change are not posted to the new reconciliation account.
    Hope this claifies.
    Kind Regards
    Soumya
    Edited by: Soumya Rao on Oct 13, 2011 12:51 PM

  • Userexit during automatic excise accounting document posting

    Dear All,
    Here the requirement is like that at the time of posting billing document their wil be two accounting documents are generated one for the Billing document transfer and other for the Modvat claimable(excise accounting document).
         Here the business requires that in Modvat claimable accounting document's Assignment field i want to stamp the shipping point (from where the goods are despatched).
    In our case excise invoice posting is automatic during Billing document posting(transaction VF01).
    Is it possible with any excise related userexit?
    please suggest.........
    warm regards
    ravi

    Hi Ravi,
    How did you solve this case? Is there any sample code? In our case,  we need to generate 2 accounting documents during billing. SAP Standard function cannot support this as I know; User exit could be the only way but I have know idea how it works. That will be helpful if you can share your code or sulation with me. Thanks.
    Regards,
    Robert  Chen

  • Text in accounting document posted against Excise invoice

    Hi,
       We have a requirement that the accounting document posted against excise invoice ( J1IEX) should display a text ( Vendor name and PO No.).
      We have tried entering the text at the time of capture and posting the excise invoice.But this does not reflect in the accounting document text field.
    However we can maintain the same afterwards from transaction FAGLL03.
    Is there any option that we can maintain the same at the time of capturing and posting the excise invoice.
    Also,if I think of defaulting the same ( Vendor name and Po no) is ther any user exit OR BAPI.
    Rajesh

    hi
    yes is their in this go to spro->img->Logistics - General->Tax on Goods Movements->India->Basic Settings->Maintain Excise Groups
    in this for your excise group in *migo settings please put the tick mark in post ei in migo the at the time of migo only the excise invoice will be posted. no need of doing the ji1ex here.
    Thanking you

  • BAPI for Accounting Document Posting

    What is the name of BAPI for Accounting Document Posting and how can I run it?

    Hi ,
    Can you send me the code how to use the BAPI_ACC_DOCUMENT_POST.
    Regards,
    L Srikanthan.

  • How to use Bapi BAPI_ACC_DOCUMENT_POST for g/l account document posting

    Hi all,
    I am using BAPI_ACC_DOCUMENT_POST bapi for g/l account documents posting.as I am first time using BAPI in my program.can anyone give details about how to use this BAPI for document postings.what importing parameters need to be passed , which exporting parameters need to be passed and which tables need to be used.  
    Thanks in advance.
    Regards,
    Harshada

    Moderator message - Please search before asking - post locked
    Rob

  • Accounting Document Post with Ledger Group

    Hi,
    I am trying you post accounting document using 'BAPI_ACC_DOCUMENT_POST', But my requirement is to post the acc documents with 'Ledger Group', I couldn't find any parameter in the  above mentioned BAPI. If anyone come accross same requirement please share your knowledge and suggest me how to proceed with this.
    Before posting this thread I searched for the threads with same category, but i couldn't find sufficient information.
    Regards,
    Narayan

    Hi Navitha,
    I am doing migration as It's a one time activity, If I implement BADI  it will be triggered whenever accounting document posting happens, Is there any other way to pass Ledger group like other BAPI / FM etc ?
    Regards,
    Narayan
    Edited by: narayanasamy rajagopal on Sep 30, 2009 11:08 AM

  • Tax code update in Accounting document

    Hi All
    I have a situation like this, During MIGO, tax code say V1 is given in Header and also at Line item and also in the PO.
    Now Accounting document generated like this.. say
    Vendor -XYZ   Credit 100   -- Tax code ** (Star Star / Asterix)
    GR/IR               Debit  90          Tax code  V1
    Price diff         Debit 10            Tax code V1.
    Why tax code against Vendor is updated as  * *   Instead of V1 mentioned during MIGO. (In BSEG also it is updated as ** against vendor)
    I checked few other vendors where tax code is updated as V1 for the same above said scenario.
    Thanks
    Aravind

    Alex, i cleary mentioned Only ONE Item.
    One PO
    One Vendor (Credit)
    One Material ( Debit)
    Same Tax code @ Header and also in the Item.
    Debit - GR/IR - 10  Tax code - V1
    Credit - Vendor - 11 tax code - **
    Debit - Price diff - 1 Tax code **

  • How to populate invoice reference field (bseg-rebzg) in accounting document

    Hi,
    I am working on a scenario in which first a billing document and its corresponding accounting document (say A) is generated.
    Then if there ia any correction, we create a credit memo request. From this credit memo request we create a credit note.
    After saving this credit note another accounting document (say B) is created. This new accounting document has "Invoice ref." field blank (BSEG-REBZG). However, I want to display first accouting document's number (i.e. A) in "Invoice ref." field.
    I tried to change the reference number field in user exits (called during credit note creation) but it didn't help and accounting document didn't get created.
    Can anyone please suggest how this can be done?
    Thanks in Advance!!
    Kind Regards,
    Priyanka.

    Hi,
    I really doubt that the number of invoice document get stored here. This is only filling up with "V" in our system for the credit memo accounting document referencing to an invoice document created with reference to billing document.
    Please read the help on this filed.
    In the standard system the field is used for:
    Credit memos which refer to a particular invoice item
    Subsequent invoices for an invoice item
    Partial payments for an invoice item
    Partial clearings of down payments.
    In the first two cases mentioned, the terms of payment are copied from the cross-referenced invoice item into the item currently being processed. This ensures that items due on the same date are paid together by automatic payment.
    A special rule applies to credit memos which have a "V" in this field. The due date is determined in the same way as for an invoice. If the field is empty (containing neither a document number nor a "V") the due date is the baseline date for payment.
    Regards,
    Ravi

  • Cost Center not updated in accounting documents generated in SAP RE-Fx

    Hi Experts,
    I'm facing an issue wherein I don't see the cost centers getting updated in the accounting documents generated from RE postings.
    Pl. note that the appropriate cost center (relevant to the cost center) is maintained in the rental objects.
    What is the customizing settings I'm missing out due to which I don't see the cost center updated in the accounting documenmts?
    Thanks & Regards
    Shantanu

    HI Shantanu,
    As far as I know, in RE-FX we can post the cost to the RE object directly. All the objects in RE-FX (i.e. BE, BU, PR, RO, RECN, SU, etc) are cost objects in themselves. However, to post the cost to Cost centers you will need to run the CO settlement. Again CO settlement rule is available in all these objects.
    Please refer the SAP Library for further explanation:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/00/80383b1b793821e10000000a114084/frameset.htm
    Regards
    Rohit

  • BADI/EXIT for MIGO for accounting  document posting

    Hi
    I am using MIGO where SAP post Mat Document and Accountying document.
    This Uses FM  'MB_POST_GOODS_MOVEMENT  < Include LMIGOKG1>, once this FM executed both MKPF and BKPF data gets filled . I can see tha data for MKPF in debug but I am not able to see data for Accounting Document.Even I cant see the Acc. document no assigned by SAP
    I need to change some fieds for Acc. Document <BSEG-VBUND>
    Can any one help me to find in which structure or table I can get data for Accounting document

    am using the method POST_DOCUMENT,
    am writing the code like..
    sample code..
    DATA: wa_mseg type mseg,
    wa_mch1 type mch1,
    wa_ausp type ausp.
    loop at it_mseg into wa_mseg.
    *select single * from mch1 into wa_mch1 where matnr = wa_mseg-matnr*
                                                               and charg = wa_mseg-charg.
    if sy-subrc is initial.
    *select * from ausp into wa_ausp where objek = wa_mch1-cuonj_bm*
                                                   and klart = '023'.
    if sy-subrc is initial.
    if wa_ausp-atwrt EQ 'ACCEPTED'.
    continue.
    else.
    if wa_ausp-atwrt EQ 'REJECTED'.
    call function 'popup_to_display_text'.
    endif.
    endif.
    endif.
    endif.
    endloop.
    when i debug ,i find no data in the mch1 table ..
    any help..
    thanx

  • Accounting Document Posting

    Hello All,
           During MIGO GR against Production Order due to a dump in a customized BADI, the Material Document gets generated but Accounting Document Doesn't generated. Now we have solved the problem and dump is not coming. Now our requirement is to do account posting for the document( some 18 documents ) for which the material document is generated due to dump but Accounting document doesn't created. Can somebody tell me about the way to achieve this.
    Thanks and Regards
    Animesh Sundriyal

    Hi dear Animesh,
    Yes there is a program that can allow this automatically
    Please use SE38
    Then program RGURECGLFLEX
    Then, you can put the documents number in selection and can try first with test run, if it seems correct, run it in real mode
    Hope this help
    Regards
    Tarek
    Edited by: Tarek AYACHI on Sep 23, 2011 1:13 PM

  • How to add line items to Accounting Document posted through MIRO ?

    I need to perform Additional posting when Posting through MIRO transaction..i tried with INVOICE_UPDATE BADI but this was not useful...Please let me know if there is any way to add additional posting to Accounting Document created through MIRO.
    If any user exit , BADI ot BTE present?

    Hi,
    Check the BTE's:
    00001020     POST DOCUMENT:       Prior to final checks             SAMPLE_INTERFACE_00001020
    00001025     POST DOCUMENT:       Final checks completed       SAMPLE_INTERFACE_00001025
    00001030     POST DOCUMENT:       Posting of standard data     SAMPLE_INTERFACE_00001030
    00001050     POST DOCUMENT:       Accounting interface           SAMPLE_INTERFACE_00001050
    Thanks & Regards,
    Harish

  • Purchase order number not getting updated in Accounting document

    Hi,
      I have an issue where PO number doesn't get populated in an accounting document when I do a transfer posting transaction using tcode MB1B.
      Appreciate any help or hints on the resolving this issue.
    Thanks.

    Hi,
    Check the screen layout in OMBW T.code.
    Regards
    Ravi Shankar.

  • Copy mvt 561W with no accounting document posting

    Hi all,
    I want to copy movement type 561w (special stock - consignment) to a new one, but that mvt should not post any accounting document as this mvt will be used for processing consignment stock which does not need to be maintained price & value but quantity.
    Please help!
    Best,

    if you sold the material already, then the material is owned by your customer, that makes it clear why it should not have a value in your books.
    561W does not work because special stock W is stock that is owned by you, hence it is valuated.
    here are some alternatives:
    you can create a second material master (type UNBW) and receive the customer owned material to that new material.
    you can create a vendor master as equivalent to your customer and receive the material as vendor consignment stock. this will as well create no accounting documents, except you use parts of the quantity for own purposes .
    you create a return order and receive the material into return stock Return stock is non-valuated. When the customer finally has space to get the material, you just cancel the return delviery.

Maybe you are looking for

  • Using My Bionic in Japan

    I've been stationed here in Japan for over a year now and I upgraded my phone a few months ago when I went on vacation. Now I have my Droid Bionic just sitting around not being utilized. I want to use it as my phone here but I'm being told that it ne

  • OB58 hierarchy

    Hi, In transaction OB58, we see a hierarchy of account groups and G/L accounts if we expand the nodes. How do I get the hierarchy technically if I have to use it in a report. In which tables does it get stored or there are any standard FM's to get th

  • Phantom Joystick or M$ "Digital Media" Keyboard !? [solved]

    Hi, Over the past couple of days I've been trying to get a python pygame based game to work. Currently I've had to disable the joystick code in the game to prevent the character relentlessly moving north-west across the screen. As I don't have a joys

  • Will the iPod touch every get a battery life percent gage

    I was wounding if the iPod 5 will ever get the power percent gage

  • Help needed with Elements 11 reinstallation.

    ???  The hard drive on my new computer with Windows 8.1 is being replaced because it is defective.  How do I reinstall Photoshop Elements 11 ?  I Have a disc but was told it will only download one time  ---  which I did in January. Also, why can't I