ERP EhP4 causing dump in MIRO posting

We just implemented ERP EhP4 w/SAPAPPL603 and are now getting a dump when using MIRO to posting a vendor invoice against a PO. The error seems to involve new logic for multiple account assignment introduced with this EHP.  The dump is in include LMRMBWF02 of SAPLMRMBM, and indicates that data object S_MCRBPO does not contain component XHISTMA.  The lines in LMRMBWF02 are (starting at 772):
FORM bw_read_co_history_dyn_sub  USING   event  TYPE bwmode
                                 s_index_mcrbpo TYPE eval_iv_index_key_s
                                 s_mcrbpo       TYPE mcrbitm
                        CHANGING s_mcrbco       TYPE mcrbco.
  DATA: s_ekbe LIKE ekbe,
        s_ekbz LIKE ekbz,
        s_ekbz_ma TYPE ekbz_ma,                             "MAA EhP4
        s_ekbe_ma TYPE ekbe_ma,                             "MAA EhP4
        f_arewr TYPE ekbz-arewr,                            "MAA EhP4
        f_areww TYPE ekbz-areww.                            "MAA EhP4
CASE event.
    WHEN c_recompilation.
      IF s_mcrbco-xunpl = space.
Not for unplanned account assignments
        IF ( s_mcrbpo-exkbe = 'X' ).
Read PO history for goods item
          IF s_mcrbpo-xhistma = space.                      "MAA EhP4
...with the last line being the culprit.  The actual break in execution occurs at line 119 of SAPLMRMP, BESTELLUNG_BUCHEN where function MRM_BW_PO_HISTORY is called.
Had some other errors where tables weren't properly activated after the EHP installation, but here most everything seems to be activated properly.  The exception is table EKBE, which activates but with warnings about missing enhancement categories of tables or includes/subtypes for four active dependent tables.  That's the only lead I've got. 
Can't find any notes or other posts about this error, any ideas would be greatly appreciated!

Per the recommendation I've moved this thread to the ABAP forum:
ERP EHP4 causing dump when posting invoice in MIRO

Similar Messages

  • ERP EHP4 causing dump when posting invoice in MIRO

    I originally posted this in the MM forum but was advised to move it here.
    We just implemented ERP EhP4 w/SAPAPPL603 and are now getting a dump when using MIRO to posting a vendor invoice against a PO. The error seems to involve new logic for multiple account assignment introduced with this EHP. The dump is in include LMRMBWF02 of SAPLMRMBM, and indicates that data object S_MCRBPO does not contain component XHISTMA. The lines in LMRMBWF02 are (starting at 772):
    FORM bw_read_co_history_dyn_sub USING event TYPE bwmode
    s_index_mcrbpo TYPE eval_iv_index_key_s
    s_mcrbpo TYPE mcrbitm
    CHANGING s_mcrbco TYPE mcrbco.
    DATA: s_ekbe LIKE ekbe,
    s_ekbz LIKE ekbz,
    s_ekbz_ma TYPE ekbz_ma, "MAA EhP4
    s_ekbe_ma TYPE ekbe_ma, "MAA EhP4
    f_arewr TYPE ekbz-arewr, "MAA EhP4
    f_areww TYPE ekbz-areww. "MAA EhP4
    CASE event.
    WHEN c_recompilation.
    IF s_mcrbco-xunpl = space.
    Not for unplanned account assignments
    IF ( s_mcrbpo-exkbe = 'X' ).
    Read PO history for goods item
    IF s_mcrbpo-xhistma = space. "MAA EhP4
    ...with the last line being the culprit. The actual break in execution occurs at line 119 of SAPLMRMP, BESTELLUNG_BUCHEN where function MRM_BW_PO_HISTORY is called.
    Had some other errors where tables weren't properly activated after the EHP installation, but here most everything seems to be activated properly. The exception is table EKBE, which activates but with warnings about missing enhancement categories of tables or includes/subtypes for four active dependent tables. That's the only lead I've got.
    Can't find any notes or other posts about this error, any ideas would be greatly appreciated!

    Hi,
    the only thing i´ve found is this OSS Note:
    https://service.sap.com/sap/support/notes/1105679
    Best regards.

  • MIRO post - Invoice Reduction Scenario - Duplicate SPLIT_KEY in RBWS

    Hi Experts,
    I came across a challenging issue... seeking help from you...
    MIRO posting Vendor is Subjected to withholding tax & INVOICE REDUCTION scenario..... As per SAP Invoice Reduction scenarion, MIRO creates Invoice and subsequent debit memo for reduction amount.
    When User try to post the LIV document, transaction returns the " Express Termination error " due to Duplicate entries are accumulated for Table RBWS with same SPLIT_KEY (Grouping key for Splitting Vendor line item ) for 2 sets of withholding Tax entries. ST22 system dump happens in FM- MRM_WITHHOLDING_TAXES_SAVE. Couldn't able to find the reason for Duplicate SPLIT_KEY
    I Would like to understand significance of SPLIT_KEY in RBWS ? and
    Under what circumstance MIRO posting will have different SPLIT_KEY
    in RBWS for same MM document ??
    Any insight would be great help.
    Regards,
    Sri

    I agree, you can use the Credit Memo functionality in SAP, but I don't think you can print out a form once the credit memo form to send to the Vendor that states you are taking the debit.  It would also be useful if this process was automated.  The invoice is blocked, you determine that the Vendor is at fault, the Credit Memo is automatically posted and a Debit Memo is printed out.  Anyone aware of any bolt on software that might help?

  • MIRO Posti - Invoice Reduction Scenario - Duplicate SPLIT_KEY in Table RBWS

    Hi Experts,
    I came across a challenging issue... seeking help from you...
    MIRO posting Vendor is Subjected to withholding tax &  INVOICE REDUCTION scenario.....  As per SAP Invoice Reduction scenarion, MIRO creates Invoice and subsequent debit memo for reduction amount.
    When User try to post the LIV document,  transaction returns the " Express Termination error "  due to Duplicate entries are accumulated  for Table RBWS with same SPLIT_KEY (Grouping key for Splitting Vendor line item ) for 2 sets of withholding Tax entries.  system dump happens in FM- MRM_WITHHOLDING_TAXES_SAVE.  Couldn't able to find the reason for Duplicate SPLIT_KEY
    I Would like to understand significance of SPLIT_KEY in RBWS ?  and
    Under what circumstance MIRO posting will have different SPLIT_KEY
    in RBWS for same MM document ??
    Any insight would be great help.
    Regards,
    Sri

    Hi,
    1.- read this OSS Note:
    https://service.sap.com/sap/support/notes/1156325
    here it says:
    An active implementation of this BAdI excludes the manual entry of the withholding tax base and amount.
    You define the settings for the calculation in Financial Accounting Customizing under the following activity:
    Define Withholding Tax Type for Invoice Posting
    Have you done that?
    2.- read this OSS Note too:
    https://service.sap.com/sap/support/notes/1286713
    according to this note:
    When you create an implementation for the BAdI MRM_WT_SPLIT_UPDATE,
    fill the internal tables TE_RBVS[] and TE_RBWS[] as follows:
    TE_RBVS[] = I_RBKPV-H_RBVS[].
    TE_RBWS[] = I_RBKPV-H_RBWS[].
    it seems you should do the same.
    e.g.
    TE_RBWS[] = LT_RBWS[].
    3.- you´re filling internal table lt_lfbw but you´re not doing anything with it, why?
    Best regards.
    Edited by: Pablo Casamayor on Jan 9, 2010 12:53 PM

  • Exchange Rate difference posting during MIRO posting

    Hi ,
    We are facing an issue for exchange rate difference posting during MIRO.
    PO creation , GR posting & IR posting done on same date. Vendor in PO has different currency than company code currency. Exchange rate maintained in OB08 for this period is taken in PO.
    PO value & GR value is same. Due to raw material cost there was price difference posted during GR posting.
    (i.e. Raw material cost - GR/IR value = Price difference amount)
    During posting MIGO, 3 accounts got posted.
    Raw material cost account got debited & offset credit to GR/IR account & price difference account (in vendor & company code currency also)
    During posting MIRO, 4 accounts got posted.
    Vendor account got credited with GR/IR amount & offset to GR/IR account debit.
    Exchange rate difference account got credited & offset to price difference account (in company code currency only)
    Since PO creation , GR posting & IR posting done on same date, then why system has posted exchange rate difference account in local currency only during MIRO posting ?
    Your inputs appreciated.
    Thanks & Regards

    Hi,
    there is a setting in configuration of logistics invoice verification where you can control the calculation and posting of exchange rate differences. If you had the setting active that exchange rate differences are calculated against a planned exchange rate, that might lead to the kind of postings you describe. Please check.
    best regards,   Udo

  • Commitment item not picking while MIRO posting for Service entry sheet

    Hi to all,
    We have activated Fund Management in middle of the year where there were purchase order completed to till MIGO. When we do MIRO now system unable to pick commitment item from FMDERIVE.
    We have created Commitment item as 50/3 combination ( No budget check ) and assigned to GR/IR clearing account.
    We also activated trace in FMDERIVE and checked MIRO  posting and found that derivation is working properly but while posting it is triggering error.
    Some one advise me as it affected daily activities.
    Thanks & Regards,
    Y.Kiran Babu

    Hi,
    For the purchase order completed and the related MIGO created before FM was implemented, you need to run FMCN and FMCT.
    I will explain to you in detail all the information related to the matter.
    First of all, it seems to be in your PO that does not have FM account assignment (funds center and commitment item) in account assignment TAB. In addition, the error occurs usually also because in your SES the FM account assignment is missing.
    For GR and IR documents FM always takes the major part of the FM account assignment from the PO.
    You can fill these account assignments by using the programs RFFMCHAN/RFFMCHAT.
    FMCN/FMCT must be run for the first document in the chain, which is the PO in case you don't have a PR assigned to this PO or an earmarked fund document. If you have PR's assigned to the PO's please run FMCN/FMCT for the PR first.
    When executing the FMCT transaction, ALL documents selected in one group must be tested and processed successfully TOGETHER. If any one document fails, the ENTIRE group is shown as in error.
    Therefore, first step is to ensure that the reference PO has a valid FM account assignment and is updated in FM. This should be done by FMCN/FMCT and subsequent posting with FMN4N (see reconstruction note 189761).
    The SES itself might not be changed by FMCT. Therefore you should fulfill the FM account assignments in SES manually or with a custom program.
    Please check also your table FM01X. As an alternative solution, you can enable one of these flags in table FM01X, depending on your business needs:
    FLG_PO_PROTECT if you want to always inherit the fm account assignment from the reference PO and therefore skip FMDERIVE
    FLG_FMDERIVE_FORCE if you always want to force a call to fmderive in all cases
    FLG_SES_OVERWRITE in services, if you wish to overwrite the account assignment from the SES with the derived values from FMDERIVE.
    You can find more information about it in text part of notes 1146677 and 923672.
    FMDERIVE is skipped for GR/IR lines and the Commitment item is inherited from the PO regardless of whether or not the GR/IR line is FM relevant. This is SAP standard behavior.
    If you want to force the Commitment item to be derived from the GL account for the GR/IR line, you can use the FLG_FMDERIVE_FORCE flag as described in note 923672.  This will allow FMDERIVE to be called for these lines.  Please be sure to fully test this to ensure that FM account assignments that you do not want to be overwritten are not incorrectly derived.
    Bear in mind that for PO´s that does not have account assignment you should run FMCN/FMCT + FMN4N. For this you would need to check the flags and which one is more related to your needs. With the appropriate flag marked in FM01X (active with X) you should be able to run the transactions without any issue.
    Based on note 189761, after doing all the previous suggestions and the issue does not appear anymore, I suggest you to run the following programs:
    1) FMN0 for this PO/GR to see if the actual values are correct in FM table FMIFIIT (FM actual line items).
    2) Run report RFFMRC04 (transaction FMAF). The reconstruction programs always update the totals records in Funds Management. Therefore, you do not normally need to reconstruct the totals records.  However, if you suspect there are data inconsistencies in the totals records, you can analyze and correct these using the report RFFMRC04 (transaction FMAF).
    If you correct the totals records, you must do this before you reconstruct the assigned values (see below).
    3) Run reconstruction for AVC
    You can also reconstruct the assigned values using the following tools:
        o  Report BPINDX03 (transaction FMBV) for former budgeting
        o  Report RFFMAVC_REINIT (transaction FMAVCREINIT) for the Budget
           Control System (BCS)
    Make sure that no other system activities (postings, budgeting) are carried out during a reconstruction (commitment/actual or assigned values).
    I believe that this resolve your inquiry.
    Best Regards,
    Vanessa.

  • Error miro posting in third party sales order

    error in miro posting in third party sales order occured i.e, level F1 belongs to cash position(source symbol BNK)....
    pls solve the problem it is very urgent...

    Hi,
    Process
    VA01 - Create sales order (Schedule line CS and item category TAS) >> ME52N - PR is generated after save of sales order >> ME21N - Convert PR in to P.O >> Then vendor will send goods to customer and will send invoice to our company >> MIRO - Invoice receipt from vendor >> VF01 - Final invoice to customer
    When you enter vendor invoice then you come to know that vendor sent qty. same will be billed to customer(Billing relevance in item category should be F)
    Kapil

  • MIRO Posting against wrong payment,as against default vendor payment terms

    MIRO Posting against wrong payment,as against default vendor payment terms

    Hi,
    Go to MR8M, cancel that posting Document.
    Go to payment tab while MIRO, Give the payment terms or delete the payment terms.
    Now if u post as Invoice Gross - Document Type....system will ignore the discount and it will be come to effect at the time of payment.
    if u take as Invoice -NET, System Will consider those discount at time of MIRO.
    Hope Help U !
    Regards,
    Pardeep Malik

  • MIRO Posting Date Based On MM Period Or FI Period

    Dear Friends,
    In miro posting date control based on MM period wise or Fi period wise. Please give the solution.
    Thanks
    Saravanan

    miro posting date column controled by MMRV t.code or OB52 t.code
    Thanks
    Saravanan R

  • HA Installation of ERP EHP4 on AIX and DB2

    Dear All,
    I have to do a HA installation of ERP EHP4 system on AIX and DB2. I have followed the standard inst.guide from SAP but I want more information. Can anyone help me in understanding how to go about installing HA in detail. I would be very grateful if anyone can provide me a guide/document of what and how they have done. Can you pls explain me the steps.
    I also have few questions
    1. Shall i do a Central installation or distributed installation ( meaning CI, ASCS and DB in one server failover to other; CI,ASCS on one server and DB running on different server which in case of failure will move to other server)
    2. I know that OS team will do the cluster configuration but is there any other software to be bought for an automatic switchover in case of failures?
    3. Mainly, as a BASIS consultant what is our role in HA configuration?  What file systems should be defined and nfs mounted?
    Request you to take time and answer. Thanks in Advance.
    Lastly, i hope this is the right forum. If not , please let me know.

    Hi,
    >
    > 1. Shall i do a Central installation or distributed installation ( meaning CI, ASCS and DB in one server failover to other; CI,ASCS on one server and DB running on different server which in case of failure will move to other server)
    >
    I think you did not get basic of HA installation. Its neither central nor distributed installation. You need to install CI and Dialog Instance locally on 2 nodes. DB and ASCS instance on the disk that will move across 2 nodes.
    > 2. I know that OS team will do the cluster configuration but is there any other software to be bought for an automatic switchover in case of failures?
    >
    OS team will do file system config so that file system having ASCS and DB should move across 2 nodes. And rest of the file system should be local.
    After installation making cluster movement automatic both OS and SAP Basis guy have to work together.
    > 3. Mainly, as a BASIS consultant what is our role in HA configuration?  What file systems should be defined and nfs mounted?
    >
    I would say primary role in HA installation is of Basis guy. Because he is the person who will decide what approach will you take to install HA either active-active or active-passive. Its you on whom requirement OS guy will work.
    Thanks
    Sunny

  • If GR based IV checked for items without excise duty, MIRO posting hanging.

    Iam working in a client location, one of client business scenario is MIRO posting without excise (Only VAT or CST). for this case i have not maintained vendor excise details in J1ID.
    When a MIRO with reference to PO for an item ticked for "GR based IV" is posted, the system is hanging or is not posting and not issuing any message. Specifically for an item to which exicse is not applicable.
    please send your expert advice on this
    Edited by: J Sridharan on Mar 30, 2009 3:55 PM

    Thanks for your response
    this issue is further briefed below
    we are working for a indian client with CIN. most of the PO's which is created in SAP system with all Excise parameters and applicable taxes. further all PO's created with GR based IV check box enabled.
    now the issue is, in some of the purchases vendor is not applicable for excise, so there is no excise parameters in the PO, only tax is applicable. for this case we have not maintained vendor excise details in J1ID. but we have maintained material chapter id and CENVAT determination in J1ID. but as i mentioed earlier these PO's also with GR based IV check box enabled.
    If the PO is not excisable no Excise capturing and posting is required, for these types of PO's we are following the below steps
    1. Creation of PO with GR based IV check box enabled
    2. Goods Receipt without excise capturing
    3. Invoice verification - MIRO ( here system is not able to post the docuement because of GR based IV tick mark)
    i hope this will brief about my query.
    waiting for your response.

  • Excise duty 4% diff. while MIRO posting after FV12 condition record change

    Hi Gurus,
    Iam coming straight to the CRUX of the matter.
    Iam working for a client and facing a support problem.
    I got an issue that recently Government has reduced excise rate from 14% to 10%
    But PO already created with 14%.Later the condition record changed to 10% in FV12.
    then only  MIGO posted.
    while doing MIRO iam getting 4% difference value
    why is it so?
    Please help me in this regard.
    I also attached the screen shot in the link given below
    [http://rapidshare.com/files/184718013/MIRO__ED__14_.rtf.html]
    Regards,
    Anbu

    HI
    Check your PO creation date and condition record validity date (FV12) an MIRO posting date.
    Thank You

  • MIGO/MIRO Posting date to Display mode

    HI all,
    How can we set MIGO/MIRO Posting date field to Display mode.
    Can this be set for User specific.
    Please advise.Its Urgent.
    Regards,
    Jag

    hi
    for migo
    do following
    SPRO>MM>Inventory Mgmt/Physical Inventory-->Fields selection for goodsmovement Initial/Header Screens
    for miro
    U need to change the field selection for the posting keys used in MIRO.
    go to OB41, there for the posting key 31 u do the field selection.
    reward if useful
    regards
    kunal

  • MIRO posting issue

    Hi gurus,
    I have an issue with MIRO Posting..after when I entered the data and saved..It shows that Document Number is ben created..
    But when I tried to see the results in MIR4 it shows that document Number  doesn't exist..
    Even in table BSEG..It shows that the corresponding Document Number doesn't exist..
    Could you please suggest..
    Thanks
    Natasha SS..

    Look at OSS [Search for SAP Notes and SAP Knowledge Base Articles    |http://service.sap.com/notes] restricting on your system (if maintained in [System Data Maintenance|http://service.sap.com/system-data]) and look for keyword J_1B_NF_DOCUMENT_INSERT.
    There are some notes like [Note 948609 - J_1B_NF_DOCUMENT_INSERT: terminate with error 8B 105|https://service.sap.com/sap/support/notes/948609] but you must filter with your exact system level.
    Ask your your SAP System Administrator to give you access to OSS, or to perform the search. If no OSS notes solve your problem, raise a message via [Report a Product Error - Customer Messages|http://service.sap.com/message]
    Regards,
    Raymond

  • MIRO Posting Date should be greater than GRN posting Date

    Dear Expert,
    My MIRO posting Date 01.10.2010 and GRN posting Date 10.10.2010. How do I  restrict or validate this criteria?
    Regards,
    PK.

    hi
    you have to go for BADI for  posting date check
    take help of the abaper
    check note
    Note 1156325 - BAdIs in the Logistics Invoice Verification environment
    regards
    kunal

Maybe you are looking for