SAP ABAP IMG Activity FVD_LOS (BAdI: Create Loan)
Hierarchy
EA-FINSERV (Software Component) SAP Enterprise Extension Financial Services
   FS-CML (Application Component) Loans Management
     FVVD_AL_LOAN_ORIGINATION (Package) Loan Origination: Application Logic
IMG Activity
ID FVD_LOS BAdI: Create Loan  
Transaction Code S_AEN_10000843   (empty) 
Created on 20050401    
Customizing Attributes FVD_LOS   BAdI: Create Loan 
Customizing Activity FVD_LOS   BAdI: Create Loan 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name FVD_LOS    

Use

This Business Add-In (BAdI) is used in the Loans Management (FS CML) component.

The system calls the methods for this BAdI when it calculates and creates a loan in the context of loan origination, after it has transferred the values from the fields from the message type LoanCalculationQuery or LoanContractCreateRequest into the internal structure RLOS_INBOUND and enriched it with data from Customizing.

During loan calculation the system transfers the calculated values contained in the internal structure RLOS_OUTBOUND into the message type LoanCalculationResponse and sends them back to the origination system.

Requirements

For more information see the Prerequisites section of the documentation for each of the BAdI methods.

Standard settings

The Business Add-In is activated in the standard system. There is default coding available for the method HANDLE_MD. This is executed automatically.

The BAdI cannot be used for multiple purposes, and is not dependent on a filter.

Activities

After calling up the IMG activity, a dialog box appears, in which you can enter a name for the implementation.

If you have already made other implementations for this BAdI, another dialog box appears, in which the existing implementations are displayed. In this case, choose Create, and proceed as follows:

  1. In the dialog box, enter a name for the BAdI implementation in the Implementation field, and choose Create.

    The screen for creating BAdI implementations is now displayed.

  2. Enter a short text for the implementation in the Short text for implementation field.
  3. From the tab index, choose Interface.

    The Name of implemented class field is already filled on the tab page, as a class name was automatically assigned to the implementation when you named it.

  4. Save your entries, and assign the implementation to a development class.
  5. Place the cursor on the method, and double-click to enter method processing.
  6. Enter the code for the implementation between the statements method <Interface name> ~ <Name of method> and endmethod.
  7. Save and implement your code. Return to the Edit Implementation screen.
  8. Save the entries on the Edit Implementation screen.

    Note: You can also create an implementation, and then activate it at a later time. In such a case, end the processing stage at this point.

  9. Choose Activate

    The code you stored in the method will be run when the application program is executed.

Example

You want to add fields to the message type LoanContractCreateRequest, which you want to use to fill the field group keys 1 to 4 (SGR1 to SGR4) in VDARL (the master data table for Loans Management) with values from the loan origination system. A group key is a category for grouping loan positions, which you can define yourself. In the standard system, you cannot fill these fields in table VDARL with values from the origination system. If you want to fill these fields, however, you need to complete the following steps:

  1. Add the relevant fields to the message type LoanContractCreateRequest and the internal structure RLOS_INBOUND.
  2. Use the BAdI method HANDLE_MAP_CREA to assign the fields from the message type to the corresponding fields in the internal structure. Method HANDLE_MAP_CREA fills the relevant fields in the internal structure from the message type. This makes the values available for further processing.
  3. Use the BAdI Method HANDLE_MD to assign the additional fields from the internal structure RLOS_INBOUND of the export structure E_VDARL to the method. The system writes the values from this structure in the table VDARL when it creates a loan. In this way you have transferred the values from the additional fields from the origination system into the master data table VDARL in Loans Management.

See also

Methods:

Product Data

Condition Data

Business Partner Data

Mapping for Loan Calculation

Mapping for Loan Creation

Loan Calculation

Mapping for Response of Loan Calculation

Interfaces:

Loan Origination

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG FVD_LOS 0 HLA0100075 New business 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050426 
SAP Release Created in 600