G/L in Simulation Document of MIR7

Hi,
I want to park the incoming invoice through Tcode MIR7, When I enter the respective PO number then press the simulate button, the simulation document will come out.
Is this possible to auto generate the G/L acct and amount from one of condition record in PO (like special service charges  . . . )
Thank a lot  !

it looks ok no issues
if this condition is in Pricing procedure then this GL account will act as clearing account.
ie
at the gr this account will be CR and at the time of IV it will be DR. and this amiount will be added to material cost
If u want this as a expence account or u need to go to gl account and not to hit materia cost then its better to have it in tax procedure or at the time of MIR7 put it under GL tab
hope this helps

Similar Messages

  • Duplicate Invoices while saving document through MIR7

    Hello,
    I have to Post the invoice document through MIR7. This can be done through MIRO as well but the end user is using MIR7 for this purpose by parking and then posting the document.
    Problem here is that once user has posted the invoice document, he is able to post the same document again by just changing the reference document number field in MIR7, which leads duplicate  invoices.
    Here we need to control this by manually putting some conditions. I tried to find the exit and BADI but was able to get only one useful thing that is BADI "INVOICE_UPDATE".
    I am not sure about this BADI but in case if this BADI can be used then I want to know how?
    Also if not then what are the possible solutions to resolve the issue.
    I am open for any further inputs.
    Thanks,
    Harjeet

    Hello Pablo,
    In the BADI I am using table TI_RSEG_NEW, there I am getting values same as listed below for MIR7 but instead I am getting the values of BELNR as well. Here the second column is BELNR which is blank for MIRO.
                                                                                    1     110  |                |2011 |000001|0411000942|00010|00   |000000000009000029   |
        2     110  |                |2011 |000002|0411000942|00020|00   |000000000003000013   |
    Code for the same is:
    if sy-ucomm eq 'COMP'.
            select ebeln
                   ebelp
                   zekkn
                   gjahr
                   buzei
                   bewtp
              from ekbe into table i_ekbe
              for all entries in ti_rseg_new
              where ebeln = ti_rseg_new-ebeln
                and ebelp = ti_rseg_new-ebelp
                and zekkn = ti_rseg_new-zekkn
                and gjahr = ti_rseg_new-gjahr
                and buzei = ti_rseg_new-buzei+2(4).
          endif.
          if sy-ucomm = 'BU'.
            select ebeln
                   ebelp
                   zekkn
                   gjahr
                   belnr
                   buzei
                   bewtp
              from ekbe into table i_ekbe_belnr
              for all entries in ti_rseg_new
              where ebeln = ti_rseg_new-ebeln
                and ebelp = ti_rseg_new-ebelp
                and zekkn = ti_rseg_new-zekkn
                and gjahr = ti_rseg_new-gjahr
                and belnr = ti_rseg_new-belnr
                and buzei = ti_rseg_new-buzei+2(4).
            if sy-subrc eq 0.
              select belnr
                     gjahr
                     vgart
                from rbkp into table i_rbkp
                for all entries in i_ekbe_belnr
                where belnr = i_ekbe_belnr-belnr
                  and gjahr = i_ekbe_belnr-gjahr.
            endif.
          endif.
          loop at ti_rseg_new into wa_rseg_new.
            if sy-ucomm = 'COMP'.
              clear v_message.
              read table i_ekbe into wa_ekbe with key
                                             ebeln = wa_rseg_new-ebeln
                                             ebelp = wa_rseg_new-ebelp
                                             zekkn = wa_rseg_new-zekkn
                                             gjahr = wa_rseg_new-gjahr
                                             buzei = wa_rseg_new-buzei
                                             bewtp = 'T'.
              if sy-subrc eq 0.
                concatenate 'Purchasing Document Number' wa_ekbe-ebeln 'is already parked.' into v_message separated by space.
                message v_message type 'E'.
              else.
                clear v_message.
                read table i_ekbe into wa_ekbe with key
                                               ebeln = wa_rseg_new-ebeln
                                               ebelp = wa_rseg_new-ebelp
                                               zekkn = wa_rseg_new-zekkn
                                               gjahr = wa_rseg_new-gjahr
                                               buzei = wa_rseg_new-buzei
                                               bewtp = 'Q'.
                if sy-subrc eq 0.
                  concatenate 'Purchasing Document Number' wa_ekbe-ebeln 'is already Posted.' into v_message separated by space.
                  message v_message type 'E'.
                endif.
              endif.
            elseif sy-ucomm = 'BU'.
              clear v_message.
              read table i_ekbe_belnr into wa_ekbe_belnr with key
                                             ebeln = wa_rseg_new-ebeln
                                             ebelp = wa_rseg_new-ebelp
                                             zekkn = wa_rseg_new-zekkn
                                             gjahr = wa_rseg_new-gjahr
                                             belnr = wa_rseg_new-belnr
                                             buzei = wa_rseg_new-buzei
                                             bewtp = 'Q'.
              if sy-subrc eq 0.
    **          READ TABLE s_rbkp_new WITH KEY belnr = wa_ekbe_belnr-belnr
    **                                         gjahr = wa_ekbe_belnr-gjahr.
    **          IF sy-subrc EQ 0.
                read table i_rbkp into wa_rbkp with key belnr = s_rbkp_new-belnr
                                                        gjahr = s_rbkp_new-gjahr
                                                        vgart = s_rbkp_new-vgart.
                if sy-subrc eq 0.
                  concatenate 'Purchasing Document Number' wa_ekbe_belnr-ebeln 'is already posted.' into v_message separated by space.
                  message v_message type 'E'.
                endif.
    *          ENDIF.
              endif.
            endif.
          endloop.

  • Simulation document number ranges

    Hii,
    In EASISI,if i do simulation w/o billing order at that time its pick up current number range wht i assign ,but with same tcode if I do simulation with billing order its pick up different number range,
    pls hel p me on this from where its picking other number range for woth billing order in EASISI.
    Edited by: Pranav Solanki on May 30, 2011 6:18 PM

    Hi,
    The number range selection does not depend on whether it is with a billing order or without a billing order. If you are doing a billing simulation, you always need a billing order. Only in case of budget billing creation / recalculation, SAP internally simulates the billing without a billing order.
    If you are deailng with an unmetered customer, you do not need a meter reading. Only after creating MR order by tcode EL01, the billable billing order will be generated. In case of metered customer, you need a meter reading to make the billing order billable.
    Now in SAP the simulation document number range for billing are maintained according to document category in the following path:
    SPRO-> SAP Utilities ->Contract Billing ->Billing Execution ->Automatic Billing and Simulation-> Define Document Type Category for Simulation Documents
    You assign the number range for simulated billing document in the following path:
    SPRO-> SAP Utilities ->Contract Billing ->Billing Execution ->Automatic Billing and Simulation-> Define Document Types for Simulation Documents
    And you assign the number range for the simulated document types in the following path:
    SPRO-> SAP Utilities ->Contract Billing ->Billing Execution ->Automatic Billing and Simulation-> Define Number Ranges for Simulation Documents
    Please check according to the document category which are used in your case. It might be the case that you are triggering two types of simulation billing (example: consumption and final billing) for two different customers and due to that that it is using two different number ranges.
    Hope it helps.
    Thanks.
    Nirmalya

  • Third party remittance simulation document

    Hi Guys,
    When i open third party remittance simulation posting document in PCP0 and when double click on vendor to see the details of payments it shows me following error.
    "An explanation of some or all document lines is not possible".
    Here is the detail explanation:
    iagnosis
       The system cannot explain one or all document lines of this selection.
    rocedure
       This problem can be caused by either:
       o   A document line item being incomplete. For more information, see the
           error explanation.
       o   The posting run having been created before the remittance
           functionality supported "detailed info on TP runs". In this case,
           the system will not be able to show the selection correctly. As a
           result, the displayed items may not add up to the total sum of the
           selected items.
    We have selected the data on employee level on the config level.
    On PRD posting, we can see the detailed item.
    What could be the reason?
    Mayuresh

    Hi Mayuresh,
    I am also receiving this error message.  Were you able to view the simulation document?
    Is it missing any authorization objects?
    Thank you.
    Lynn

  • Post document in MIR7

    Hi there.
    I'm completely newbie in FICO matter. I've got a question.
    Where can I generate example document in MIR7? In our system 'Invoice doc. num' is 7* and 'invoice' is 6*. Which standard SAP transactions can be helpful?
    Greetings.

    Hi,
    Can you please post your query elaberately which enables us to give quicker response.
    MIR7 can be used for parking functionality.
    Check the below link: http://rwd.tennessee.edu/nav/training/mir7%20training%20session/file433/index.htm
    Regards,
    Satish Muvva.

  • How to distinguish what GR line item has been parked invoice document by MIR7

    Hi Experts,
    I use work flow to release MM invoice parked by MIR7. But I get trouble with PO with many GR line items (example: PO shipment cost, PO stationery ...) where we need to match consecutive many invoices from one PO. Normally, when matching invoice by MIRO, amount an quanlity will be minused, we can continue to match invoice by exist line items. But now, when we parked first invoice  to one line item (invoice not be released), amount and quanlity also display old value in second invoice  for this line item, user cannot distinguish what line item has been mached invoice and waiting released, this is difficult to working. Please give me solution to distinguish what line item has been parked invoice in t-code MIR7?
    Thanks

    I think what you describe is standar system behaviour. You nee to re-think how you use Invoice Parking  workflow - it is meant to manage incomplete documents, not for invoice release. You need to first post invoice doucument, only than open invoice qunatities will be updated and depending on tollerance limits and other setting release invoice for payment.

  • How to Deactivate 'Save  Parked Document' in MIR7

    Hi..Friends,
    In Transaction Code MIR7, how to Deactivate Main Menu -> Invoice Document ->'Save  Parked Document' .
    Thanks in Advance,
    N.G. Mahender.

    Hi Friends,
    I got my answer in in Mr.  Pablo Casamayor  referenced posts,
    thank U very much Mr.  Pablo Casamayor .
    Reference Links
    Deactivate 'SAVE" pushbotton in transaction MIRO
    Error message in case of One time vendor in MIR7 and MIR4.
    Tcode MIRO with BADI: MRM_HEADER_CHECK
    Regards,
    N.G. Mahender.

  • Parking and posting invoice document (MIR4 & MIR7)

    Hi Expert,
    We Have 2 different SAP User IDs (MMADMIN/FIADMIN) having same role and profile (SAP All Authorisation). The Functionality is like that we parked (MIR7) invoice document through MMADMIN and we need to post that one through FIADMIN (MIRO).
    Now we have Parked document through MMADMIN by MIR7 Transaction, But when I entered in MIRO transaction through FIADMIN and click on Show Worklist,
    We havenu2019t seen that list in FIADMIN.But list has been seen in MMADMIN.
    Thanks
    Lavlesh

    Hi,
    the purpose of worklist is little bit different. Here is a quote from [SAP documentation|http://help.sap.com/saphelp_erp2005/helpdata/EN/14/ce4738c8a64338e10000009b38f842/content.htm]
    You can use the worklist in the applications Enter Invoice and Park Invoice. The worklist displays invoice documents that you have already processed using the transactions Enter Invoice or Park Invoice, but which have not yet been posted and for which you are the last processor. The documents are displayed under the following nodes:
    Basically the user needs to be last processor. But SAP support entering invoice by more than one user. Again more info in [SAP documentation|http://help.sap.com/saphelp_erp2005/helpdata/EN/82/5c2f38e80d2805e10000009b38f889/content.htm]. User FIADMIN can also use report MIR5 to get all parked documents.
    Cheers

  • PARK INVOICE Documents MIR6 ,MIR7

    Hi Experts,
    I have around 200 Park Invoice documents. i would like to post 1 Park invoice . how can i search that exhact Park invoice. is there any option to search by material or by park invoie number or date or any...
    i m trying through MIR7 but there is no search option i got al the list only.
    and MIR6 also i got all the Parked Invoie numbers . there is no icon of SEARCH .
    is there any another way to search..
    Thanksin Advance,
    Anthyodaya.

    Hi,
    You can use MIR6.
    Specify the selection criteria and select the option as Held/Parked in entry type section
    You get the list of parked inovices.
    Click on the change icon infront of the invoice number and do the necessary modifications then post it to accounting.
    For your information you cannot post all the parked invoices at one time, since these invoices needs to be filled with the required information.
    Hope it helps you,
    Regards,
    VNR

  • Error while saving after changing the date of a parked invoice document in MIR7

    DUPREC:POS&INCOMINGINVOICE&(Invoice Number)(Fiscal Year)
    Message no. CD328

    Hi,
    Hope you are getting the dump Please check this note 1687903 - MIR4: Dump while saving parked invoice
    also check the dump at ST21 for the ABAP statement whare it is getting an issue and rectify the same .
    Regards,

  • MIR7 - Parking Document

    Hi Guru's,
    We are trying to park documents using MIR7 but as soon as we enter the company code we are getting the message
    'You have no authorization for Preliminary Postings in Company Code XYZ1"
    Please can someone help with this issue ?
    Thank you
    Best Regards,
    Yasmeen

    Hi,
    after getting the message do /nSU53 and check what authorization is misssing.
    Best regards.

  • MIRO document no. not generated showing error.

    Hi
    A document which was a cross company code transaction has been reversed through MIRO. now when we are going to do miro on same PO, system is showing new document no. and transaction is terminated in between and showing the message " document no. already exists.
    if any body have some idea of this problem.
    Regards
    Shiv

    If you have reversed the MIRO document using MR8M,
    When you trying to do invoice please do it with reference to the PO no not Invoice document no(MIR7 generated no).
    If you are doing MIR7 the a new parked document no to be created and u can use invoice document no and post miro.
    Better post with ref to the PO No.
    Regards,
    Alok

  • Problem related to MIR7 Display?

    Hi All,
    I have parked a document through mir7 and now when I am trying to see it through MIR7 again it is giving me the below mentioned message i.e.
    Invoice document 5105634725 cannot be processed further
    I have checked the PO as there is nothing  Blocked in it , if I go through purchase order history in PO and on clicking the same document it  gets open  but not directly through MIR7.
    Please Help

    Hi
    I tested in my Dev.server and finds OK.
    Steps I do
    Run MIR7
    Choose other Invoice document from menu
    Hold after processing the document.
    It deletes original parked inovice and creates new invoice document  with status posted

  • MIR7 after used activety

    Hi,
    MIR7 posting use for Document parking after pass the mir7 when it post finally in purchase reg reflect two entry for same GRN with tax but vendors account it post one time. how to process atual document after mir7 posting? pls help and guildline.

    Dear User,
    check the following ML doc
    839423.1
    559347.1
    330350.1
    Regards,
    Taj

  • Enhancement for MIR7 - MIRO

    Dear Friends,
      I want to call an enhancement when posting a parked invoice document in tcode MIRO. I want to do some processing after the document is saved in the database. This invoice document will be initially parked using tcode MIR7. I tried with various BADI's like INVOICE_UPDATE, FDCB_SUBBAS04 etc. I also tried user exits and BTE(Event -1050) but nothing seems to be working.
    If I directly post the invoice from tcode MIRO all the exits and BADI's are called, but when the document originates from MIR7(Parked) and then posted from tcode MIRO, then nothing is called.Even I tried the implicit enhancement in program SAPLMR1M, but this is called only when the invoice is posted from MIRO. Please help me if you have any ides.
    Rgds
    Sapient

    Hi,
    i´ve done a test in my system and after parking the document with MIR7 if i try to post the document with MIRO the flow of the program goes through badi INVOICE_UPDATE (e.g. method CHANGE_AT_SAVE).
    In badi INVOICE_UPDATE  the value of sy-tcode is MIR4.
    Best regards.
    Edited by: Pablo Casamayor on Jun 29, 2011 12:05 PM

Maybe you are looking for