How do MIRO and MR8M create Accounting doc?

Hi guys,
How MIRO and MR8M create accounting document?
Does it use any FM or BAPI to create accounting doc? If yes, what FM or BAPI?
Thanks a lot!
Rgds,
Mark

Hi Mark,
Try MRM_INVOICE_CREATE or MRM_INVOICE_POST
Edited by: Joyreen Maceda on Feb 18, 2009 3:59 AM

Similar Messages

  • BAPI_GOODSMVT_CREATE or BDC for MB1A not creating Accounting Doc

    It is a strange scenario.  We can manually process a Goods Issue (without reference to a PO# - WBS Element used instead) via MB1A and have an Accounting Doc generated without a problem - movememt 415Q.  But for some reason, we can only create the Material Doc for Goods Issue when using BAPI_GOODSMVT_CREATE or BDC for MB1A (foreground or background).
    Does anyone have any idea why in the world this would be happening?  Especially if we're using the exact same data used to manually create the Goods Issue via MB1A?

    Thanks for the response.  Yes, I did try BAPI_TRANSACTION_COMMIT in all of my tests.  The Accounting Document simply will not get generated.
    Again, what makes it strange is that we created a BDC for MB1A - based on data that worked & that produced an Accounting document.  However, when processing that BDC, either in the foreground or background - the Accounting document likewise does not get created.

  • Different amount between miro and mr8m

    Hi gurus,
    The case is that, i have PO in USD. I do MIRO in local currency (not usd) and then i do MR8M of the MIRO.The amount of the miro and mr8m not equals. We have different amount in the reversal invoce. The problem is that the MIRO and his reversal are in local currency. Why i have differences/
    Tks a lot
    Gaston

    Hi
    Since you are saying that the exchange rate is same for MIRO and MR8M document ,the difference due to exchange rate fluctuation is eliminated .The other reason could be
    Lets assume during MIRO your Material master MAP =10,If you have mande GRs then MAP will change ,lets assume your MAP=11
    Now if you try to post MR8M doucment the difference amount of 1 (11-10) will go to Price difference account.This is logically correct .Check in your system whether the difference amount is the change in MAP of the material.
    Regards
    Sandeep

  • MIRO and MR8M

    Hi Guru,
    We have a PO created and Goods Receipt made. When we made a invoice using MIRO and reversed this invoice using MR8M
    Goods Receipt Entry ( MIGO Entry)
    Dr. Inventory account
    Dr. PPV ( Account for Purchase price variance)
    Cr. GR/IR account
    MIGO Entry ( Invoice)
    Dr. GRIR account
    Dr. Gain/Loss account
    Cr. Vendor
    User revesed this entry using MR8M ( Credit Memo)
    Dr. Vendor
    Cr. GRIR account
    Cr. PPV ( Another account for Purchase price varaiance) instead of Gain/Loss account.
    Can i know the reason why reverse took a different account instead of Gain/Loss account.
    Will assign good points.
    Thanks

    In OBYC check for transactioN PRD, whether tick is put on the debit/credit indicator. If yes means two differnt gl accounts are maintained for debit and credit for price differences. Check both the gl accounts. Consult your the finance users  before changing the same.

  • Unable to create accounting doc from invoice

    HI all,
       In creating an accounting doc from an invoice via VF02, i  got an error message:
    Cost Center SGCA/33150 does not exist on 7/7/2010.
    First of all, we don;t have a cost center 3150. 
    Can anyone suggest why I cannot create an accounting doc ?
    Why the message on cost center ?
    thanks
    Joyce

    Hello Joyce
    Identify  the GL accounts that are likely to be posted ( if the posting were to go through). Typically you will have GL accounts for Trade Sales, Tax payable etc. here.
    While displaying them using T code FSS0, click on the' Edit Cost element' tab and go into 'Display Cost Element: Basic screen". Now click on the tab, 'Default Account Assignment' tab and see if  the cost center tab has been filled with '33150. If so, remove it. after checking with your FI colleague. Repeat this for all the accounts (likely) to be posted. I am guessing that is the reason.
    Let me know how it goes.

  • MIRO and alternative reconciliation accounts?

    Hi all,
    The situation is following. Purchase order is made and when in MIRO we are processing this PO into a subsequent credit then it is not possible to change an reconciliation account for that vendor even if I did set it up in SPRO as an alternative rec. acc. and have set it to be ready for posting.
    One solution would be to define a different doc. type and then do a substitution (I guess) but I wonder why this doesn't work the same way as posting a vendor invoice from FI?!
    Thanks
    D.

    In MIRO, you will be able to change the vendor account but not the reconciliation account itself.  The reconciliation account field will be greyed out, unless you made it as optional.  This may cause issues, as the user can go in and change the account and your subledger will not tie back to your ledger.
    One of the other alternative solution, may not be a preferred solution, is that when you are doing subsequent credits, you choose a different vendor (assigned to the other GL Account that you want to post to) and then post the MIRO transaction.
    Thanks,
    Madhav Nanduri

  • How to add Line items to Accounting Doc

    Hi All,
    I want to capture the amount of inventory to a separate GL accounts while doing GR.
    Accounting Document should look like this:-
    Inventory a/c 1000 BSX
    GR/IR a/c           1000- WRX
    1New line a/c  1000
    2New line a/c    1000-
    How can we achieve this.
    Thanks.

    U can make use of purchase account and purchase offset account . In obyc assign the account to purchase account EIN and puchase offset account EKG.

  • How to get - Net amount for accounting doc in the SD doc flow?

    Hi,
    In my report I have to show the net amounts from the Sales doc, invoice and accounting doc, etc.
    I got the FI doc amount from BSEG, however there the gross amount is stored.
    I noticed that in the SD document flow for the accounting document the net amount is shown.
    I tried with the following calculation, however in some cases this doesn't work (eg there is separate tax item in the FI doc):
    "<lwa_bseg>-wrbtr - <lwa_bseg>-wmwst"
    Is there a function module/sap standard code to provide this data?
    Thanks in advance,
    Peter

    when u see the Item Header in SO or Billing , at the Head of Condition table u will get NET amount ?
    are u not maintaining any seperate conditions for this NET amount ?
    have a word with ur functional guys , so he can help u out.
    Regards
    Peram

  • How system debit and credit gl accounts in integration entries

    Hi Friends,
    I hav little bit confusion in integration for ex; take while goods receipt
    here the entry will be
    inv. rawmaterial a/c --dr
       to gr/ir clearing a/c
    as per my knowledge with the help of movement type system wll debit n credit the accounts
    here i have just conceptual knowledge.. any expert can explain how it wll debit n credit a gl account .. on what parameters it wll decide..
    pls explain me in details
    send me to my mail i e. [email protected]
    points assured
    thanks in advance
    siva s

    Hi Agarwal,
    Thank u for u r quick response.
    But my doubt is here the postings are made by system automatically we are not giving either 40 or 50 right.
    What is the technique or mechanism the system follows to debit and credit gl accounts .. if soo.. where can we see that mechanism.
    pls clarify me experts.
    mail id [email protected]
    thnk u
    siva s

  • Good Issue Using BAPI WS_DELIVERY_UPDATE  but didn't create accounting doc

    Hi Gurus,
    i have some problem using BAPI WS_DELIVERY_UPDATE.
    in our company. once finance unblock delivery block at sales order then that sales order should be automatic DO/GI.
    to accomodate this request i use BAPI BAPI_OUTB_DELIVERY_CREATE_SLS to create DO and BAPI WS_DELIVERY_UPDATE to create GI from DO in one function module. this method was succesfull. +but the problem is when i am only execute  BAPI WSDELIVERY_UPDATE to create GI (GI creation failed because : stock deficit,material already lock by another process). the GI document did not create accounting document.+
    can any one help me.
    thanks in advance
    Best Regard,
    Akbar.

    Dear Mr Akbar,
    Could we kindly verify for a possible update termination?
    The terminated transaction may be re-executed to complete the transaction!!
    Regards,
    K Gopidas.

  • MIRO and alternative reconciliation account?

    Hi all,
    is it possible to have the possibility to post to an alternative reconciliation account of a vendor when posting in MIRO? I know that in FI when I set in spro an alternative reconciliation account for some account and then mark that this account is ready for input I can choose, when posting a vendor invoice for example, a different reconciliation account. In MIRO this field is grey and I can not input anything (change it). Does anyone have any idea about that?
    Thanks a lot!
    D.

    Hi ,
    Check this tcode - OBF4 or try with OLMRLIST . In OLMRLIST  you have to define screen variants there u try enabling the GL field .
    Check this out . Though I haven't check this ....
    Update us if it helps .
    Thanks
    Dipak

  • How to store and retriew .pdf or .doc using file uploader component

    hi,
    I want to store a .pdf / .doc file in the database and retiew it. I am using
    sun studio enterprise for EJB developing(sun application server as the container) , Oracel as DBMS and sun studio creator for frontend.
    kaushalya

    public String saveButton_action ()
            // TODO: Process the button click action. Return value is a navigation
            // case name where null will return to the same page.
            tagsDataProvider1.cursorLast ();
            //UploadedFile f = fileUpload1.getUploadedFile ();
            if (fileUpload1.getUploadedFile ()!=null)
                tagsDataProvider1.setValue ("attachment",fileUpload1.getUploadedFile().getBytes ());
                tagsDataProvider1.setValue ("attachmentfilename",fileUpload1.getUploadedFile().getOriginalName ());
                tagsDataProvider1.setValue ("attachmentcontenttype",fileUpload1.getUploadedFile().getContentType ());
            tagsDataProvider1.commitChanges ();
            return "home";
        }This servlet returns the data to the user unadulterated:
    * FileView.java
    * Created on October 6, 2005, 4:50 PM
    * To change this template, choose Tools | Options and locate the template under
    * the Source Creation and Management node. Right-click the template and choose
    * Open. You can then make changes to the template in the Source Editor.
    package docman;
    * @author USER
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.sql.DataSource;
    public class FileView  extends HttpServlet {
    String ct;
    String type;
        /** Creates a new instance of DisplayPicture */
        public FileView() {
        public void init(ServletConfig config) throws ServletException {
            super.init(config);
        public void destroy() {
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            String id=request.getParameter("id");
            type=request.getParameter("type");
            //String ct=request.getParameter("contenttype");
            //if ((ct==null)||(ct.equals(""))) {
                //ct="image/x-jpeg";
                //ct="image/bmp";
            System.out.println("FileView 1.0");
            System.out.println("requested file with ID: "+id+" content: "+ct+" Doctype:"+type);
            try {
                ServletOutputStream out = response.getOutputStream();
                byte[] f=this.getImage(id);
                response.setContentType(ct);
                out.write(f);
            } catch (Exception e) {
                System.out.println(e.getMessage());
                e.printStackTrace();
        /** Handles the HTTP <code>GET</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        /** Handles the HTTP <code>POST</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        /** Returns a short description of the servlet.
        public String getServletInfo() {
            return "Displays a picture from the database identified by a parameter IMAGEID";
        private byte[] getImage(String id) throws IOException {
            Statement sta=null;
            Connection con=null;
            ResultSet rs=null;
            byte[] result=null;
            try {
                Context initContext = new InitialContext();
                Context envCtx = (Context) initContext.lookup("java:comp/env");
                DataSource ds = null;
                try{
                     ds = (DataSource)envCtx.lookup("jdbc/xxxxx");
                }catch ( javax.naming.NameNotFoundException ex){
                    log("No context found for jdbc/xxxxx in java:comp/env Attempting to look it up in initial context");
                    ds = (DataSource)initContext.lookup("jdbc/xxxxx");
                Connection conn = ds.getConnection();
                sta = conn.createStatement();
                if(type==null){rs=sta.executeQuery("SELECT * FROM tags where tagid="+id);}
                else if (type.toLowerCase ().equals("tag")){rs=sta.executeQuery("SELECT * FROM tags where tagid="+id);}
                else if (type.toLowerCase ().equals("crewdoc")){rs=sta.executeQuery("SELECT * FROM crewdocumentation where docid="+id);}
                if (rs.next()) {
                    result=rs.getBytes("attachment");
                    ct=rs.getString ("attachmentcontenttype");
                    System.out.println("bytes returned : "+result.length);
                } else {
                    System.out.println("Could find image with the ID specified or there is a problem with the database connection");
                rs.close();
                sta.close();
                conn.close();
            } catch (Exception e) {
                log(e.getMessage());
                e.printStackTrace();
           // ByteArrayOutputStream output = new ByteArrayOutputStream();
            //output.write(result, 78, result.length-78);
            //output.flush();
            //output.close();
            //return output.toByteArray();
            return result;
    }I pinched both from examples i found on this forum using the search facility...
    And this hyperlink retreives the file:
    <ui:hyperlink binding="#{TagView.tagHyperlink}" id="tagHyperlink"
                                        text="#{TagView.tagsDataProvider.value['tags.attachmentfilename']}" url="/servlet/FileView/?id=%23%7BTagView.tagsDataProvider.value%5B'tags.tagid'%5D%7D+"&"+#{TagView.tagsDataProvider.value['tags.attachmentfilename']}"/>

  • Create accounting doc for consignment lending

    Hello,
    I'm implementing a consignment process in my company.
    I have a requirement that in the delivery, when issuing the goods,movement 631 (unrestricted to consignment stock) the movement will generate accounting documents ,so that value will move from the "finished goods" account to a new account "finished goods-consignment"
    How can I perform this requirement?
    Thanks,
    Dave

    As you are aware even in normal sales, only when you generate a commercial invoice, customer will get debited.  But in the consignment fill up process, you only generate F8 delivery related proforma and hence, your requirement cannot be achieved.
    G. Lakshmipathi

  • Barcode in MIRO and MR8M

    Dear SAP gurus,
    We´re having a problem with the barcode in logistic invoice verification, with the cancelation (MR8M) .
    We just want to register the barcode when the invoice is posting, but it shows in cancelation (MR8M) too. I think it´s because we have customized the BUS2081 object, but we don´t know how to solve it.
    Thanks in advance
    Kind Regards
    Markel

    Check [SAP Note 395043|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=395043]

  • How to enable "Users" to creat accounts/profiles?

    I've just got my A3000  yesterday, and I was trying to make new profile to be used by my kids and I could'nt
    I've seen tutorials on how to make it, but the fact is that there is no "Users" on settings!
    Thanks for your support.

    Lenovo removes multi-user functionality from its tablets for some reason.

Maybe you are looking for

  • Ipod seen by the OS but not itunes

    Itunes does not see my iPod. How can I fix this Dmesg output en1: promiscuous mode enable succeeded ARPT: 65.581387: MacAuthEvent en0   Auth result for: 18:62:2c:e2:90:37  MAC AUTH succeeded wlEvent: en0 en0 Link UP virtIf = 0 AirPort: Link Up on en0

  • How to include external .js file into .ear file using NetBean 5.5.1?

    is it possible to include external .js file into .ear file using NetBean 5.5.1? if not, then where should I placed the external .js file and how to write the src="xxx" element? (that is , how to write the path of "xxx"?) I am using JBOSS 4.2.2 GA as

  • DC not showing under "Network" in Windows Explorer of member server

    Hello Community     After spending an endless amount of time trying to create SharePoint Server farm and seeing an error message stating that I could not connect to the master, I found that that was not the problem at all.     The farm has Windows 20

  • Can't connect to Internet after update

    I've had this issue before but I was atleast able to get on iTunes & firefox. After this update my comp can't connect to the Internet period. I called my cable company & everything was working fine on their end. My modem communicates that it's linked

  • Vendor master related tables in SRM

    Hi, I am looking for the tables from where i can fetch certain vendor details like Gr based IV indicator, Inco terms, Purchase org etc. in the SRM system. I am transferring the vendor from ROS to SRM and i wanted to know which are the tables that get