SAP Function Modules

FSC_EVENT_3026 SAP Function module - FI-CA: Clarification Case for Balance Int. Calculation (Create Inst. Pla







FSC_EVENT_3026 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 FSC_EVENT_3026 into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM FSC_EVENT_3026 - FSC EVENT 3026





CALL FUNCTION 'FSC_EVENT_3026' "FI-CA: Clarification Case for Balance Int. Calculation (Create Inst. Plan)
  EXPORTING
    i_rfkn1 =                   " rfkn1
    i_wmode =                   " sy-tcode      ABAP Program, Current Transaction Code
  TABLES
    r_fkkop =                   " sfkkop
    s_fkkop =                   " sfkkop
*   z_fkkop =                   " sfkkop        Interest Items
*   g_fkkop =                   " fkkop         Charges Item
  EXCEPTIONS
    DO_NOT_SAVE = 1             "
    ONLY_WARNING = 2            "
    .  "  FSC_EVENT_3026

ABAP code example for Function Module FSC_EVENT_3026





The ABAP code below is a full code listing to execute function module FSC_EVENT_3026 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:
it_r_fkkop  TYPE STANDARD TABLE OF SFKKOP,"TABLES PARAM
wa_r_fkkop  LIKE LINE OF it_r_fkkop ,
it_s_fkkop  TYPE STANDARD TABLE OF SFKKOP,"TABLES PARAM
wa_s_fkkop  LIKE LINE OF it_s_fkkop ,
it_z_fkkop  TYPE STANDARD TABLE OF SFKKOP,"TABLES PARAM
wa_z_fkkop  LIKE LINE OF it_z_fkkop ,
it_g_fkkop  TYPE STANDARD TABLE OF FKKOP,"TABLES PARAM
wa_g_fkkop  LIKE LINE OF it_g_fkkop .

DATA(ld_i_rfkn1) = 'Check type of data required'.
DATA(ld_i_wmode) = 'some text here'.

"populate fields of struture and append to itab
append wa_r_fkkop to it_r_fkkop.

"populate fields of struture and append to itab
append wa_s_fkkop to it_s_fkkop.

"populate fields of struture and append to itab
append wa_z_fkkop to it_z_fkkop.

"populate fields of struture and append to itab
append wa_g_fkkop to it_g_fkkop. . CALL FUNCTION 'FSC_EVENT_3026' EXPORTING i_rfkn1 = ld_i_rfkn1 i_wmode = ld_i_wmode TABLES r_fkkop = it_r_fkkop s_fkkop = it_s_fkkop * z_fkkop = it_z_fkkop * g_fkkop = it_g_fkkop EXCEPTIONS DO_NOT_SAVE = 1 ONLY_WARNING = 2 . " FSC_EVENT_3026
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "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_i_rfkn1  TYPE RFKN1 ,
it_r_fkkop  TYPE STANDARD TABLE OF SFKKOP ,
wa_r_fkkop  LIKE LINE OF it_r_fkkop,
ld_i_wmode  TYPE SY-TCODE ,
it_s_fkkop  TYPE STANDARD TABLE OF SFKKOP ,
wa_s_fkkop  LIKE LINE OF it_s_fkkop,
it_z_fkkop  TYPE STANDARD TABLE OF SFKKOP ,
wa_z_fkkop  LIKE LINE OF it_z_fkkop,
it_g_fkkop  TYPE STANDARD TABLE OF FKKOP ,
wa_g_fkkop  LIKE LINE OF it_g_fkkop.

ld_i_rfkn1 = 'some text here'.

"populate fields of struture and append to itab
append wa_r_fkkop to it_r_fkkop.
ld_i_wmode = 'some text here'.

"populate fields of struture and append to itab
append wa_s_fkkop to it_s_fkkop.

"populate fields of struture and append to itab
append wa_z_fkkop to it_z_fkkop.

"populate fields of struture and append to itab
append wa_g_fkkop to it_g_fkkop.

SAP Documentation for FM FSC_EVENT_3026


Event 3026 is processed before you save an installment plan. In this event, you can define application- or customer-specific checks that ...See here for full SAP fm documentation

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 FSC_EVENT_3026 or its description.