Saving Accounting doc. in Ztable at the time of saving MIRO

Dear All,
I want to save the accounting document that is generated after MIRO is saved in One Ztable.
I know the BADI  INVOICE_UPDATE, but in which method to write the code, and which field is popolated with Acc doc no.
Please suggest.
Thanks,
Salman Zahir

Use the method CHANGE_AT_SAVE and BELNR field is the invoice document. Debug and explore the values at run time.

Similar Messages

  • Accounting doc not generated at the time of billing

    Hi
    Scenario is that we are going to import some products from thailand for onward local sales. New product is opened with price control v and price determination 2-(transaction based). With this setting, and without running cost estimae, we have completed PR, PO, MIGO, MIRO PGI and sales document and then stucked at SD invoice with error messge. Following questions are in my mind:
    1.  We will be using this product both for purchase and sale. For purchase purpose, price control v is ok, but what for sale ? all fert material is on s.
    2.  For all Fert material, we execute cost estimate being FIRST step before doing any goods movement. What for this ?
    3.  For all other fert, cost estimates CK11N, CK24, MF30 and KF6n. MF30 and KF6n ask for Production version etc., so we should not at all execute any cost estimate or only ck11n and ck24 ? If we dont run any cost estimate, we stuck at invoice stage as per attached messages.
    Error is :
    Message No.KE350
    The system looked for the material cost estimate using costing key Z01 as defined in the cutomizing settings for COPA

    Hi Imdad
    The Key to your situation is a separate mat type
    It is advisable that you create a separate mat type for traded materials.. SAP Standard Mat Type is HAWA
    In KE4J or KEPC - You can exclude this Mat Type i.e. dont assign costing keys for it
    No need to run Std cost estimate for such materials
    Ensure you have VPRS condition type in SD Pricing Procedure... That will ensure COGS flow to COPA (Cosgting based)
    br, Ajay M

  • Accounting document not created at the time of capture and post excise duty

    Hi
    Accounting document not created at the time of capture and post excise duty
    Please explain what the reason
    Regards,
    Channa

    reloved myself

  • At the time of doing miro error coming material not released from qvm3

    Dear All,
    At the time of doing miro i am facing an error saying that material not relased from QVM3. But when i amtrying to populate the result i acnnot find aby relevant data in the report from QVM3.
    Message no:Message no. M8280

    Dear Krishna;
    But when i amtrying to populate the result i acnnot find aby relevant data in the report from QVM3.
    i am assuming that you have cleared the inspection lot by giving UD, Ensure that stock posting has been done.
    if Not, then, post the stock using QA12.
    if stock is already posted, then get the Material Document for 321 movement.
    Cancel that Document.
    and Repost using QA12.
    Regards,
    Amol

  • Attach pdf doc to PO at the time of PO creation.

    Hi,
    Is there a way to attach a pdf or word doc  at the time of Purchase Order creation via ME21N.

    HI,
    IN ME21n Screen there is a option Services for Object to attached any doc. with Purchase Document.
    You can access in Services for object in me21n screen just near of Document overview option or by System > Services for Object.

  • If I set up secure shared disks with accounts, can i still use the time machine backup feature.

    I was setting up an account on the time capsule so I can have other people have their own private folder. My question is, Can I still back up my data on my time capsule by using time machine?

    Sorry the account feature is irrelevant.. You do not want to use it.. you can migrate your data to your computer.. The account feature is not needed, required, useful or anything to do with restoring your files..
    You use account access to stop everybody being able to see your files.. the problem is.. it is not itself secure.. so if i get hold of your TC I can delete your accounts with a soft reset and access all your files.. so it is useless.. don't bother using it.. ignore it.. !!
    If you wish to have secure backups use the Time Machine Encrypt backup feature.

  • My email is extremely slow to load from my 4 separate accounts.  One of the accounts goes off line all the time.  It is not a service provider issue.  I think my passwords and ports may be all mixed up because I tried to adjust it myself.  How can I fix?

    My email is very slow to load from 4 separate accounts.  I think I messed up ports and SSL when I tried to fix it.  How do I fix this?

    Hello Mary,
    You may have multiple entries.
    Open Keychain Access in Utilities, enter the part after the @ sign in the search bar, hit enter
    The Password rejection can confuse people since it's a catch all meaning...
    This Password, Username, Authentication method... is not recognized on this Port to this Server, more than one entry in Keychain for each in/out entry, or a server end problem.
    If using a browser to login via WebMail works it's not Name or Password, but one of the other ones.
    The receiving email ports are:
    IMAP is port 143
    IMAP-SSL is port 993
    POP is port 110
    POP-SSL is port 995
    Outgoing ports are...
    SMTP and SMTP-SSL is on ports 25, 587 and 465. Port 587 has to be SSL, and port 465 is enforced TLS-wrapped and is generally used by Outlook users.

  • Accounting Doc at posting J1IG - Depot Exc Inv

    Hi Guys,
    I am doing Excise capute in J1iG for Depot for drect purchase from Vendor.
    I would like to no whether accounting doc will generate at the time posting J1IG like J1IEX.
    Regards
    Sathish

    Hi,
    When you procure goods @ depot as per Std SAP functionality you can use the the J1IG transaction to update the Depot Register & when you do a sale from Depot you can refer the same excise invoice which you captured above using the J1IJ transaction.
    Please note that since its a Depot Sale you wont be able raise an excise invoice.
    Hope its clear.
    Regards,

  • Accounting doc generated in J1IF13

    Dear all,
    No accounting doc was generated in sub contracting challan but the same was created by user & also it shows status as canceled now it made impact in GL I want to find those original doc against which cancellation had been done.
    How to find out original doc?
    Regds,
    Sany

    Hi,
    Thanks for your replay.
    I want to know if any accounting doc gets generated at the time of sub contracting challan & if the same was reversed in system how one can find the original doc in the system.
    Because in my case the effect of reversal doc was shown in GL but not the original one against which the same was reversed.
    Kindly clarify the same.
    Thanks & Regards,
    Sany.

  • Accounting doc entries not matching with the the entries from j_1ipart2 entries

    Hi,
    After creating PO, I have done MIGO and J1IEX. Now, posted MIRO. The end screen shows a number stating accounting document created.
    I checked the accounting doc in fb03 and the document is displayed over there. I also checked the table for values captured in PART2 of excise. The value displayed in table is not matching with the value displayed in accounting document. Can anyone help?

    Hello Tejas,
    Here is the updated version of the situation.
    After the transaction J1IEX, I got a message saying an 'Accounting Document' has been created. But the accounting document number does not match with the original values. I checked all the tables and found out that the accounting document is not created.
    In this case, I thought of creating an accounting document manually and adding them directly to the table.
    Here are my questions,
    -Can I manually create an accounting document for multiple line items?
    -Few tax values should be split and should go to 2 different GL accounts. so how to do this if I am creating it manually
    -Or can I delete the values captured during 'J1IEX' in the table and reopen the GR so that the t-code j1iex can be processed again?

  • AD ACCOUNT GETTING DISABLED ALL THE TIME

    Hi all,
    Helpdesk has reported that user account get's disabled all the time & they have to enable it.
    What could be the cause of this & how to troubleshoot.

    Hi all,
    Helpdesk has reported that user account get's disabled all the time & they have to enable it.
    What could be the cause of this & how to troubleshoot.
    Remove the help-desk access to user objects and see if it gets disabled again or not. :) 
    If you have third party tools which manage user accounts, review their configuration. FIM for example is one of the tools that has authority to disable/enable the accounts. Also If I had no clue what is going one I would enable auditing on user objects and
    filter my security event viewer for user changes to see who is disabling them. 
    AD DS Auditing Step-by-Step Guide
    Mahdi Tehrani   |  
      |  
    www.mahditehrani.ir
    Please click on Propose As Answer or to mark this post as
    and helpful for other people.
    This posting is provided AS-IS with no warranties, and confers no rights.
    How to query members of 'Local Administrators' group in all computers?

  • Managing several skype accounts under one icon in the dock

    Our family has four skype accounts.   Can you tell me how i can manage them, as I can't seem to get them under one icon in the doc (just choosing at the time which account needed). (MAC users)  thanks

    you're not alone. my ical dock was also buggy. when it was closed it displayed the date that was one earlier than the current date in the menu bar. and when i opened, ical, it displayed the current date. i removed the icon and then replaced it like you did and it fixed the bug (that was really annoying me).
    i had a clean install of Leopard, don't know if you did upgrade or clean install.

  • MR21 - 2 accounting docs generated

    Hi all,
         I have a question regarding MR21 - Price Change in MM.
         User has used MR21 to do price change. Since the business can only know the new price at month end, so user will only do MR21 on the following month. For example in the beginning of Nov, user will maintain new price for the month of Oct.
         Therefore, when he does price change in Nov, he puts posting date of Oct, since the price is still belongs to October's price.
         However, by doing this, at Finance side, there are 2 accounting documents generated with opposite entries (eg: 1st docs Dr Stock Cr Price Difference, 2nd docs Dr Price Change  Cr Stock) which brings the balance to zero. This will then eliminate the required update in FI side.
         Questions:
    1) Why by putting posting date in previous month will cause 2 accounting docs ? What is the logic behind this ?
    2) If we put posting date of current month, how does system deem the price change is actually for previous month's ?
    3) If user already caused 2 accounting entries, what should we do to correct it ? Reverse one of the entries ?
         Kindly advise.
    regards,
    Y T Lee

    SAP values all inventory movements "real time"
    Oct transactions were valued at the standard in place as each transaction happened.
    When you use MR21 and back date the posting, SAP does 2 things:
    1 - Revalues the inventory on hand at the the value entered into MR21
    2 - revalues the inventory to "today's" standard
    Example:
    Part ABC,  Standard on Nov 1 - $50/ea; inv on hand 100 value of inventory = $5,000
    MR21 change standard to $40, posting date Oct 31
    posting one is credit inventory $1000 dr price change $1000
    Because the standard on Nov 1 is $50, the system makes a second posting to debit inventory $1000, crd price change $1000
    <b>1) Why by putting posting date in previous month will cause 2 accounting docs ? What is the logic behind this ? -</b> The system "knows" that todays standard is $50 and brings the value back to that.
    <b>2) If we put posting date of current month, how does system deem the price change is actually for previous month's?</b> it doesn't know that it is for the previous month
    <b>3) If user already caused 2 accounting entries, what should we do to correct it ? Reverse one of the entries ?</b>  If you want the Oct month-end inventory to be $40 and go forward in Nov with $40, you will need to make a second MR21 transaction with a posting date of "today" changing to $40, if the qty is still the same the price change in November will net to zero.

  • Difference in GR/IR clearing Acount at the time of IV

    Dear All
    When i do the IV for PO there is difference in GR/IR Clearing account which is not matching with GRN accounting document
    For Ex: at the time of GRN  : Material Account =12679.20 Dr
                                                  GR/IR Clearing    =12679.20 Cr
    At the time of IV                 : Vendor Account =12679.20 Cr
                                                 GR/IR Clearing    =12648.00 Dr 
                             Difference of
    There is difference in GR/IR clearing account at the time of IV
    Why there is a difference ?

    Dear all
    Thnks for your inputs
    Everything is same as per the PO.
    If the quantity is changed ,then the difference would be same as the item price in the PO.
    But there is no change in the IV in terms of quantity and price.
    The minor change happening is in GR/IR only.
    I am little bit confused.
    Assuming that the change may be price change after a partial delivery.
    Can I do the IV?

  • How billing Doc (Invoice) get mapped to accounting doc

    Hi,
    I want to know how the billing doc get mapped to the accounting doc (FI Module)
    How the customerization is done.
    How it mapped through SD Doc.
    Thanks
    Uwanthi

    Normally, for F2 type of Billing document DR type of Accounting document is created.
    Similarly, for G2(Credit memo) ,accounting doc type DG and for Billing type L2( Debit memo) accounting doc type NN should be created.
    But those Account document type must have been specified in the respective Billing doc type( VOFA) in the "Document type" field.
    If the above field is blank in the Billing type, then irrespective of any Billing type, system will create Accounting document type RV.

Maybe you are looking for