SAP Function Modules

ISB_FDU_PERVALUES_CHECK_INIT SAP Function module - IS-B: Init-Baustein für FDÜ Periodenwerte (neue Architektur)







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

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


Pattern for FM ISB_FDU_PERVALUES_CHECK_INIT - ISB FDU PERVALUES CHECK INIT





CALL FUNCTION 'ISB_FDU_PERVALUES_CHECK_INIT' "IS-B: Init-Baustein für FDÜ Periodenwerte (neue Architektur)
  EXPORTING
    i_erkrs =                   " tkeb-erkrs    Ergebnisbereich
    i_dkalk =                   " sy-datum      Kalkulationsstichtag
    i_jkalk =                   " jbikapd-jkalk  IS-B: Kennzeichen, ob bei Übernahme kalkuliert werden soll
    i_repid =                   " kcd_repid     Senderstruktur
    i_newrun = 'X'              " c             Flag für 'neuer FDÜ Lauf'
    i_progname =                " trdir-name    FDÜ-Programmname
    ip_derivate_fo = ''         " jbikapd-janaus  Kalkulationsparameter, Anreicherung ausführen
  TABLES
    t_prot =                    " sprot_x       IS-B: Schnittstelle zur Fehlerbehandlung
    .  "  ISB_FDU_PERVALUES_CHECK_INIT

ABAP code example for Function Module ISB_FDU_PERVALUES_CHECK_INIT





The ABAP code below is a full code listing to execute function module ISB_FDU_PERVALUES_CHECK_INIT 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_t_prot  TYPE STANDARD TABLE OF SPROT_X,"TABLES PARAM
wa_t_prot  LIKE LINE OF it_t_prot .


SELECT single ERKRS
FROM TKEB
INTO @DATA(ld_i_erkrs).

DATA(ld_i_dkalk) = '20210129'.

DATA(ld_i_jkalk) = some text here
DATA(ld_i_repid) = '20210129'.
DATA(ld_i_newrun) = '20210129'.

SELECT single NAME
FROM TRDIR
INTO @DATA(ld_i_progname).


DATA(ld_ip_derivate_fo) = some text here

"populate fields of struture and append to itab
append wa_t_prot to it_t_prot. . CALL FUNCTION 'ISB_FDU_PERVALUES_CHECK_INIT' EXPORTING i_erkrs = ld_i_erkrs i_dkalk = ld_i_dkalk i_jkalk = ld_i_jkalk i_repid = ld_i_repid i_newrun = ld_i_newrun i_progname = ld_i_progname ip_derivate_fo = ld_ip_derivate_fo TABLES t_prot = it_t_prot . " ISB_FDU_PERVALUES_CHECK_INIT
IF SY-SUBRC EQ 0. "All OK 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_erkrs  TYPE TKEB-ERKRS ,
it_t_prot  TYPE STANDARD TABLE OF SPROT_X ,
wa_t_prot  LIKE LINE OF it_t_prot,
ld_i_dkalk  TYPE SY-DATUM ,
ld_i_jkalk  TYPE JBIKAPD-JKALK ,
ld_i_repid  TYPE KCD_REPID ,
ld_i_newrun  TYPE C ,
ld_i_progname  TYPE TRDIR-NAME ,
ld_ip_derivate_fo  TYPE JBIKAPD-JANAUS .


SELECT single ERKRS
FROM TKEB
INTO ld_i_erkrs.


"populate fields of struture and append to itab
append wa_t_prot to it_t_prot.
ld_i_dkalk = '20210129'.

ld_i_jkalk = some text here
ld_i_repid = '20210129'.
ld_i_newrun = '20210129'.

SELECT single NAME
FROM TRDIR
INTO ld_i_progname.


ld_ip_derivate_fo = some text here

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