MIR4 problem

hi,
while posting mir4 i got following error massage Tax code B1 in procedure is invalid message no. FICORE704
Please help me to solve issue
Thankks & regards

Hi,
Which tax procedure you are using: TAXINN or TAXINJ?
If you are using TAXINJ, then 1st check  tax procedure TAXINJ is assigned to your plant on OX10 t.code. Now just cross check Tax code B1 created (FTXP)for your country with  tax procedure TAXINJ .Also see Tax code B1  declared as input tax & assigned to company code in t.code: OBCL  with tax procedure TAXINJ
If you are using TAXINN,1st check tax procedure TAXINN assigned to your Country in t.code: OBBG . . Now just cross check Tax code B1 created (FTXP)for your country with  tax procedure TAXINN & tax % should be maintained (FV11)with tax related condition type with Tax code B1.
Regards,
Biju K

Similar Messages

  • Deactivate Invoicing (MIR7 and MIR4) in a Purchase Order

    Hi SAP Experts,
    We have Purchase Orders (PO) for service (construction of building) to a vendor (contractor).  We are using the Goods Receipt (MIGO) to receive the percentage accomplishment.  However, we are using an ABAP program for invoicing instead of (MIR7 u2013 parking of invoice and MIR4 u2013 posting of invoice) since we pay a down payment to the vendor and we also have a retention amount.  Our problem is if we use the ABAP program for invoicing to process payment, we can process it again using MIR7 and MIR4, which may result to double payment to the contractor.  Is there a way where we can receive the goods (MIGO) and deactivate parking and posting of invoices (MIR7 and MIR4 respectively)?
    Thanks,
    Matt

    Hi vaishali gupta,
    Thanks for the advise.  We ticked the final invoice and it did not let us invoice the PO using MIR7 and MIR4 and our ABAP program.  However, we still need to issue an invoice using the ABAP program that we created.  Is there another way where we can use our ABAP program to invoice the PO and at the same time, cannot be invoiced using MIR7 and MIR4?
    Also, when we ticked the Final Invoice, when we made a goods receipt, the amount that was received became 0.00.
    Thanks,
    Matt
    Edited by: chuamatt on Mar 6, 2012 1:54 AM
    Edited by: chuamatt on Mar 6, 2012 2:09 AM
    Edited by: chuamatt on Mar 6, 2012 2:14 AM

  • Problem in Payment term field in invoice posting through MIRO

    We are using BAPI_INCOMINGINVOICE_CREATE FM to post the invoice in MIRO transaction.
    We are passing the following things in the BAPI FM
         CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE'
            EXPORTING
              headerdata       = l_wa_header
            IMPORTING
              invoicedocnumber = l_v_belnr
            TABLES
              itemdata         = l_i_itemdata
              accountingdata   = l_i_accountingdata
              taxdata          = l_i_taxdata
              return           = l_i_msg.
    Its successfully creating the invoices but when we check in MIR4 for the created invoice all the fields are populated properly except the 'Pmnt terms' field in the Payment Tab.
    Note we are getting the Number of days in payment tab
    and even the Basic data tab has values like 'Paymt terms : 30 Days net'
    What could be the possible problem?
    Please help me ASAP.
    Thanks in advance.
    Bhaskar R

    Hi,
    Currently, we are also facing the same problem.
    The payment term are not getting populated after posting the invoice.
    Could you please help to overcome the issue.
    Thank you.
    Warm Regards,
    Kalyani

  • How to get a copied transaction from MIR4 only to display??

    hi all, we have two transactions named ZZMIR4 and ZZZMIR4. Both are copies from MIR4, but the first one is for modifications and the other one is only to display....
    I use two registers in T169 to get this...ZZMIR4 has T169-TRTYP = 'V' so we can change invoices from this transaction and ZZZMIR4 has T169-TRTYP = 'A' so when you enter in this transaction you get the invoice in display mode...but the problem is that I can go through menus and do "edit-change" so I can modify the document anyway...
    What Can I do to force only display with ZZZMIR4???
    Perhaps using auth. object M_RECH_WRK??? if yes, then what activity I need to use to only allow display and what I can use to allow both change&display??? coz in se93 I set ZZZMIR4 with this object M_RECH_WRK and activity "03" but I can do "edit-change" anyway without problems....
    Thanks in advance...any tips would be much appreciated...

    Hi,
    in program SAPLMR1M, dynpro 600 in PAI you have MODULE exit_6000 AT EXIT-COMMAND.
    here you have:
        WHEN 'PPCH'.
          IF akt_typ = c_trtyp_a.
    *---------- clear existing buffer and read from database -------------*
    *---------- with lock for change                         -------------*
            MOVE rbkpv-rbstat TO f_rbstat_old.
            CALL FUNCTION 'MRM_PUFFER_REFRESH'.
            CALL FUNCTION 'MRM_INVOICE_READ'
              EXPORTING
                i_belnr     = rbkpv-belnr
                i_gjahr     = rbkpv-gjahr
                i_xselk     = 'X'
                i_buffer_on = space
                i_lock      = c_x
              IMPORTING
                e_rbkpv     = rbkpv
              EXCEPTIONS
                lock_error  = 1.
            IF sy-subrc NE 0.
              MESSAGE ID      sy-msgid
              TYPE    'I'
              NUMBER  sy-msgno
              WITH    sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ELSE.
              IF rbkpv-rbstat NE f_rbstat_old.
                MESSAGE i891 WITH rbkpv-belnr rbkpv-gjahr.
              ENDIF.
              CLEAR init.
              CLEAR init_6000.
              mir4_change = 'X'.
              LEAVE TO SCREEN 6000.
            ENDIF.
          ELSE.
            akt_typ = c_trtyp_a.
          ENDIF.
          CLEAR ok-code.
      ENDCASE.
    The key here seems to be variables init, init_6000 and mir4_change.
    See if you can do something so that when ok-code = 'PPCH' -> init = 'X', init_600 = 'X' and mir4_change = ' '.
    (Another option: you can create a variant for transaction ZZZMIR4 so that all fields remain as "display only").
    Best regards.
    Edited by: Pablo Casamayor on Nov 17, 2009 9:15 AM

  • Inbound INVOIC01 IDOC problem

    Hi,
    I am working on inboind INVOIC01 idoc and i am facing some problem in that.
    When IDOC comes in it is creating application document ( Status 53 ). When i go and check in transaction MIR4 the application document (Invoice) is created. But the problem is, the Invoice is not being posted.
    When i see the invoice document, there is not tax code and so the invoice does not show any amount. I do not know why it is happening.
    Can anyone let me know what are the all required segments / fields for inbound invoice interface. What are the all configuration options required for it.
    Thanks,

    Hi Srinivas,
    Thanks for your reply.
    I have already configured the tax code config and now invoices are created correctly.
    But now i have one scenario which i am tying to figure out how to get it right.
    Let say for example
    <u>Example - 1</u>
    - i have PO with 1 line iteam with Quantity = 1 and amount $100. ( we mostly have PO with quantity =1 and only thing matter is $ value )
    - If the incoming invoice also have quantity = 1 and amount $100, it works fine.
    - But the problem is, sometime vendor sends the partial invoice. that is, quantity = 1 but amount $ 50. There can be multiple invoice with same quantity as PO line item different amount at different time. In this case i am gettng "Account Determination" error ( message  M8 147 ). Is there any way i can make this scenarion work. 80% of invoices comes like this. Please let me know
    <u>Example - 2</u>
    - i have PO with 1 line iteam with Quantity = 2 and amount $200.
    - If the incoming invoice also have quantity = 1 and amount $100, it works fine. Also, if it has quant = 2 and amount $ 200 it works fine. In other workds the quantity / amount ratio in invoice matches that of PO, it works fine.
    - But in few case we will get invoice with quantity = 1 ( PO as quant = 2) with amount 80 ( infact, any value other than 100. PO has $200, $100 / 1 each ) and in this case invoice is failing too.
    Can you please let me know, is there any setting in Logistic Invoice Verification, to support these scenarios.
    Thanks
    Pratik

  • Brazil Notafiscal error at Display Invoice MIR4

    Hi Guys
    We have one problem with Brazil invoice
    MIRA  we are saving invoice ( We are entering NF type E1 in details tab)
    Later on MIR6 post the invoice documnet
    Once MIR4 dispaly invoice if you click notafiscal button
    Error saying that notafiscal document not created
    But If you are doing with MIRO  it will dispaly Notafiscal documnet
    Can any body help this

    https://service.sap.com/sap/support/notes/681289

  • URGENT ..userexit Idoc(inbound ) to mir4 tcode

    Am coding in two userexits (ZXM08U25, ZXM08U26 ) of INBOUND Idoc which will update t-code of mir4, and I am testing this using we19.
    some field ( field sgtxt of bseg table ) we forgot to send to( they did not give how to pass in functional specs  ) ….through IDoc .
    Just want to know how the mir4 tcode gets updated by we19 tool..Is it BDC or some direct abap coding UPDATE/MODIFY ?
    ERROR is 51 : Field Text is a required field for G/L account IP50 21300010.
    Functional specs are not stating that this particular text field … how ever specs stated other texts to pass in  internaltable . How can I solve this problem please.

    your transaction is posting accounting document and it looks like for the account you use a field-gorup is defined where text field is marked as mandatory.
    So you have 2 options here
    - either populate the text in your exit (it either can be passed in teh IDOC or you can populate it in your userexit based on your own logic - check with your functional analyst)
    - or change field-gorup for your account to make text field non-mandatory -> this obviously requires verification with your accounting folks and your functional analyst.

  • MIR4 transaction is giving ABAP Runtime Error

    Hi Experts,
    When I am trying to display the invoice in MIR4 and/or MIRO the system is generating ABAP runtime error.  DYNPRO_FIELD_CONVERSION.  This is in Version ECC 6.0.
    Short text
        Conversion error
    What happened?
        The current screen processing action was terminated since a situation
        occurred where the application could not continue.
        This is probably due to an error in the ABAP program or in the curren
        screen.
    What can you do?
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator
        You can use the ABAP dump analysis transaction ST22 to view and manag
        termination messages, in particular for long term reference.
    Error analysis
        The program has been interrupted and cannot resume.
        Program "SAPLMR1M" attempted to display fields on screen 6310.
        An error occurred during the conversion of this data.
    How to correct the error
        There was a conversion error in the output of fields to the screen.
        The formats of the ABAP output field and the screen field may not match.
        Some field types require more space on the screen than in the ABAP
        program. For example, a date output field on the screen requires two
        more characters than the corresponding field in the ABAP program. When
        the date is displayed on the screen, an error occurs resulting in this
        error message.
                      Screen name.............. "SAPLMR1M"
                      Screen number............ 6310
                      Screen field............. "DRSEG-REMNG"
                      Error text............... "FX015: Sign lost."
        Other data:
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
    1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
    2. Corresponding system log
       Display the system log by calling transaction SM21.
       Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
       In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    Please help us to solve this issue.
    Thanks and Regards,
    Havina
    Edited by: Havina Kutty on May 19, 2009 11:54 AM

    Hello,
    Please refer
    Note 503934 - MIRO: Dump DYNPRO_FIELD_CONVERSION -> field 'REMNG'
    Note 445853 - MIR4:more credit memos than invoices for service
    Note 393189 - MIRO: Incorrect update of BPMNG -> DYNPRO_FIELD_CONVERSION
    Regards,
    Ravi

  • Change log in MIR4

    Hi Everyone,
    We have an issue where someone from user team is doing some changes in screen layout of MIR4 t code by going to tab CONFIGURATION > ADMINISTRATION. That user is making fields invisible for this purpose but its impacting all the user acroos.
    Now we are not able to find that which user is doing that change so that we can ask him not to do any change again.
    Kindly help us on this.
    Regards
    Deepak Garg

    Hi Shridhar,
    thanks for reply. Yes we have done that but problem is that the user is again doing those fields invisible & we are not sure that who are the user doing these changes.
    We need to find the change log for this one where we can see the who has done these changes so that we can prevent this
    Kindly suggest
    Regards
    Deepak Garg

  • Authorizations for transactions MIR6/MIR4/MIR7

    Dear Reader
    Need help to setup a security rights for transactions mir6/mir4/mir7.  
    Here is the situation:                                                 
    We have setup an AP user profiles which allow the users to access      
    transaction mir6 (provide a list of outstanding PARK document)which will
    lead into transaction MIR4, but we only want this group of users have  
    the ability to park/view the document NO POSTING RIGHTS. I have set the
    security on object M_RECH_WRK to 3 (display only) than it will cause the
    the other problem which is the user can not access transaction MIR7, BUT
    if I grant access 77 (pre-enter) to object M_RECH_WRK than the users can
    access transaction MIR7 AND HE HAS RIGHTS TO POST IN TRANSACTION MIR4. 
    Please advice on how to go around with this security problem.
    Thanks in advance.
    Regards
    Tony

    Have you got answer to this question, can you try to restrict the user based on authority object "F_BKPF_KOA", Its being checked while trying to post.

  • Authorizations for transactions MIR6/MIR4

    Hi All,
    Need help to setup a security rights for transactions MIR6/MIR4.
    Here is the situation:
    We have setup an user profiles which allow the users to access
    transaction mir6 (provide a list of Invoide Documents(BELNR)which will
    lead into transaction MIR4, but we only want this group of users have
    the ability to Held the document NO POSTING RIGHTS. I have set user with role:
    MM_RELEASE_INVOICE users can access
    Please advice on how to go around with this security problem.
    Thanks in advance.
    Srii...

    Hi,
    one possible solution (though not tested personally) is via
    badi INVOICE_UPDATE and method CHANGE_AT_SAVE.
    Within this method you can do something like:
        CHECK sy-tcode = 'MIR4' OR sy-tcode = 'MIR6'.
    * Get OK-CODE of the main window
        CONSTANTS: c_okcode(17) TYPE c VALUE '(SAPLMR1M)OK-CODE'.
        FIELD-SYMBOLS: <fs_okcode> TYPE ANY.
        ASSIGN (c_okcode) TO <fs_okcode>.
        DATA: l_okcode LIKE sy-ucomm.
        CLEAR l_okcode.
        l_okcode = <fs_okcode>.
    * Read user authorizations with FM
    * SUSR_USER_AUTH_FOR_OBJ_GET
    IF USER NOT ALLOWED.
    * Do not allow posting
          CASE sy-ucomm.
            WHEN 'BU'.
              CLEAR <fs_okcode>.
              MESSAGE e061(zxxx) RAISING error_with_message.
          ENDCASE.
    ENDIF.
    Best regards.
    Edited by: Pablo Casamayor on Oct 31, 2008 7:51 PM

  • MIR4 TABLE EXTRACTION TO EXCEL

    Hi All Experts,
    Need your valuable input in scripting:
    I Want to download the from T.code MIR4 PO Ref Table to Excel. ( Amount, PUrchase Order & Order)
    Below Problems:
    a) How would the Script read the number of Rows in Table.
    b) How would values would be stored & saved in Excel.
    I am presently counting the number of rows and doing it manually in SAP GUI. ( The GUI has to count the number of rows in table and copy the details to excel)
    Sample:
    If Not IsObject(application) Then
       Set SapGuiAuto  = GetObject("SAPGUI")
       Set application = SapGuiAuto.GetScriptingEngine
    End If
    If Not IsObject(connection) Then
       Set connection = application.Children(0)
    End If
    If Not IsObject(session) Then
       Set session    = connection.Children(0)
    End If
    If IsObject(WScript) Then
       WScript.ConnectObject session,     "on"
       WScript.ConnectObject application, "on"
    End If
    session.findById("wnd[0]/usr/txtRBKP-BELNR").text = strInvRef
    session.findById("wnd[0]").sendVKey 0
    Cell1 = session.findById("wnd[0]/usr/subHEADER_AND_ITEMS:SAPLMR1M:6005/subITEMS:SAPLMR1M:6010/tabsITEMTAB/tabpITEMS_PO/ssubTABS:SAPLMR1M:6020/subITEM:SAPLMR1M:6310/tblSAPLMR1MTC_MR1M/txtDRSEG-WRBTR[1,0]").Text
    Cell2 = session.findById("wnd[0]/usr/subHEADER_AND_ITEMS:SAPLMR1M:6005/subITEMS:SAPLMR1M:6010/tabsITEMTAB/tabpITEMS_PO/ssubTABS:SAPLMR1M:6020/subITEM:SAPLMR1M:6310/tblSAPLMR1MTC_MR1M/txtDRSEG-WRBTR[1,1]").Text
    Cell3 = session.findById("wnd[0]/usr/subHEADER_AND_ITEMS:SAPLMR1M:6005/subITEMS:SAPLMR1M:6010/tabsITEMTAB/tabpITEMS_PO/ssubTABS:SAPLMR1M:6020/subITEM:SAPLMR1M:6310/tblSAPLMR1MTC_MR1M/txtDRSEG-WRBTR[1,2]").Text
    Cell4 = session.findById("wnd[0]/usr/subHEADER_AND_ITEMS:SAPLMR1M:6005/subITEMS:SAPLMR1M:6010/tabsITEMTAB/tabpITEMS_PO/ssubTABS:SAPLMR1M:6020/subITEM:SAPLMR1M:6310/tblSAPLMR1MTC_MR1M/txtDRSEG-WRBTR[1,3]").Text
    Cell5 = session.findById("wnd[0]/usr/subHEADER_AND_ITEMS:SAPLMR1M:6005/subITEMS:SAPLMR1M:6010/tabsITEMTAB/tabpITEMS_PO/ssubTABS:SAPLMR1M:6020/subITEM:SAPLMR1M:6310/tblSAPLMR1MTC_MR1M/txtDRSEG-WRBTR[1,4]").Text
    Cell6 = session.findById("wnd[0]/usr/subHEADER_AND_ITEMS:SAPLMR1M:6005/subITEMS:SAPLMR1M:6010/tabsITEMTAB/tabpITEMS_PO/ssubTABS:SAPLMR1M:6020/subITEM:SAPLMR1M:6310/tblSAPLMR1MTC_MR1M/txtDRSEG-WRBTR[1,5]").Text
    'Cell7 = session.findById("wnd[0]/usr/subHEADER_AND_ITEMS:SAPLMR1M:6005/subITEMS:SAPLMR1M:6010/tabsITEMTAB/tabpITEMS_PO/ssubTABS:SAPLMR1M:6020/subITEM:SAPLMR1M:6310/tblSAPLMR1MTC_MR1M/txtDRSEG-WRBTR[1,6]").Text
    session.findById("wnd[0]").sendVKey 12
    set ns1=createobject("WScript.shell")
    ns1.AppActivate "Microsoft Excel"
    objSheet.Cells(2, 2) = Cell1
    objSheet.Cells(3, 2) = Cell2
    objSheet.Cells(4, 2) = Cell3
    objSheet.Cells(5, 2) = Cell4
    objSheet.Cells(6, 2) = Cell5
    objSheet.Cells(7, 2) = Cell6
    'objSheet.Cells(8, 2) = Cell7

    Since nobody has given this question a try after this long I will give it a shot: I am not familiar with that transaction (don't even have access to it) but I think that if you are going to end up with your data in Excel anyway then why don't you just download all the data and do the calculations with Excel (the calculations are Excel's strength) with a Pivot Table or something like it.

  • Ac_system_flush message_type_x (MIR4 Tcode)

    hello,
    withe a specific user and document, I evoke a short dump when I try to use MIR4.
    can any one help me to avoid this problem?
    thanks.

       Client.............. 130
       User................ "USER"
       Language key........ "E"
       Transaction......... "MIR4 "
       Transaction ID...... "53FE683
       EPP Whole Context ID.... "53F
       EPP Connection ID....... 0000
       EPP Caller Counter...... 0
       Program............. "SAPLOLE
       Screen.............. "SAPLMR1
       Screen Line......... 0
       Debugger Active..... "none"
    Information on where terminated
        Termination occurred in the ABAP program "SAPLOLEA" - in "AC_SYSTEM_FLUSH".
        The main program was "SAPLMR1M ".
        In the source code you have the termination point in line 29
        of the (Include) program "LOLEAU02".

  • Hide post button in MIR4 from the active toolbar

    When we enter an invoice number in MIR4 the post button appears. Is there a way to hide this from the active toolbar? Config?
    Edited by: Eric Stelter on Dec 18, 2007 6:57 PM
    Edited by: Eric Stelter on Dec 18, 2007 6:58 PM

    I'm not talking about saving here. We use MIR7 to park our invoices using the save as complete button and then MIRO to post. The problem is once an invoice is adopted into MIR7 a post button appears and employees then can park and post from this transaction. We don't want this to happen. That's why we would like to hide the post button if possible.

  • A problem with threads

    I am trying to implement some kind of a server listening for requests. The listener part of the app, is a daemon thread that listens for connections and instantiates a handling daemon thread once it gets some. However, my problem is that i must be able to kill the listening thread at the user's will (say via a sto button). I have done this via the Sun's proposed way, by testing a boolean flag in the loop, which is set to false when i wish to kill the thread. The problem with this thing is the following...
    Once the thread starts excecuting, it will test the flag, find it true and enter the loop. At some point it will LOCK on the server socket waiting for connection. Unless some client actually connects, it will keep on listening indefinatelly whithought ever bothering to check for the flag again (no matter how many times you set the damn thing to false).
    My question is this: Is there any real, non-theoretical, applied way to stop thread in java safely?
    Thank you in advance,
    Lefty

    This was one solution from the socket programming forum, have you tried this??
    public Thread MyThread extends Thread{
         boolean active = true;          
         public void run(){
              ss.setSoTimeout(90);               
              while (active){                   
                   try{                       
                        serverSocket = ss.accept();
                   catch (SocketTimeoutException ste){
                   // do nothing                   
         // interrupt thread           
         public void deactivate(){               
              active = false;
              // you gotta sleep for a time longer than the               
              // accept() timeout to make sure that timeout is finished.               
              try{
                   sleep(91);               
              }catch (InterruptedException ie){            
              interrupt();
    }

Maybe you are looking for

  • How to change language input in X11 (Korean)

    Greetings community ! I'm a macbook pro (2012) user. I've recently been using X11 to launch window's games and had problems switching language ingame. (Default English to Korean). I've read couple of topics but yet I'm still lost, (I'm really bad wit

  • Need to generate a standard XML even without data

    Hi All, I am using the below query to generate XML Data. SELECT XMLSERIALIZE (CONTENT DATA AS CLOB) AS DATA            FROM (  SELECT XMLELEMENT (                              "RegionData",                              XMLAGG (                       

  • HP4700 print order duplex printing

    We have a 4 bin HP4700 color laserjet in the office. The top bin (2) has a printed letterehead. This works fine if you print single-sided (simplex) but if you tick the box to print Duplex in Finishing it prints the first page on the BACK of the paper

  • Dell M1330 BIOS Admin Password

    Check out the sticky post in this group from Dell; they can't help with that here anymore, you have to contact support.  

  • Why these Genius Mixes

    First I have to say I love the idea of the Genius Mix. I do use them quite often. However can anybody tell me what triggers iTunes to create a Genius Mix. For some reason iTunes creates Mixes for music I hardly listen to, and have just a few albums (