SAP ABAP IMG Activity IHC_BADI_IDOC_2_PN (BAdI: Change Payment Orders During Background Processing)
Hierarchy
EA-FINSERV (Software Component) SAP Enterprise Extension Financial Services
   FIN-FSCM-IHC (Application Component) FSCM In-House Cash
     FIN_IHC (Package) Payment Order In-House Cash
IMG Activity
ID IHC_BADI_IDOC_2_PN BAdI: Change Payment Orders During Background Processing  
Transaction Code S_PLN_62000797   (empty) 
Created on 20040719    
Customizing Attributes IHC_257KUA   BAdI: Change Payment Orders During Background Processing 
Customizing Activity IHC_BADI_IDOC_2_PN   BAdI: Change Payment Orders During Background Processing 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name IHC_BADI_IDOC_2_PN    

Use

This Business Add-In (BAdI) enables you to realize the interface IF_EX_IHC_BADI_IDOC_2_PN in the SAP In-House Cash (IHC) component. You can implement this interface to change the payment order details during the background processing.

The methods in this interface access the intermediate documents (IDocs) carrying the payment order details and allow you to change these values before the payment orders get created in the IHC.

Note: This Business Add-In will be called when an inbound IDoc is received in the In-House Cash system.

Requirements

Standard settings

This Add-In is independent of any filter values. The standard system does not provide any default implementations.

The standard system provides the interface IF_EX_IHC_BADI_IDOC. This interface contains the methods that you can use to incorporate your logic:

  • MODIFY_DATES - This method allows you to change the following values for payment orders:
    • Payer value date
    • Recipient value date
    • Date on which the payment is executed
  • MODIFY_TRNS_TYPE - Use this method to change the transaction type for the payment order and also to specify if the payment order must be posted.
  • CHANGE_PN_ON_SEGMENT - Implement this method if you want to access specific segments of the IDocs.
  • CHANGE_PN_ON_IDOC - Implement this method if you want to access all the payment order details.

Activities

Choose the menu path Tools -> ABAP Workbench -> Utilities -> Business Add-Ins -> Implementation. Alternatively, enter the transaction SE19

  1. Specify a name for the implementation and choose Create. A dialog box appears.

  2. Enter the name of the Add-In IHC_BADI_IDOC_2_PN. The maintenance screen for the Add-In appears.

    OR

    Alternatively, enter the Business Add-In definition transaction SE18 to reach its implementations. The menu contains an entry Implementation, which you can use to get an overview of the existing implementations. You can also create new implementations from here.

  3. Assign a name to the implementing class such as <Y_CL_IM_ IHC_BADI_IDOC_2_PN>. The maintenance screen for the Add-In appears.
  4. You can follow the naming convention:
    1. Namespace prefix (Y or Z)
    2. CL_ (for class)
    3. IM_ (for implementation)
    4. Name of the implementation
  5. Double-click the implementation class name to implement the method. The system starts the Class Builder editor.
  6. When you have finished incorporating the logic, activate your objects.

Example

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  20050530 
SAP Release Created in 500