FI Account Document To be updated which is created at SD Invoice level

Dear all,
Please help me on this <removed by moderator>.
my scenario is
1).Creating Sales order using Sales order BAPI
2).Creating Invoice using BAPI  BAPI_BILLINGDOC_CREATEMULTIPLE.
      Just am passing  Sales order which is created in first step , So Invoice number will be generated along with FI Account Document Number also.
Now my requirement is I have to update Account number  for ex Tax base value(FKBAS-BSEG)  in FI Account document number.
Please help me how to create is there any BTE OR BADI availble which will trigger at that point from Invoice level.
Thanks
Mahendar.G
Edited by: Thomas Zloch on Jan 25, 2012

Dear Thomas,
Thanks for your Quick responce, I have triedEXIT_SAPLV60B_002 ,EXIT_SAPLV60B_003, EXIT_SAPLV60B_008  and etc LIKE BTE(SAMPLE_PROCESS_00001120)  but no use.
My requirement is when I create Invoice using Bapi :
REFRESH it_return[].
  i_bapivbrk-doc_type      = l_auart.""'ZDR'.
  i_bapivbrk-ordbilltyp    = l_auart.""'ZDR'.
  i_bapivbrk-ref_doc       = lv_vbeln.  "Sales order
  i_bapivbrk-ref_doc_ca    = 'L'.
  i_bapivbrk-doc_number    = lv_vbeln.
  APPEND i_bapivbrk.
  CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
    TABLES
      billingdatain   = i_bapivbrk
      conditiondatain = i_bapikomv
      return          = it_return
      success         = i_success.
So it will create Inovoce Number and Account Document Number also. when I see the Invoice in VF03 it will show Account Document number also.
I want to update some field of Account Document after creation or at the time of creation.
<removed by moderator>
Thanks.
Edited by: Thomas Zloch on Jan 25, 2012

Similar Messages

  • Internal number ranges  for accounting documents are not updating

    Dear Experts,
    We are existing user of SAP 4.6 C , are facing probelm while posting accounting document , the accounting document number ranges are not getting updated.
    When I post first document it got alloted first number from the interval when i post another document the system showing message Document Number XXXXXXX is already assigned to other document.
    And we have checked through T.C FBN1 and checked the number ranges where first document didn't showing in the alloted number range status.
    Early reply can be highly appreciated.
    thanking you.
    Regards,
    Y.Kiran Babu.

    hi Rajesh,
    check if any document exists with that number in table BKPF. Also check: the number (current number) you see in FBN1 should be the highest existing document number in BKPF (inside the range).
    ec

  • Intercompany stock transfer with no accounting document

    Hi,
    During the Inter-company stock transfer,client needs only stock movements from supplying company code to receiving company code,but they does not want any accounting document during this transaction.
    I have assigned Proforma invoice to delivery document type.Is there any other provision.
    Kindly advise.
    Pradeep

    Suppose if billing is made with TYPE IV,then we could get completed message.
    What is the setting makes this happen.
    The reason is in copy control of VTFL  between IV and NLCC at item cat NLC you maintain the Pos/ neg quantity field will have + which updates the status of the delivery once the target qty gets billed hence system shows status as completed.
    For the same above scenario if you put blank system shows as being processed.
    And coming into your scenarios you are maintaining the copy control between Delivery and Proforma invoice i think you have the same pos/neg quantity having "blank"  which means it does not have any effect . This is the one of the reason you can create any number of proforma invoices.
    So if you want to update the status as completed please put + in the field pos/neg quantity.
    This should definitely work for you, i have tested in my system.
    thanks,
    Srinu.

  • Tracing the line item change in a accounting document

    We have to send accounting document line items details which have been created or changed to non-SAP system.
    I am looking for way to identify the line items which have been changed as I don't want to send the other line items of the accounting documents which are not changed.
    Thanks.

    Shailendra,
    You've hit the nail on the head - CDHDR and CDPOS are the central repository tables that contain all changes - wherever logged.
    There's no other way.
    P.S.: I'm assuming you know how to extract data from these tables - so am not going into it.
    Remember to assign points if found useful.
    Regards
    Gulshan

  • Accounting document generated at a time of delivery.

    Hi,
      Expert,
      Can anybody tell me, what configuration require for create automatic accounting document at a time of PGI create.
    In some cases accounting document not generate at a time of PGI ., It's depend on movement type or other configuration require for that?
    My onther question is that , In which configuration require for automatic create Batch (numerical).
    Thanks,
    Regards:
    Happy

    Hi,
         As per ur guidences, i had chacked OMBA.In OMBA t.code assign to WL document type.
    And IN OBYC all G/L maintain against GBB.
    That's why accounting document generate in direct sale.But same t.code used for subcontracting process.But in this case accounting document not generate at a time of PGI.In this Subcontracting case OMBA & OBYC both are maintain.
    I think some setting require in also a movement type, But i don't know it.
    Direct sale movement type -601
    Subcontracting movement-963 used.
    Pls tell me any another solutiion, This solution also very helpful to me,
    Thanks,
    Regards:
    Happy

  • Belgium Accounting Documents

    This is the request:
    There is a statutory requirement in Belgium that accounting documents be in sequential order with no gaps.  However, the SAP solution installed at the Belgium Engine Center follows existing accounting document number range configuration, which allows for different accounting document types to share document number ranges.  Also, buffers are allowed in number ranges in order to facilitate system performance. 
    This is the OSS note that someone recommended:
    Applying OSS Note 746162 for Company Code BE02 only, should produce an alternative reference number that can be used as the u2018legalu2019 document number at BEC.
    Suggested result using the OSS note:
    Each accounting document type at BEC will remain as is, but another document number will be added that will stay in sequential order.  Each sequential number will begin with the document type as the first two digits, the year as the next four digits, and the last ten digits as the sequence number.   The first number in each range shall end with u20181u2019, not u20180u2019.  This is per a recommendation from SAP Belgium.
    For example:
    Document type KR u2013  KR20110000000001
    Document type KG u2013  KG20110000000001
    Document type SA u2013   SA20110000000001
    My question is, will this OSS note really satisfied the requirement? Even though it says Italy and my requirement is Belgium?

    Aloha Guido
    Thanks for the reply, it has provided a lot of very usefull information. I still need to know what are the steps to follow in order to setup document numbering by company code.
    Thanks
    Nelson

  • 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

  • One invoice - two accounting document

    Hi to all,
    can someone help me with this issue ?
    I have to make this case:
    creation of SD invoice - creation of accounting document - creation of another accounting document which derives from previous one.
    First two steps are standard process, but for the third step we should use some user exit, but I don't know which one.
    Did someone use something like this ?
    thanks in advance,
    Dubravka

    Hi,
    As per my knowledge,all this is standard scenario only.No user exit is required for this.
    First we will create an invoice after that accounting document will be generated which is a standard process.
    After this by posting this one by using FB01 T.Code will create one more accounting document which is derived from the previous one only.
    So we can use FB01T.Code  to create one more accounting document which is derived from the previous one.
    Regards,
    Krishna.

  • Rebate agreement number to be displayed on accounting document

    Hello,
    Our client wants the rebate agreement number to be displayed on the accounting document generated when the billing documents are updated using VBOF t-code.
    Is there any possibility of doing so
    Regards,

    We were able to do it, but could never make it work through a user exit in VBOF.  We took a different approach.
    We copied VBOF to a Z-program and limited it so that only one rebate agreement could be processed at a time.  The Z-program would write the rebate agreement number and the generated accounting document numbers to a Z-table as the billing documents are updated.
    A second program runs nightly to use the Z-table and essentially execute FB02 to update the assignment field of the accounting documents with the rebate agreement number. 
    We removed VBOF from the user roles, making the custom version of it the only available program.  That ensures that the accounting documents are always updated.
    Regards,
    Ken

  • Account document- diffrent line entry

    Hello
    After billing document my accounting document gets generated, but instead of creating only 2 line entries i.e is Debit to cutomer and credit to sale (which should sum of all the entries that is basic price plus excise  which are having the same G/L account) it is creating more than 2 line items entry i..e Basic price, excise, cess etc.
    To sum all this entry in oneline and only 2 entry i.e Debit to cutomer and credit to sale  what setting is required.
    Pls replay
    Vinod

    Hi Prakash,
    Thank u for ur advice,
    Pricing procedure;          
    10--OFYTGROSS  PRICEX     1---2--
    ERL                   
    700-----     KDV     -VAT10-10     S----     J---10-6135--MWS
    800-----     ZOTHNET VALUEX1-2614--
    ERL
    990-----     CREDIT PRICE10- 10-----A
    OFYT  118 USD   Statistical condition
    KDV      18 USD
    ZOTH  100 USD
    I assigned ERL to gross price . But my condition is statistically then any change on account document.
    Still tax line is wrong.
    Regards,
    Gorbil.
    Edited by: gorbil on Apr 29, 2011 3:40 PM

  • Accounting Document Layout

    Hello,
        Can any one please let me know, how to change the Layout of the Accounting document. In PO, we have certain delivery conditions and so the amount going to cost object is offsetted by certain statistical accounts. But the user wants to display the real accounts.
       Is there any way (probably changing the Layout) to obtain the real accounts in the accounting document.
    thanks & regards
    Chaitanya Rayaprolu

    Hello,
    Are you comparing different type of billing document or are you facing the issue within the same accounting document?
    I mean: are you comparing an invoice & a credit note looking two differents accounting document or are you looking within the same accouting document two items?
    Is the profitability segment properly generated for the items you are checking?
    Are you using a standard layout to display the accounting document? If yes which one?
    Regards,

  • How to find the accounting document

    Dear all,
    Can somebody tell me how to find the accounting document from the MIGO transaction. I entered a goods delivery into the system. An accounting document should already be created.
    Best Regards
    Jerome

    Hi Jerome
    Go to that that material document (which was created through migo transcation)and click on Doc info header. There you can find FI documents. It will give the accounting documents (if any that has been created).
    Hope this helps.
    regards
    Anand.c

  • Reference Key 3 Field in Accounting Document Question

    Hi Experts,
    I have a problem regarding the Reference Key 3 Field (BSEG-XREF3) to be maintained for Vehicle Number Values in Accounting Documents.
    My Requirement is when creating Journal Vouchers (tcode FB50): this Reference Key 3 will be filled according to the vehicle number. Example, they have JVs for Tyres (non-stock), they will put in the G/L Account and the Item Description like 'Tyre Treatment (replenishment) the quantity 2(pc), amount 40dollars and the vehicle number in the Reference Key 3 field. Then SAVE.
    But I want this requirement also in the MIGO transaction during Goods Receipt. But when Goods Receipt has been made, the value of the Reference Key 3 of the accounting document is set to the YearMaterial Document CreatedLine Item.
    Is it safe to change the value of Reference Key 3 during the creation of GR/GI? What is the impact to other transactions? Because I know there is a clearing tcode F.12/F.13 where it uses XREF3 for Clearing Documents.
    Please Help me clarify. Thanks!

    Hi SDNFI,
    How is the Reference Key 3 Field being configured as making the value to the Accounting Document from posting GR in MIGO? Please indicate the configuration. Else, if there are no configuration or no way to stop the system to fill the XREF3, can I just do substitution exit for MIGO to change the Reference Key 3 Field (XREF3)?
    Thanks a lot!

  • Accounting Documents

    Hi Guru's,
    After Billing, two Accounting documents will be generated. Where do we configure for these documents to be generated and how?
    Som times only one Accounting document is getting generated And the other document is not getting generated. Why?
    Thanks in advance
    Regards
    VASU

    Hi Vasu,
    After Billing document 1 Accounting document gets generated if you have maintained all the settings for Account determination. To start with you have to assign the Account determination procedure to the Billing type using T-code VOFA. Please refer the following path for Account determination>IMG> Sales and Distribution> Basic Functions> Account Assignment/Costing--> Revenue Account Determination.
    The 2nd accounting document gets generated only when you prepare a Excise Invoice against the Commercial Invoice using T-code J1IIN.
    Hope the above information helps you.
    REWARD if it helps you!!
    Regards,
    Ajinkya

  • Purchase order accounting document type KR

    Hi
    Generally invoices posted against purchase order post an accounting document RE. Are there any cases, when an invoice posted against a purchase order can have a KR document.
    we have an instance in our system. In MIR4 the invoice document gets displayed, but the accounting documetnt posted is KR document type. IT should be generally RE.
    Can any explain when a PO invoice can have an accounitng document type KR instead of RE?
    regards
    Raj.

    Hi,
    this could not be possible as per Standard SAP transaction if you had used MIRO it will generate document type RE and if you had used FB60 it will generate KR.
    Is it happened only for particular document or for all ?
    check your SAP default setting for Define default values.
    IMG > Financial Accounting > Financial Accounting Global Settings > Document > Default Values for Document Processing > Define Default Values
    I hope it works for you.
    Regards
    Arun

Maybe you are looking for

  • How to add a dialog box for document instructions?

    I am creating a form in Adobe Acrobat X Pro.  This form has instructions that go along with it and I was wondering if I could add a box that appears when the document is opened? 

  • How to use engineer's diagnostic CD for Tecra 9100

    Has anyone used the Tecra Engineer's Diagnostic CD for the 9100 (or any other model if they are similar)? I have acquired the CD and have been able to get some of the diagnostics tests to run by booting to DOS 6.22 and the running the tests straight

  • Write Kestone to DVD

    OK, here's the problem. I produced my first 40 minute long presentation of still pictures, mixed with six short movie clips. There is a soundtrack running in sync with the pictures, going to mute when the movies run. I finished the presentation and c

  • Xml parsing issue when xmlns present xquery sqlserver

    Hi , I have this xml declare @xml xml set @xml ='<students xmlns="http://www.abcdef.com/pqrs/1.3.0" xsi:schemaLocation="http://www.abcdef.com/pqrs/1.3.0_f3"> <student> <id>1</id> <name>aaa</name> </student> </students>' when I am xquering this data l

  • SO8 Debian Installation doesn`t work

    Hi Had someone intalles SO8 an a Debian system? Where can I find a installation guide for debian? Thanks