SAP ABAP IMG Activity SEPA_MANDATE_ASSIGN (BAdI: Assignment of a SEPA Mandate to an Item)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       FBZ (Package) Payments
IMG Activity
ID SEPA_MANDATE_ASSIGN BAdI: Assignment of a SEPA Mandate to an Item  
Transaction Code S_EBJ_45000020   (empty) 
Created on 20130717    
Customizing Attributes SEPA_MANDATE_ASSIGN   BAdI: Assignment of a SEPA Mandate to an Item 
Customizing Activity SEPA_MANDATE_ASSIGN   BAdI: Assignment of a SEPA Mandate to an Item 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SAPF110S_SEPA_MANDATE_ASSIGN    

Use

This Business Add-In (BAdI) is used in the Payment Transactions (FI-AR-AR-PT) component. You can use this BAdI to influence the assignment of different SEPA mandates to individual items.

For SEPA direct debits, the payment program determines a mandate which the customer has used to authorize the direct debit. An accounting clerk has already assigned this mandate to bank details in the customer master record, or entered in the CPD screen when posting with an individual payer. In addition, the user can enter the mandate in the document when posting the transaction, for example, in FI or SD.

If several mandates have been entered in the customer master record and no mandate is specified in the document, the payment program (F110) selects the first active mandate for this direct debit. You can implement this BAdI to influence this random selection. To determine the mandate, the system provides you in the interface with the transaction data for the item and master record for the customer.

Requirements

You are using payment program F110 for the payment processses in accounts receivable accounting, and want to assign mandates to individual items.

If you want to select the mandates at a more basic level, for example to separate first and subsequent direct debits, you can use BAdI: Influencing the Selection of SEPA Mandates.

Standard settings

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

Activities

After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.

If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:

  1. In the dialog box, enter a name for the implementation of the Add-In and choose Create.
    The system displays the initial screen for creating Business Add-In implementations.
  2. On this screen, enter a short description for your implementation in the Implementation Short Text field.
  3. If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
  4. Save your entries and assign the Add-In to a package.
  5. To edit a method, double-click its name.
  6. Enter your implementation code between the method <Interface Name>~<Name of Method>. and endmethod. statements.
  7. Save and activate your code. Navigate back to the Change Implementation screen.
    Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step:
  8. Choose Activate.
    When the application program is executed, the code you created is run through.

Example

The following use cases could occur for implementing the BAdI method ASSIGN:

  • You define a contract in the mandate, and also post the customer items with contract reference. You can use this BAdI to determine the suitable mandate for the item contract. You can find more information in the Instructions with Example Implementation.
  • You have created several customer master records for the same customer, but are not using the Alternative Payer. You can assign the same bank details and the same IBAN to each of these customers, but the mandate to only one master record. You can use this BAdI to determine the mandate for this customer, and also use for a different customer with a direct debit, providing the customer has the same bank details.
  • You have received a mandate from a customer, and entered it in the master record. You post items including specifying the data for the alternative payer (CPD screen). The IBAN you enter there matches the IBAN in the mandate. You do not create a new mandate when posting the items, but want the payment program to use the mandate in the master record for the direct debit. With this BAdI you can determine and assign the mandate from the master record.

See also

For information about how to implement BAdIs in the Enhancement Framework, see SAP Library for the SAP NetWeaver Platform on the SAP Help Portal at http://help.sap.com/nw_platform. Select a release and then choose Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework.

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