SAP Function Modules

ISCD_BROK_OPEN_ITEM_CHECK SAP Function module







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

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


Pattern for FM ISCD_BROK_OPEN_ITEM_CHECK - ISCD BROK OPEN ITEM CHECK





CALL FUNCTION 'ISCD_BROK_OPEN_ITEM_CHECK' "
  EXPORTING
    is_bro_stmh =               " ibrostmh      ISCD: Broker Report - Header Data
*   is_bro_stmp =               " ibrostmp      ISCD: Broker Report - Item Data
    i_faedn_low =               " perdfrom_bro  Invoicing Period From (Broker Report)
    i_faedn_high =              " perdto_bro    Invoicing Period to (Broker Report)
    i_waers =                   " waers         Currency Key
    i_vtref_sel =               " c
    i_gpart_sel =               " c
*   ix_show_sppos = ' '         " xfeld
*   ix_delete_own_duplicates =   " xfeld
  TABLES
    it_fkkcl_partner =          " fkkcl         Clearing Items for Document in Contract Accounts Receivable and Payable
    it_fkkcl_broker =           " fkkcl         Clearing Items for Document in Contract Accounts Receivable and Payable
    et_fkkcl =                  " fkkcl         Clearing Items for Document in Contract Accounts Receivable and Payable
    et_deselect =               " sibr_t_deselitem  Broker Report - Items Excluded from Item Selection
    it_subposcat =              " sibrsubposcat  Broker Collections: Structure for Subcategory
    it_dimaparbrok =            " dimaparbrok
*   it_seltab =                 " iseltab       Interface to transfer selection criteria
*   it_agrtab =                 " iagrtab       Interface for transfer of clearing restrictions
*   it_buktab =                 " ibuktab       Transfer structure for company codes
*   it_dimaparbrok_all =        " dimaparbrok
    .  "  ISCD_BROK_OPEN_ITEM_CHECK

ABAP code example for Function Module ISCD_BROK_OPEN_ITEM_CHECK





The ABAP code below is a full code listing to execute function module ISCD_BROK_OPEN_ITEM_CHECK 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_fkkcl_partner  TYPE STANDARD TABLE OF FKKCL,"TABLES PARAM
wa_it_fkkcl_partner  LIKE LINE OF it_it_fkkcl_partner ,
it_it_fkkcl_broker  TYPE STANDARD TABLE OF FKKCL,"TABLES PARAM
wa_it_fkkcl_broker  LIKE LINE OF it_it_fkkcl_broker ,
it_et_fkkcl  TYPE STANDARD TABLE OF FKKCL,"TABLES PARAM
wa_et_fkkcl  LIKE LINE OF it_et_fkkcl ,
it_et_deselect  TYPE STANDARD TABLE OF SIBR_T_DESELITEM,"TABLES PARAM
wa_et_deselect  LIKE LINE OF it_et_deselect ,
it_it_subposcat  TYPE STANDARD TABLE OF SIBRSUBPOSCAT,"TABLES PARAM
wa_it_subposcat  LIKE LINE OF it_it_subposcat ,
it_it_dimaparbrok  TYPE STANDARD TABLE OF DIMAPARBROK,"TABLES PARAM
wa_it_dimaparbrok  LIKE LINE OF it_it_dimaparbrok ,
it_it_seltab  TYPE STANDARD TABLE OF ISELTAB,"TABLES PARAM
wa_it_seltab  LIKE LINE OF it_it_seltab ,
it_it_agrtab  TYPE STANDARD TABLE OF IAGRTAB,"TABLES PARAM
wa_it_agrtab  LIKE LINE OF it_it_agrtab ,
it_it_buktab  TYPE STANDARD TABLE OF IBUKTAB,"TABLES PARAM
wa_it_buktab  LIKE LINE OF it_it_buktab ,
it_it_dimaparbrok_all  TYPE STANDARD TABLE OF DIMAPARBROK,"TABLES PARAM
wa_it_dimaparbrok_all  LIKE LINE OF it_it_dimaparbrok_all .

DATA(ld_is_bro_stmh) = 'Check type of data required'.
DATA(ld_is_bro_stmp) = 'Check type of data required'.
DATA(ld_i_faedn_low) = 'Check type of data required'.
DATA(ld_i_faedn_high) = 'Check type of data required'.
DATA(ld_i_waers) = 'Check type of data required'.
DATA(ld_i_vtref_sel) = 'Check type of data required'.
DATA(ld_i_gpart_sel) = 'Check type of data required'.
DATA(ld_ix_show_sppos) = 'Check type of data required'.
DATA(ld_ix_delete_own_duplicates) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_fkkcl_partner to it_it_fkkcl_partner.

"populate fields of struture and append to itab
append wa_it_fkkcl_broker to it_it_fkkcl_broker.

"populate fields of struture and append to itab
append wa_et_fkkcl to it_et_fkkcl.

"populate fields of struture and append to itab
append wa_et_deselect to it_et_deselect.

"populate fields of struture and append to itab
append wa_it_subposcat to it_it_subposcat.

"populate fields of struture and append to itab
append wa_it_dimaparbrok to it_it_dimaparbrok.

"populate fields of struture and append to itab
append wa_it_seltab to it_it_seltab.

"populate fields of struture and append to itab
append wa_it_agrtab to it_it_agrtab.

"populate fields of struture and append to itab
append wa_it_buktab to it_it_buktab.

"populate fields of struture and append to itab
append wa_it_dimaparbrok_all to it_it_dimaparbrok_all. . CALL FUNCTION 'ISCD_BROK_OPEN_ITEM_CHECK' EXPORTING is_bro_stmh = ld_is_bro_stmh * is_bro_stmp = ld_is_bro_stmp i_faedn_low = ld_i_faedn_low i_faedn_high = ld_i_faedn_high i_waers = ld_i_waers i_vtref_sel = ld_i_vtref_sel i_gpart_sel = ld_i_gpart_sel * ix_show_sppos = ld_ix_show_sppos * ix_delete_own_duplicates = ld_ix_delete_own_duplicates TABLES it_fkkcl_partner = it_it_fkkcl_partner it_fkkcl_broker = it_it_fkkcl_broker et_fkkcl = it_et_fkkcl et_deselect = it_et_deselect it_subposcat = it_it_subposcat it_dimaparbrok = it_it_dimaparbrok * it_seltab = it_it_seltab * it_agrtab = it_it_agrtab * it_buktab = it_it_buktab * it_dimaparbrok_all = it_it_dimaparbrok_all . " ISCD_BROK_OPEN_ITEM_CHECK
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_is_bro_stmh  TYPE IBROSTMH ,
it_it_fkkcl_partner  TYPE STANDARD TABLE OF FKKCL ,
wa_it_fkkcl_partner  LIKE LINE OF it_it_fkkcl_partner,
ld_is_bro_stmp  TYPE IBROSTMP ,
it_it_fkkcl_broker  TYPE STANDARD TABLE OF FKKCL ,
wa_it_fkkcl_broker  LIKE LINE OF it_it_fkkcl_broker,
ld_i_faedn_low  TYPE PERDFROM_BRO ,
it_et_fkkcl  TYPE STANDARD TABLE OF FKKCL ,
wa_et_fkkcl  LIKE LINE OF it_et_fkkcl,
ld_i_faedn_high  TYPE PERDTO_BRO ,
it_et_deselect  TYPE STANDARD TABLE OF SIBR_T_DESELITEM ,
wa_et_deselect  LIKE LINE OF it_et_deselect,
ld_i_waers  TYPE WAERS ,
it_it_subposcat  TYPE STANDARD TABLE OF SIBRSUBPOSCAT ,
wa_it_subposcat  LIKE LINE OF it_it_subposcat,
ld_i_vtref_sel  TYPE C ,
it_it_dimaparbrok  TYPE STANDARD TABLE OF DIMAPARBROK ,
wa_it_dimaparbrok  LIKE LINE OF it_it_dimaparbrok,
ld_i_gpart_sel  TYPE C ,
it_it_seltab  TYPE STANDARD TABLE OF ISELTAB ,
wa_it_seltab  LIKE LINE OF it_it_seltab,
ld_ix_show_sppos  TYPE XFELD ,
it_it_agrtab  TYPE STANDARD TABLE OF IAGRTAB ,
wa_it_agrtab  LIKE LINE OF it_it_agrtab,
ld_ix_delete_own_duplicates  TYPE XFELD ,
it_it_buktab  TYPE STANDARD TABLE OF IBUKTAB ,
wa_it_buktab  LIKE LINE OF it_it_buktab,
it_it_dimaparbrok_all  TYPE STANDARD TABLE OF DIMAPARBROK ,
wa_it_dimaparbrok_all  LIKE LINE OF it_it_dimaparbrok_all.

ld_is_bro_stmh = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_fkkcl_partner to it_it_fkkcl_partner.
ld_is_bro_stmp = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_fkkcl_broker to it_it_fkkcl_broker.
ld_i_faedn_low = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_et_fkkcl to it_et_fkkcl.
ld_i_faedn_high = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_et_deselect to it_et_deselect.
ld_i_waers = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_subposcat to it_it_subposcat.
ld_i_vtref_sel = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_dimaparbrok to it_it_dimaparbrok.
ld_i_gpart_sel = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_seltab to it_it_seltab.
ld_ix_show_sppos = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_agrtab to it_it_agrtab.
ld_ix_delete_own_duplicates = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_buktab to it_it_buktab.

"populate fields of struture and append to itab
append wa_it_dimaparbrok_all to it_it_dimaparbrok_all.

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