SAP ABAP IMG Activity MRM_PROPOSAL_DETERMI (BAdI: Get Default Values)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       MRM (Package) Appl.development R/3 decentralized invoice verification
IMG Activity
ID MRM_PROPOSAL_DETERMI BAdI: Get Default Values  
Transaction Code S_ACR_23000645   (empty) 
Created on 20060814    
Customizing Attributes MRM_PROPOSAL_DETERMI   BAdI: Get Default Values 
Customizing Activity MRM_PROPOSAL_DETERMI   BAdI: Get Default Values 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name MRM_PROPOSAL_DETERMINE    

Use

This Business Add-In (BAdI) is used in the Logistics Invoice Verification (MM-IV-LIV) component.

When you use the transactions of Logistics Invoice Verification, the system determines default values (quantity and amount) from the data of the purchase order (purchase order quantity and purchase order price) and the purchase order history (goods receipt quantity and invoice quantity) for the document items and account assignment items. You can use this BAdI to implement your own logic for determining default values, instead of the default values determined by the system.

In function module MRMBADI_PROPOSAL_DETERMINE, the system checks whether there is an active implementation of this BAdI. If there is, the system calls method AMNT_QUANT_PROPOSAL_DETERMINE. After the values are returned by method AMNT_QUANT_PROPOSAL_DETERMINE, various consistency checks are made in the function module (for example, a check for negative values). If consistency is violated by the generated values, the system writes a message to the message log and sets the quantities and amounts back to the value zero.

The transferred default values and other application information are used to automatically calculate the quantity in the purchase order price unit.

The default values displayed or posted are the ones you defined in the BAdI, not the ones determined by the system.

This Business Add-In is used by the following transactions:

  • Enter Invoice (MIRO)
  • Park Invoice (MIR7)
  • Logistics Invoice Verification # Verification in Background (MRBP and report RMBABG00)
  • Invoicing Plan Settlement (MRIS)
  • Evaluated Receipt Settlement (ERS) (MRRL: only for purchase order items for which non-valuated goods receipt is defined)
  • Automatic Settlement of Planned Delivery Costs (ERS) (MRDC: only for purchase order items for which non-valuated goods receipt is defined)

Note: You cannot use this BAdI for revaluation. In revaluation, the system uses the invoices already entered to determine quantities and determines the amount to be settled automatically, based on the difference value determined. There is no reason to manually interrupt this logic, so this option is not offered.

Requirements

You have activated business function MM, Multiple Account Assignmenty (LOG_MM_MAA_1).

Standard settings

  • As standard, this Business Add-In is not active.
  • This BAdI is not for multiple use.
  • This BAdI is not filter dependent.

Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Example

You have created a purchase order for which no goods receipt has been posted. In this case, the system does not generate default values, because there is no open goods receipt quantity. You can now use this BAdI to determine default values, using, for example, the ordered quantity and the net value from the purchase order.

Additional Hints

AMNT_QUANT_PROPOSAL_DETERMINE

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20080319 
SAP Release Created in 700