SAP Function Modules

AFODR_LO_CUST_EXIT_CALL SAP Function module - Ruft User Exit in Ableitung FO - Darlehen







AFODR_LO_CUST_EXIT_CALL is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name AFODR_LO_CUST_EXIT_CALL into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: CFADLO
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM AFODR_LO_CUST_EXIT_CALL - AFODR LO CUST EXIT CALL





CALL FUNCTION 'AFODR_LO_CUST_EXIT_CALL' "Ruft User Exit in Ableitung FO - Darlehen
  EXPORTING
    i_datastr =                 " rmdr_rmda     Analysestruktur
    i_step_id =                 " kedr_id       Benutzerdefinierter Identifizierer
    i_date =                    " sy-datum      Ableitungsdatum
    i_loan =                    " rmdlo_lo      Daten des Darlehens
    i_rm_char =                 "               Analysemerkmale in Struktur I75xxxx
    i_fob =                     " rmdr_fob      Parameter des Finanzobjekts
    i_temp =                    " rmdr_temp     Temporäre Hilfsfelder
  IMPORTING
    e_rm_char =                 "               Rückgabe: Analysemerkmale in Struktur I75xxxx
    e_fob =                     " rmdr_fob      Rückgabe: Parameter des Finanzobjekts
    e_temp =                    " rmdr_temp     Rückgabe: Temporäre Hilfsfelder
    e_exit_is_active =          " rmdr_bool
    e_failed =                  " rmdr_bool
  EXCEPTIONS
    DERIVATION_FAILED = 1       "               Ableitung fehlgeschlagen
    .  "  AFODR_LO_CUST_EXIT_CALL

ABAP code example for Function Module AFODR_LO_CUST_EXIT_CALL





The ABAP code below is a full code listing to execute function module AFODR_LO_CUST_EXIT_CALL including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).

DATA:
ld_e_rm_char  TYPE STRING ,
ld_e_fob  TYPE RMDR_FOB ,
ld_e_temp  TYPE RMDR_TEMP ,
ld_e_exit_is_active  TYPE RMDR_BOOL ,
ld_e_failed  TYPE RMDR_BOOL .

DATA(ld_i_datastr) = 'Check type of data required'.
DATA(ld_i_step_id) = 'Check type of data required'.
DATA(ld_i_date) = '20210129'.
DATA(ld_i_loan) = '20210129'.
DATA(ld_i_rm_char) = 'some text here'.
DATA(ld_i_fob) = '20210129'.
DATA(ld_i_temp) = '20210129'. . CALL FUNCTION 'AFODR_LO_CUST_EXIT_CALL' EXPORTING i_datastr = ld_i_datastr i_step_id = ld_i_step_id i_date = ld_i_date i_loan = ld_i_loan i_rm_char = ld_i_rm_char i_fob = ld_i_fob i_temp = ld_i_temp IMPORTING e_rm_char = ld_e_rm_char e_fob = ld_e_fob e_temp = ld_e_temp e_exit_is_active = ld_e_exit_is_active e_failed = ld_e_failed EXCEPTIONS DERIVATION_FAILED = 1 . " AFODR_LO_CUST_EXIT_CALL
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_e_rm_char  TYPE STRING ,
ld_i_datastr  TYPE RMDR_RMDA ,
ld_e_fob  TYPE RMDR_FOB ,
ld_i_step_id  TYPE KEDR_ID ,
ld_e_temp  TYPE RMDR_TEMP ,
ld_i_date  TYPE SY-DATUM ,
ld_e_exit_is_active  TYPE RMDR_BOOL ,
ld_i_loan  TYPE RMDLO_LO ,
ld_e_failed  TYPE RMDR_BOOL ,
ld_i_rm_char  TYPE STRING ,
ld_i_fob  TYPE RMDR_FOB ,
ld_i_temp  TYPE RMDR_TEMP .

ld_i_datastr = '20210129'.
ld_i_step_id = '20210129'.
ld_i_date = '20210129'.
ld_i_loan = '20210129'.
ld_i_rm_char = 'some text here'.
ld_i_fob = '20210129'.
ld_i_temp = '20210129'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name AFODR_LO_CUST_EXIT_CALL or its description.