Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem performance MIRO in the function MRM_DUPLICATE_INVOICE_CHECK

clayton_barbosa
Participant
0 Likes
641

Hi!

  I am a problem with perfomance in transaction MIRO.

    The problem is in the select of table rbkp in the function MRM_DUPLICATE_INVOICE_CHECK.

The select

* As there can be several hits, store the result of the database
* selection into an internal table.
  IF NOT t169p-xxblnr IS INITIAL AND i_xblnr CS string.
    SELECT * FROM rbkp INTO TABLE t_rbkp
             WHERE xblnr = i_xblnr AND lifnr = i_lifnr AND (code).
  ELSE.
    SELECT * FROM rbkp INTO TABLE t_rbkp
             WHERE lifnr = i_lifnr AND (code).
  ENDIF.

    In the table rbkp is with all index ative.

  

Can you suggest what could be the possible reasons behind the slow performance of MIRO??

Any suggestions for remedy??

Thanks.

1 ACCEPTED SOLUTION
Read only

former_member182371
Active Contributor
0 Likes
478
2 REPLIES 2
Read only

former_member182371
Active Contributor
0 Likes
479
Read only

0 Likes
478

Also look for (old) Note 134660 - Logistics Invoice Verification: Performance (RBKP) which suggest  to create some indexes (like LIFNR, BUKRS, XBLNR, if you create this one, then deactivate RBKP~1 in database).

Regards

Raymond