SAP Function Modules

BKK_ARCHITEM_SELECTION SAP Function module - Select Archivable Payment Items







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

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


Pattern for FM BKK_ARCHITEM_SELECTION - BKK ARCHITEM SELECTION





CALL FUNCTION 'BKK_ARCHITEM_SELECTION' "Select Archivable Payment Items
  EXPORTING
    i_progn =                   " bkkd_progn
    i_progdate =                " bkkd_progdate
    i_progno =                  " bkkd_progno
    i_stepno =                  " bkkd_stepno
    i_applcatg =                " bkkmparunhd-applcatg  Application Type in Parallel Processing
    i_sortnomin =               " bkkd_sortobjno
    i_sortnomax =               " bkkd_sortobjno
    i_loopcnt1 =                " bkkmdispinterv-loopcnt1  Current Number of Loop Passes
  IMPORTING
    e_tab_objrel =              " bkkd_tab_objrel
    .  "  BKK_ARCHITEM_SELECTION

ABAP code example for Function Module BKK_ARCHITEM_SELECTION





The ABAP code below is a full code listing to execute function module BKK_ARCHITEM_SELECTION 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_tab_objrel  TYPE BKKD_TAB_OBJREL .

DATA(ld_i_progn) = 'Check type of data required'.
DATA(ld_i_progdate) = 'Check type of data required'.
DATA(ld_i_progno) = 'Check type of data required'.
DATA(ld_i_stepno) = 'Check type of data required'.

SELECT single APPLCATG
FROM BKKMPARUNHD
INTO @DATA(ld_i_applcatg).

DATA(ld_i_sortnomin) = 'Check type of data required'.
DATA(ld_i_sortnomax) = 'Check type of data required'.

SELECT single LOOPCNT1
FROM BKKMDISPINTERV
INTO @DATA(ld_i_loopcnt1).
. CALL FUNCTION 'BKK_ARCHITEM_SELECTION' EXPORTING i_progn = ld_i_progn i_progdate = ld_i_progdate i_progno = ld_i_progno i_stepno = ld_i_stepno i_applcatg = ld_i_applcatg i_sortnomin = ld_i_sortnomin i_sortnomax = ld_i_sortnomax i_loopcnt1 = ld_i_loopcnt1 IMPORTING e_tab_objrel = ld_e_tab_objrel . " BKK_ARCHITEM_SELECTION
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_e_tab_objrel  TYPE BKKD_TAB_OBJREL ,
ld_i_progn  TYPE BKKD_PROGN ,
ld_i_progdate  TYPE BKKD_PROGDATE ,
ld_i_progno  TYPE BKKD_PROGNO ,
ld_i_stepno  TYPE BKKD_STEPNO ,
ld_i_applcatg  TYPE BKKMPARUNHD-APPLCATG ,
ld_i_sortnomin  TYPE BKKD_SORTOBJNO ,
ld_i_sortnomax  TYPE BKKD_SORTOBJNO ,
ld_i_loopcnt1  TYPE BKKMDISPINTERV-LOOPCNT1 .

ld_i_progn = 'Check type of data required'.
ld_i_progdate = 'Check type of data required'.
ld_i_progno = 'Check type of data required'.
ld_i_stepno = 'Check type of data required'.

SELECT single APPLCATG
FROM BKKMPARUNHD
INTO ld_i_applcatg.

ld_i_sortnomin = 'Check type of data required'.
ld_i_sortnomax = 'Check type of data required'.

SELECT single LOOPCNT1
FROM BKKMDISPINTERV
INTO ld_i_loopcnt1.

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