SAP Function Modules

ISB_GENERATE_CF SAP Function module - IS-B: Erzeugt aus einem Darlehen den Cashflow







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

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


Pattern for FM ISB_GENERATE_CF - ISB GENERATE CF





CALL FUNCTION 'ISB_GENERATE_CF' "IS-B: Erzeugt aus einem Darlehen den Cashflow
* EXPORTING
*   i_date =                    " sy-datum      Datum für Simulation
*   sonline = ' '               "               Kennzeichen Online-Erfassung
  TABLES
*   it_jbixobj =                " jbixobj       FDÜ: Finanzobjekte (Gesamt)
    error_itab =                " sprot_x       Fehlertabelle
*   it_jbiupdar =               " jbiupdar      FDÜ: Darlehen
*   it_jbibepp =                " jbibepp       FDÜ: Zahlungsstrom (Auszahlung Typ 6)
*   it_vdarl =                  " vdarl         FDÜ: Finanzobjekte (VDARL schon vorhanden)
  EXCEPTIONS
    IMPORT_ERROR = 1            "               Fehlende ERROR_ITAB / Mehr als 1 Eingangstabelle
    .  "  ISB_GENERATE_CF

ABAP code example for Function Module ISB_GENERATE_CF





The ABAP code below is a full code listing to execute function module ISB_GENERATE_CF 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_it_jbixobj  TYPE STANDARD TABLE OF JBIXOBJ,"TABLES PARAM
wa_it_jbixobj  LIKE LINE OF it_it_jbixobj ,
it_error_itab  TYPE STANDARD TABLE OF SPROT_X,"TABLES PARAM
wa_error_itab  LIKE LINE OF it_error_itab ,
it_it_jbiupdar  TYPE STANDARD TABLE OF JBIUPDAR,"TABLES PARAM
wa_it_jbiupdar  LIKE LINE OF it_it_jbiupdar ,
it_it_jbibepp  TYPE STANDARD TABLE OF JBIBEPP,"TABLES PARAM
wa_it_jbibepp  LIKE LINE OF it_it_jbibepp ,
it_it_vdarl  TYPE STANDARD TABLE OF VDARL,"TABLES PARAM
wa_it_vdarl  LIKE LINE OF it_it_vdarl .

DATA(ld_i_date) = '20210129'.
DATA(ld_sonline) = 'some text here'.

"populate fields of struture and append to itab
append wa_it_jbixobj to it_it_jbixobj.

"populate fields of struture and append to itab
append wa_error_itab to it_error_itab.

"populate fields of struture and append to itab
append wa_it_jbiupdar to it_it_jbiupdar.

"populate fields of struture and append to itab
append wa_it_jbibepp to it_it_jbibepp.

"populate fields of struture and append to itab
append wa_it_vdarl to it_it_vdarl. . CALL FUNCTION 'ISB_GENERATE_CF' * EXPORTING * i_date = ld_i_date * sonline = ld_sonline TABLES * it_jbixobj = it_it_jbixobj error_itab = it_error_itab * it_jbiupdar = it_it_jbiupdar * it_jbibepp = it_it_jbibepp * it_vdarl = it_it_vdarl EXCEPTIONS IMPORT_ERROR = 1 . " ISB_GENERATE_CF
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_i_date  TYPE SY-DATUM ,
it_it_jbixobj  TYPE STANDARD TABLE OF JBIXOBJ ,
wa_it_jbixobj  LIKE LINE OF it_it_jbixobj,
ld_sonline  TYPE STRING ,
it_error_itab  TYPE STANDARD TABLE OF SPROT_X ,
wa_error_itab  LIKE LINE OF it_error_itab,
it_it_jbiupdar  TYPE STANDARD TABLE OF JBIUPDAR ,
wa_it_jbiupdar  LIKE LINE OF it_it_jbiupdar,
it_it_jbibepp  TYPE STANDARD TABLE OF JBIBEPP ,
wa_it_jbibepp  LIKE LINE OF it_it_jbibepp,
it_it_vdarl  TYPE STANDARD TABLE OF VDARL ,
wa_it_vdarl  LIKE LINE OF it_it_vdarl.

ld_i_date = '20210129'.

"populate fields of struture and append to itab
append wa_it_jbixobj to it_it_jbixobj.
ld_sonline = 'some text here'.

"populate fields of struture and append to itab
append wa_error_itab to it_error_itab.

"populate fields of struture and append to itab
append wa_it_jbiupdar to it_it_jbiupdar.

"populate fields of struture and append to itab
append wa_it_jbibepp to it_it_jbibepp.

"populate fields of struture and append to itab
append wa_it_vdarl to it_it_vdarl.

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