SAP Function Modules

ISCD_BROK_SEARCH_ITAB_Q SAP Function module







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

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


Pattern for FM ISCD_BROK_SEARCH_ITAB_Q - ISCD BROK SEARCH ITAB Q





CALL FUNCTION 'ISCD_BROK_SEARCH_ITAB_Q' "
  EXPORTING
    i_ident =                   " stmident_bro
    i_fldinfo =                 " ibro0_fieldinfo
*   i_charval_srch =            " vonsl50_kk
*   i_amount_srch =             " vonwt_kk
*   i_date_srch =               " vondt_f05a
  IMPORTING
    e_seqno_found =             " sytabix
  TABLES
    it_bro_quentr =             " sibrqentry_dia
  EXCEPTIONS
    NOT_FOUND = 1               "
    CANCELED = 2                "
    .  "  ISCD_BROK_SEARCH_ITAB_Q

ABAP code example for Function Module ISCD_BROK_SEARCH_ITAB_Q





The ABAP code below is a full code listing to execute function module ISCD_BROK_SEARCH_ITAB_Q 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_seqno_found  TYPE SYTABIX ,
it_it_bro_quentr  TYPE STANDARD TABLE OF SIBRQENTRY_DIA,"TABLES PARAM
wa_it_bro_quentr  LIKE LINE OF it_it_bro_quentr .

DATA(ld_i_ident) = 'Check type of data required'.
DATA(ld_i_fldinfo) = 'Check type of data required'.
DATA(ld_i_charval_srch) = 'Check type of data required'.
DATA(ld_i_amount_srch) = 'Check type of data required'.
DATA(ld_i_date_srch) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_bro_quentr to it_it_bro_quentr. . CALL FUNCTION 'ISCD_BROK_SEARCH_ITAB_Q' EXPORTING i_ident = ld_i_ident i_fldinfo = ld_i_fldinfo * i_charval_srch = ld_i_charval_srch * i_amount_srch = ld_i_amount_srch * i_date_srch = ld_i_date_srch IMPORTING e_seqno_found = ld_e_seqno_found TABLES it_bro_quentr = it_it_bro_quentr EXCEPTIONS NOT_FOUND = 1 CANCELED = 2 . " ISCD_BROK_SEARCH_ITAB_Q
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "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_e_seqno_found  TYPE SYTABIX ,
ld_i_ident  TYPE STMIDENT_BRO ,
it_it_bro_quentr  TYPE STANDARD TABLE OF SIBRQENTRY_DIA ,
wa_it_bro_quentr  LIKE LINE OF it_it_bro_quentr,
ld_i_fldinfo  TYPE IBRO0_FIELDINFO ,
ld_i_charval_srch  TYPE VONSL50_KK ,
ld_i_amount_srch  TYPE VONWT_KK ,
ld_i_date_srch  TYPE VONDT_F05A .

ld_i_ident = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_bro_quentr to it_it_bro_quentr.
ld_i_fldinfo = 'Check type of data required'.
ld_i_charval_srch = 'Check type of data required'.
ld_i_amount_srch = 'Check type of data required'.
ld_i_date_srch = 'Check type of data required'.

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