Addition of G/L items in Accounting Document during creationof Material Doc

Hi All
I am looking for User exit or BADI that allows me to add additional G/L line items (offsets) in Accounting Document during creation of Material Document. I wish to do this when I save Material document in MIGO, MB01 or MIRO.
Has anyone done this before? Is there any user exit, badi or function module to do this. Please share insight on this situation.
Thanks in advance
Sunny

Hi,
  check out BADI MB_DOCUMENT_BADI this would trigger before and during update task while posting Material documents i think you can ful fill your requirement with this.
Regards,
Himanshu

Similar Messages

  • Item of accounting document

    I have a SD billing document with 2 item, the accounting document related have only 1 item of revenues account ( value of item is egual to sum of two of SD billing document ). The two item of SD invoice have the same revenue account. Where it is possible set if have 1 or more item in the account document for more item SD billing document with the revenue account?
    Edited by: Biagio70 on Jul 6, 2010 6:09 PM

    Hello Colleague;
    well, this issue is mantained at FI side.
    So, in order to give some tip related, please go to transaction OBCY. There you can group or not the account.
    Also, please verify the note 36353.
    So, I hope these statement can help and guide you.
    Regards
    Ruy Castro

  • Accounting document during MIGO or MIRO

    hi
    all an accounting document is generated ,when it is generated during MIRO or MIGO ?
    can we able to view these in MB51 ?
    Regards
    Leo Thilak.MS

    Hi,
    While posting stock posting movement in MIGO - accounting document has generated .
    You can view the material document in t.code MB51 - Material document for a material
    MR51- Accounting document for a material
    MBAL -Archieved material document
    MBSM-Cancelled Material document
    MB03- Material document list
    MIRO- accounting document posting
    All the stock update in your plant accounting document has generated except 101K, 541, etc
    FB03 - There choose List option, you can view the accounting document for the MIRO posting by select document type RE-Invoice
    Fiscal year, Material etc
    Thanks,
    Thiru
    Edited by: thiru on Jan 18, 2011 11:33 AM

  • MV50AFZ1 - Change Accounting Document During PGI

    Using MV50AFZ1 User - Exit ,can i change accounting document during PGI.I want to change the Business Area.
    If not ,please tell me which User Exit can help me in this.
    Thanx,
    Viru

    Hi
        business add-in LE_SHP_GOODSMOVEMENT for ur requirement
    Discuss with the abaper and proceed according to ur requirement and be very specific so that it should not influence the others.
    This badi during processing of PGI u can change the data related to accounting document.According to ur requirement the business area can be changed during PGI.
    Edited by: sameer basha on Mar 25, 2009 7:41 AM

  • 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

  • Multiple line item in billing but only one line item in accounting document

    Hi Everyone,
    I am having one scenario in which sales order has more than one line item. Only one billing document is create for all line items in Sales Order but billing document contains as many items as sales order has. In accounting document of billing i find only one customer line which has total amount of all line items in billing as debited. My requirement is Accounting document also should have as many line of customer-debit as in billing items i.e sales order. For example :
    (1) Sales order has 2 line items.
    (2) Billing document is only ONE and has 2 line items
    (3) currently accounting document has only ONE line of Customet - Debit ( Total amount of both items)
    My requirement is
    Accounting document should have 2 line item of customer - Debit
    Customer - Debit (amount of first line item)
    Customer - Debit (amount of Second line item)
    Sales - Credit
    How can it be done ?
    Regards,
    Manish

    Hi,
    This is the SAP expected behaviour
    As far as the values correspond to same account key and same GL account as per account determination, then ti will be posted as a single line item in FI document.
    If you want the customer specific items to be posted in two GL accounts , then you have to do the account determination that way.
    For example, you should have a condition table in FICO as follows.
    Sales org/ Account key / Customer
    For this condition table, the entries shoudl be as follows.
    5110/ERS/Customer A  GL ACCOUNT IS 5000100
    5110/ERS/Customer B GL ACCOUNT IS  5000200
    In this case, there will be 2 entries for the invoice instead of just one line entry.

  • Add NEW invoice items  in accounting document when doing billing (VF01)

    Hi !
    Is it possible to ADD NEW Itemlines to the Accountingdocument while doing billing(VF01) ?
    Know that its no problem to change existing lines.
    Need to ADD one new debit and one new credit item line.
    Have tried  userexit  EXIT_SAPLV60B_008 and BADI  AC_DOCUMENT  in debugger.
    But did not get it to work , "Accounting document was not get created".
    Added lines to XACCIT and XACCCR tables.
    BTE 1130 ?
    Please let me know how i can solve this,
    Thanks !
    Cheers
    /Per

    Hi !
    OK did you solve it ??  What exit did you then use ?
    I copied one of the GL rows and changed to next index and changed the values i wanted in XACCIT.
    Same to the table that holds the amounts. Same index there as the XACCIT table.
    I just want to know IF it is possible and what exit to use.
    Best regards
    /Per

  • Link between Invoice document items and Accounting document items

    Hello, Colleagues.
    Can you help me, please. I don't solved next problem. I should associate Invoice document (Create with MIRO) items from tab "PO reference" with items from tab "G/L account" or with tax items Follow-on accounting document. Invoice document can contain items with amount equals 0 and this items don't add to the tab "G/L account" and to the items accounting document. So Invoice document can contain items with material code greate than one.
    Or link between RSEG <-> BSEG or link between RSEG <-> RBCO.
    Thank you.

    Hi ,
    U can refer the  VBRP - vbeln to BSEG-REBZG and get REBZZ (Invoice line item).
    thanks
    Shambhu

  • Changing the field content of 'wrbtr' in accounting document during Post Goods Issue in VL02N

    Hi Experts,
         I have requirement ,where I need to  change the 'amount in document currency value (wrbtr)' in line item of a accounting document, which is created as part Post Goods issue through VL02N.
              I have already check BADI's below as follows:-.
    1) LE_SHP_GOODSMOVEMENT- No accounting document information flows in this BADI.
    2) AC_DOCUMENT - Field 'WRBTR' is not available in substitutable fields list.
    3) BTE-1050 - This BTE is not getting triggered while doing PGI.
            Please suggest any other possibilities to make the change.
    Thanks & Regards,
    Suganth.

    Hi Kartik,
                I have checked the enhancement you specified, but it didn't trigger during PGI. Can u please let me know is there any other possibilities to make the change.
    Thanks
    Suganth.

  • Accounting document during goods receipt

    Hi Experts,
                     Can you help to figure out one issue
    When we do Goods receipt, Out system is trying to create two accounting documents for single Goods receipt because there are two currencies at line item level,  It is failing later as it can't fill the line items properly in the program.
    How is line item currency determined?
    Program is failing here,
    It is failing in
    PERFORM CREATE_HEADER.
    Filling XBKPF table from P_ACC because there are two currencies at line item level.
    Thank you
    Kris
    Edited by: Kris on Jul 14, 2010 6:23 PM

    Hi There,
    Please review the SAP note 215114.
    Kind Regards,
    Elaine.

  • Line items in AB document during clearing?

    Hello!
    When I'm clearing below line items
    PK G/L        DocumentNo Itm Type     Sp. GL Amount in doc. curr.
    29 433110     1500006162   1 KT       D               7.054,04
    29 433110     1500006163   1 KT       D             134.710,80
    31 433110     1900012587   1 KR                       7.054,04-
    31 433110     1900012570   1 KR                     134.710,80-
    as a result I get document
    27 433110     100043516    1 AB                     141.764,84 
    39 433110     100043516    2 AB       D             141.764,84-
    Is it possible to get clearing document without line items, like here:
    433010     1500021212   1 KZ                   18.360,12     100050060
    433010     1500021213   1 KZ                    7.080,00      100050060
    433010     1500021219   1 KZ                    1.300,58      100050060
    433010     1500021223   1 KZ                      416,00       100050060
    433010     1900018975   1 KR                   18.360,12-    100050060
    433010     1900018976   1 KR                      416,00-      100050060
    433010     1900018978   1 KR                    1.300,58-     100050060
    433010     1900018979   1 KR                    7.080,00-     100050060
    where clearing document 100050060 doesn't contain any line items.
    In the first example, why system, during clearing, produce line items in AB document when alll happens on the same GL account?

    Hi,
    Clearing :
    1) Manual Clearing :
    Manually you have to select the line items and clear invoice with the bank line item - in this case payment document is the clearing document
    or
    Manually select the two open line items (both dr & cr), clear the line item. -  In this case there won't be any line item but you will have a seperate clearing document. Here either dr. line item / cr. line item are not the clearing document.
    2) Automatic Clearing :
    Using the F110 - in this case payment document is the clearing document
    or
    Using F.13 - selects one dr.line item & one cr. line item with as per the clearing criteria and clears the document using the clearing document, which doesn't have any line item
    VVR

  • Accounting document created- not seen doc flow..

    Hi,
    i have an issue with respect to accounting document.  After saving the billing, accounting document is generated. When i see the document flow, Invoice is still open, accounting document is not seen in the flow.
    When i double check with customer open item, FBL5N, i am not getting the amount reflected there.
    When i try to release the blilling document, i am getting the below error.
    FI/CO interface: Balance in transaction currency
    Message no. RW022
    Diagnosis
    The balances in transaction currency must be zero for each logical transaction when transferring to the FI/CO interface. A balance of "                    0.02" "INR" was determined for the logical transaction "".
    System Response
    The FI/CO interface does not process any transactions which have a balance in transaction currency other than zero.
    Procedure
    This is a system error of the calling application.
    Kindly guide me.
    Thanks,
    Saravana Raja

    Dear Saravana Raja,
    Please search the forum before posting
    Please go through the following thread addressing the same issue.
    FI/CO interface: Balance in transaction currency
    Thanks & Regards,
    Hegal K Charles

  • Accounting document during GR & Invoice

    Hello SAP gurus
    I want a report in which there should be purchase order no ,Accounting document which is created during GR & Invoice.
    Please suggest me the T code if any or if i hav to write a query for that which tabled shuld i use?

    Dear Desai,
    Tables in SAP MM for Purchasing Point of View
    EKKO - Purchasing document header
    EKPO - Purchasing Document: Item
    EKET - Purchasing Document: Delivery Schedules
    MDBS - Material View of Order Item/Schedule Line (good to find open PO's)
    EKKN - Account assignment in purchasing document
    EORD - Purchasing Source List
    EIPA - Order price history record
    EKAB - Release documentation
    EKBE - Purchasing document history
    EKBZ - Purchasing document history: delivery costs
    MKPF - Material document: Header
    MSEG - Material document: item
    Invoice Verification
    BSIM - Secondary index: documents for material
    MYMFT - FIFO results table
    MYML - LIFO material layer
    MYMLM - LIFO material layer (monthly)
    MYMP - LIFO period stocks, single material
    MYMP1 - Receipt data LIFO/FIFO valuation
    MYPL - LIFO pool layer
    MYPLM - LIFO pool layer (monthly)
    RBCO - Document item, incoming invoice account assignment
    RBDIFFKO - Invoice Verification: conditions
    RBDIFFME - Invoice Verification: quantity differences
    RBDRSEG - Invoice Verification batch: invoice document items
    RBKP - Document header: incoming invoice
    RBKPB - Invoice document header (batch invoice verification)
    RBTX - Taxes:incoming invoice
    RBVD - Invoice document: summarization data
    RBVDMAT - Invoice Verification: summarization data, material
    this may help u !
    Regards,
    Pardeep Malik

  • Link to find Accounting document number from Material document number / PO

    Hi
    We are working on a custom report, in which we need to print purchasing details (from EKPO, EKKO & EKBE) as well as accounting details (from BSEG & BKPF). We need to hit BKPF/BSEG with the accounting document number, since it is the only key field (though PO number is there in BKPF, we can not use this because it is not a key field)
    My question from which table we get the accounting document number ? We need to provide a link between purchasing & accounting through accounting document number, but how to find the accounting document number. ?
    Thanks
    Venkat.

    Venkat,
      I guess you are trying to fetch Accouting Documents for goods receipt against PO.
      To do this, you need to look at the PO History table (EKBE) and find out the Corresponding material document (VGABE = 1 for good receipt).
      Get the value of BELNR and GJAHR.
      Concatenate BELNR and GJAHR into your refernce key (like BKPF-AWKEY).
      Then use this key to read table BKPF with the following key
       AWTYP = 'MKPF' for Material document
       AWKEY = reference key generated above.
       AWSYS = the value of the logical system (if used) or blanks
    This will get you quicker access as compared to what you've described below. In this case, the system uses a standard SAP Index "Index by application type and key" to fetch the relevant records.
    Hope this helps.

  • No accounting document during billing

    Hi,
    Is it possible that the billing document will not be saved if ever there is an accounting error?  The standard set-up I think is that the sd billing document will be saved, but a message will prompt => no accounting document generated.
    Please advise if this is possible
    thanks

    Hi,
    In my view, it is not advisable to stop the Billing document from saving.
    In the Billing document, there may be various Pricing components like
    - Price (Revenue)
    - Different Discounts (deductions)
    - Various Taxes
    - Different Freights
    Again there may differents discounts with different Account keys for posting to different G/Ls.
    Similarly, for Taxes and Freight.
    For even one of the Account key, suppose G/L is missing then you will get the accounting error.
    If the billing document is saved, then from the "Account determination analysis', you can easily find out the problem and can solve it.
    But, with your requirement it will be very difficult to check all the assignemnt.
    Therefore, in my view you should not go with requirement rather convince your client about it.
    Regards
    Pradyumna

Maybe you are looking for

  • HT203164 Converting error message:  "the file name was invalid or too long?""

    Any ideas about how to handle this block to importing CDs into iTunes?  It appeared suddenly, I think after updating iTunes.  Disk Drive is OK per iTunes diagnostic.  I also have tried to "repair" iTunes in Programs section of Control Panel.   No err

  • Moving to JSF 1.2_12 causing misc problems in my app

    I have an app that was running nicely with JSF 1.2_04.p02. But when I moved to JSF 1.2_12, I started having several problems.. (1) h:selectOneMenu was not rendering my onchange event (I was able to resolve this by fixing my classpath. See http://foru

  • Sorting of TermSets in Managed Metadata

    Anyone,     I need to sort my Term sets numerically. I'm using code to render them to a JQuery Treeview. foreach (TermSet item in termgroup.TermSets)         ..... build them here..... M Sariman RKO Business Solutions Inc.

  • Get Routing from Configuration VA01 / VA02 / VA03

    Hello together, we created a standard routing in transaction CA01 with dependencies to control which operation of the routing must be used in production order. I developed an application. It is started by a function out of the configuration processin

  • Extrapolation and intersection

    I have a list of 10 points ( Voltage=f(Current) ) measured by multimeters. I interpolated them with linear fit.vi.  Now I have to extrapolate this line to find the offset of current and voltage. How is this possible with labview?