SAP Function Modules

ISU_BIPR_DX_INTERVALS_CLS SAP Function module - INTERNAL: Interval Creation via GPART for Bill Printout, Close FM







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

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


Pattern for FM ISU_BIPR_DX_INTERVALS_CLS - ISU BIPR DX INTERVALS CLS





CALL FUNCTION 'ISU_BIPR_DX_INTERVALS_CLS' "INTERNAL: Interval Creation via GPART for Bill Printout, Close FM
  EXPORTING
    i_aktyp =                   " aktyp_kk      Mass Activity Type
    i_laufd =                   " laufd_kk      Date Indicator
    i_laufi =                   " laufi_kk      Additional Identification Characteristic
    i_variant =                 " fkkdihdtmp-variant  Variant for Distribution into Intervals
  TABLES
    t_intervals =               " fkkdiposx
  CHANGING
    c_isize =                   " fkkdihdtmp-isize  Interval length: Number of records per interval
    .  "  ISU_BIPR_DX_INTERVALS_CLS

ABAP code example for Function Module ISU_BIPR_DX_INTERVALS_CLS





The ABAP code below is a full code listing to execute function module ISU_BIPR_DX_INTERVALS_CLS 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_intervals  TYPE STANDARD TABLE OF FKKDIPOSX,"TABLES PARAM
wa_t_intervals  LIKE LINE OF it_t_intervals .


SELECT single ISIZE
FROM FKKDIHDTMP
INTO @DATA(ld_c_isize).

DATA(ld_i_aktyp) = 'Check type of data required'.
DATA(ld_i_laufd) = 'Check type of data required'.
DATA(ld_i_laufi) = 'Check type of data required'.

SELECT single VARIANT
FROM FKKDIHDTMP
INTO @DATA(ld_i_variant).


"populate fields of struture and append to itab
append wa_t_intervals to it_t_intervals. . CALL FUNCTION 'ISU_BIPR_DX_INTERVALS_CLS' EXPORTING i_aktyp = ld_i_aktyp i_laufd = ld_i_laufd i_laufi = ld_i_laufi i_variant = ld_i_variant TABLES t_intervals = it_t_intervals CHANGING c_isize = ld_c_isize . " ISU_BIPR_DX_INTERVALS_CLS
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_c_isize  TYPE FKKDIHDTMP-ISIZE ,
ld_i_aktyp  TYPE AKTYP_KK ,
it_t_intervals  TYPE STANDARD TABLE OF FKKDIPOSX ,
wa_t_intervals  LIKE LINE OF it_t_intervals,
ld_i_laufd  TYPE LAUFD_KK ,
ld_i_laufi  TYPE LAUFI_KK ,
ld_i_variant  TYPE FKKDIHDTMP-VARIANT .


SELECT single ISIZE
FROM FKKDIHDTMP
INTO ld_c_isize.

ld_i_aktyp = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_intervals to it_t_intervals.
ld_i_laufd = 'Check type of data required'.
ld_i_laufi = 'Check type of data required'.

SELECT single VARIANT
FROM FKKDIHDTMP
INTO ld_i_variant.

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