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

Similar Messages

  • To add new Line Items in Accounting Document using BTE

    Hi,
    We have a requirement to add new GL line items while doing PGI through VL02N. The requirement is as below. Please confirm, if we can use BTE 1120 for this and if yes, how to use it to add new line items.
    Orig line items:
    Item PK Acct No USD
    001 99 12200 565.00
    002 81 40000 565.00
    New DESIRED line items:
    Item PK Acct No USD
    001 99 12200 565.00
    002 81 40000 565.00
    003 91 40000 565.00
    004 81 40001 565.00
    Regards
    Sai

    Hi,
    I need to add new line items previously to save the FI document too.
    Could you explain how we can use BTE 1120 to change or add new lines, please?
    I have done a test but it don't work:
    (Function open_fi_perform_00001120_p)
    L_BSEG[] = T_BSEG[].
    Call to the function that handle the BTE, with L_BSEG[] parameter.
    T_BSEG[]  = L_BSEG[].                                "Note 996552
    Then our new values in T_BSEG table are replace for the original table, and our changes are be deleted.
    Thanks in advance,
    Susana

  • How to add new line items to FI document

    Hi,
    When doing a Post Goods Issue From VL02N I need to add a new line item to the posted FI document.  BADI AC_DOCUMENT allows you to change the FI document, but it doesn't appear to allow you to add any new lines.  In fact the Exporting parameter EX_DOCUMENT-item doesn't even have all of the line item fields like the GL account(hkont).  Can the item component be extended to add the other item fields?
    Or is it best to use a Business Transaction Event such as Process 1120??
    Thanks for any and all advice!
    Doug Crabtree

    Hi Chris,
    The $20 difference represents a variance between what is the Material Master standard price and and another price that is maintained because of the current rapidly escalating commodity prices.  This amount and cost center to post it to has to be determined dynamically at posting time from VL02N.  Finance wants to be able to post this variance to account 40100 to be able to track this.  Our FI analyst has determined that this isn't possible using config. 
    A possible solution is to create a custom program to post an additional FI doc using a BAPI with the additional line item and run it as a periodic job, however a real-time solution would be preferred.
    There are BADI's and substitutions to substitute values, but I haven't found any great way to add additional line items.  Even several BTE's I have looked at such as PROCESS_00001120 say not to change bseg lines. 
    Any help or advice would be greatly appreciated.  Thanks.
    Doug

  • To change assignment field (ZUONR) in accounting document when doing PGI

    Hi Gurus,
    I have one requirement. I will create one sales order with the reference of contract and then i will do the delivery and I will do PostGoodsIssue(PGI).In standard at that time it creates an accounting document in background.At that time I need to change that assignment field (ZUONR) value to contract number in that Accounting document.
    I treid with BAPI and Business Transaction Events like (1130,1120,1025) but it is not working.
    So please help me in this issue.
    Thansks & Regards,
    R.P.Sastry.

    The substitution logics run before delivery number generated, so how can we achieve this?
    No, it doesn't.  The substitution is triggered at the time the accounting document is created during PGI which is WAY after the delivery is created.
    The substitution suggestion is valid.  If you can't use a direct substitution, then use a substitution exit.  BTE's will work as well.

  • How to add new xml item(BAPI requset)?

    Hello
    i want to create bom to ERP from mii
    how to add new xml item(BAPI requset)?
    i use bapi CAD_CREATE_BOM_WITH_SUB_ITEMS
    this bapi's format is
    <table>
    <item>
        <col1>1111</col1>
        <col2>bbbb</col2>
    </item>
    </table>
    i want to add <item>
    like this
    <table>
    <item>
        <col1>1111</col1>
        <col2>bbbb</col2>
    </item>
    <item>
        <col1>22222</col1>
        <col2>bbbb</col2>
    </item>
    </table>
    how to set trx?
    i tryed
    SAP_JCo_Interface_0.Request{/CAD_CREATE_BOM_WITH_SUB_ITEMS/TABLES/BOM_ITEM/item[2]/SORTF}
    when error occured
    use MII12.0
    Edited by: Atsushi Iwasaki on May 18, 2010 6:22 AM

    Hi,
    You can try this alternative
    Step 1) Create XML Document with required structure which you want to pass it to BAPI request.
    Step 2) Populate the XML Row with required contents and map it to above created XML document
    Step 3) Map above created XML Document to BAPI request (use assign XML option dfrom link editor rather tha assign value)
    This will help to map dynamic contents to your BAPI request.
    Regards,
    Shalaka

  • I want to add new songs to my ipod.  When I set it up with itunes years ago I had a different computer that I no longer have.  Now it will not let me add new songs to my ipod shuffle without erasing everything that is already on it.  Help!!!

    I want to add new songs to my ipod.  When I set it up with itunes years ago I had a different computer that I no longer have.  Now it will not let me add new songs to my ipod shuffle without erasing everything that is already on it.  Help!!!  Is there any way around this?

    Yes, I was aware of this but the phrase "Any items imported from audio CDs or acquired from other sources will not copy from your device to the iTunes library." is what worries me.  Will this eliminate my Notes, Calendar Events, etc or will it apply mostly just to the music?

  • How to add new tab to GL Accounts Determination Form

    Hello Professionals,
    I want to add new tab to GL Accounts Determination. This form can't be opened using screen painter in SAP, Also, i have tried several codes to add it through UI API but with no progress so far.
    How can i do this?
    Thanks in advance

    Hi Karem,
    Use this code in your Item Event on G\L account determination form.
    and Use it in FormLoad  Event  [SAPbouiCOM.BoEventTypes.et_FORM_LOAD] and
    Before Action=False
            Dim oitem As SAPbouiCOM.Item
            Dim oextitem As SAPbouiCOM.Item
            Dim oPanel As SAPbouiCOM.Folder
            objform.DataSources.UserDataSources.Add("UD_FDR", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
            oitem = objform.Items.Add("TAB", SAPbouiCOM.BoFormItemTypes.it_FOLDER)
            oextitem = objform.Items.Item("10000008") 'Inventory Tab'
            oitem.Height = oextitem.Height
            oitem.Width = oextitem.Width
            oitem.Left = oextitem.Left + 100
            oitem.Top = oextitem.Top
            oPanel = oitem.Specific
            oPanel.Caption = "New Tab Folder"
            oPanel.Pane = 10
            oPanel.DataBind.SetBound(True, "", "UD_FDR")
            oPanel.GroupWith(10000008)
    I hope it will help.
    Thanks & regards,
    P.T.Sampath

  • 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

  • Add new speakable items

    How do i add new speakable items. Menu items, and when using parallels, programs and menu items there?

    Thanks for Your Attention..
    Basically we need to see some properties (Eg: serial No: of PC) from devices by properties (right click go Properties of a Device)..
    such as Property and Value.. ( Serial No: - xxxxxxx) 
    we can add serial no: to reports by using  WMI query, but need to add it for properties of each
    item..

  • Link between invoice number and accounting document number

    Hi Frnds,
    When i receive a partial receipt (of an invoice) from a customer, i am getting the link between invoice number and accounting document number from a table (BSEG), but when i am receiving the final settlement amount from the customer, i m not getting the link between the inv. no. and accounting document number. Can anyone tell me how can i get the same?

    hi
    try these tcodes
    FBL5N
    FB02
    regards

  • Add new line item in VA02 by copying same Order line details

    Hi All,
    I've a requirement where i need to add new line items in the Sales Order (T Code VA02) with reference to the same Order lines . For e.g an Order 80000100 which has 2 line items and the requirement is to create a new line i.e. line item 0030 by copying the details from the existing line item 0010 of the same order .
    I've checked the BAPI - BAPI_SALESDOCUMENT_COPY which is for Order Creation T Code VA01 . I'm looking out for Sales Order Change BAPI where i can give the reference as Order no and Order line item which will create a new line item in the same Order with the same details of the reference Order line item .
    Do let me know your thoughts !!!!
    Thanks,
    Bintu

    Hi -
    Please check these two FM's BAPI_SALESORDER_GETDETAILBOS & BAPI_SALESORDER_CHANGE.
    Regards,
    Atul Mohanty

  • How to add new line item using BAPI BAPI_CONTRACT_CHANGE for contract-ME32K

    HI Experts,
    how to add new line item using BAPI: BAPI_CONTRACT_CHANGE for existing contract.
    Requirement:
    Already the contract having two line items using ME31K.
    Custom program has to add new line items in existing contract.
    Thanks,
    Sendil

    I got the solution:
    We can do like this:
    1. Get all details using details, BAPI_CONTRACT_GETDETAIL.
    2. After getting results, append new line item. Then use your BAPI.
    Check this posting program.. where this bapi is used, use the same coding technique.
    IDOC_INPUT_PURCONTRACT_CHANGE

  • How to add new line item to SO using BAPI_SALESORDER_CREATEFROMDAT2

    Hi,
    I have sales order A with 1 line item, now i want to add new line item with material x and quantity y to the existing sales order A
    using BAPI_SALESORDER_CREATEFROMDAT2.
    Line item no for new line item should be generated by SAP internally.Please let me know the mandatory parameters to be passed to the BAPI to fulfill the requirement.
    DATA: order_header TYPE bapisdhd1,
               order_inx TYPE bapisdhd1x,
               partners TYPE TABLE OF bapiparnr,
               wa_partners TYPE bapiparnr.
    CLEAR: salesdocument,order_header_inx,wa_in, wa_inx.
    REFRESH: item_in, item_inx.
      salesdocument = wa_vbup-vbeln.
      order_header_inx-updateflag = 'X'.
      wa_in-itm_number = ' '.
      wa_in-material = p_nmatnr.
      wa_in-target_qty = gv_menge - gv_wemng.
      APPEND wa_in TO item_in.
      wa_inx-itm_number = ' '.
      wa_inx-updateflag = 'U'.
      wa_inx-target_qty = 'X'.
      APPEND wa_inx TO item_inx.
          CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
          EXPORTING
           salesdocumentin               = salesdocument
           order_header_in               = order_header
           order_header_inx              = order_inx
          IMPORTING
           salesdocument                 = salesdocument
          TABLES
           return                              = return
           order_items_in                = item_in
           order_items_inx               = item_inx
           order_partners                = partners.
    Thanks
    Bhuvana

    Hello,
    You can use FM: BAPI_SALESORDER_CHANGE with update indicator I (insert)
      call function 'BAPI_SALESORDER_CHANGE'
        exporting
          salesdocument    = l_vbeln
          order_header_inx = l_wa_order_header_inx
          simulation       = l_simulation
        tables
          return           = l_i_return
          order_item_in    = l_i_order_item
          order_item_inx   = l_i_order_item_inx
          partners         = l_i_partners
          schedule_lines   = l_i_schedule_lines
          schedule_linesx  = l_i_schedule_linesx
          extensionin      = l_i_extensionin.
    Thanks
    Subhankar

  • Add new menu Item in 11g

    Hi,
    I want to Add new menu item in UCM 11g.
    I have done in 10g throught including
    <$include super.custom_finish_layout_init$> and
    // create a collection
         navBuilder.addChildNode();
    but the same is not working in 11g.
    Please assist me in getting menu item in 11g.
    Thanks.

    Hi,
    Check below URL for more information.
    http://blogs.oracle.com/kyle/entry/modifying_navigation_menus_in_ucm
    Thanks,
    Ravinder

  • Add new line item in existing outbound delivery

    Hi,
    I am trying to add new line item in existing outbound delivery with material number and quantity.
    for this i tried BAPI_OUTB_DELIVERY_CHANGE and LE_MOB_DELIVERY_UPDATE.
    but both fm doesn't work and this will not add new line in that delivery.
    please help me how can i add new line item in delivery.
    I hope someone will help me........plz
    Thanks

    This kind of question is about to become a FAQ, I think....search the forum for similar questions.

Maybe you are looking for

  • Opening and closing stock balances

    Hi What report can i use to show the opening and closing stock balances of materials for the last 12 months. Thanks Vinesh

  • How can I create a link on an image?

    How can I create a link on an image?

  • Exchange rate gain/loss during F-28

    Hi we have following secnario:- 1. company code A with local currency AED and group currency USD 2. company code B with local currency USD and group currency USD now invoice posted in both comapnies and accordingly payment received as follows:- 1. Co

  • Select-options ...as search pattern

    Is this construct available in 46B?  The help file mentions it but it never syntax checks.  Would anyone be able to post some code of it?  I wish to assign a specific sarch help to my select option (an elementary search help as part of a collective o

  • Sun x4170 ILOM - Can't get to the web interface 2 days after password reset

    Just bought a used x4170. I was able to get iLOM on the network and get to the web interface logon screen after setting the IP for it. I tried logging on but the password was not given to me. So I connected to the serial interface (rj45) from another