SAP Function Modules

FKK_BIX_BIT_SELECT SAP Function module







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

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


Pattern for FM FKK_BIX_BIT_SELECT - FKK BIX BIT SELECT





CALL FUNCTION 'FKK_BIX_BIT_SELECT' "
* EXPORTING
*   irt_gpart =                 " fkk_rt_gpart
*   irt_vkont =                 " fkk_rt_vkont
*   irt_makey =                 " fkk_rt_makey
*   irt_vtref =                 " fkk_rt_vtref
*   irt_subap =                 " fkk_rt_subap
*   irt_ppacc =                 " fkk_rt_ppacc
*   irt_prepaid =               " fkk_rt_prepaid
*   irt_mdcat =                 " fkk_rt_mdcat
*   irt_srctatype =             " fkk_rt_srctatype
*   irt_srctaid =               " fkk_rt_srctaid
*   irt_bitcat =                " fkk_rt_bitcat
*   irt_bitstatus =             " fkk_rt_bitstatus
*   irt_bitrectype =            " fkk_rt_bitrectype
*   irt_subprocess =            " fkk_rt_subprocess
*   irt_bittype =               " fkk_rt_bittype
*   irt_bitdate =               " fkk_rt_bitdate
*   irt_bittime =               " fkk_rt_bittime
*   irt_bitcrdate =             " fkk_rt_bitcrdate
*   irt_bill_first =            " fkk_rt_bill_first
*   irt_billcrdate =            " fkk_rt_billcrdate
*   irt_billdocno =             " fkk_rt_billdocno
*   irt_invdocno =              " fkk_rt_invdocno
*   i_bit4_uninvoiced_req =     " uninvoiced_requested_kk
*   i_bit4_invoiced_req =       " invoiced_requested_kk
*   irt_bitreversal =           " fkk_rt_bitreversal
*   irt_bitreversed =           " fkk_rt_bitreversed
*   irt_billreversal =          " fkk_rt_billreversal
*   irt_billreversed =          " fkk_rt_billreversed
*   it_further_sel =            " fkk_mad_twherel
*   i_maxrec = '10000'          " ddshmaxrec
*   i_no_collect =              " xfeld
*   i_strucname =               " strucname
  IMPORTING
    et_bit_it =                 " fkkbixbit_it_all_tab
    et_bit_py =                 " fkkbixbit_py_all_tab
    et_bit_tx =                 " fkkbixbit_tx_all_tab
    et_bit_tt =                 " fkkbixbit_tt_all_tab
    et_bit0_it =                " fkkbixbit0_it_all_tab
    et_bit1_it =                " fkkbixbit0_it_all_tab
    et_bit2_it =                " fkkbixbit2_it_all_tab
    et_bit3_it =                " fkkbixbit2_it_all_tab
    et_bit4_it =                " fkkbixbit4_it_all_tab
    et_bit4_it_uninvoiced =     " fkkbixbit4_it_all_tab
    et_bit4_it_invoiced =       " fkkbixbit4_it_all_tab
    et_bit_it_any =             " any table
  EXCEPTIONS
    NOT_FOUND = 1               "
    .  "  FKK_BIX_BIT_SELECT

ABAP code example for Function Module FKK_BIX_BIT_SELECT





The ABAP code below is a full code listing to execute function module FKK_BIX_BIT_SELECT 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_et_bit_it  TYPE FKKBIXBIT_IT_ALL_TAB ,
ld_et_bit_py  TYPE FKKBIXBIT_PY_ALL_TAB ,
ld_et_bit_tx  TYPE FKKBIXBIT_TX_ALL_TAB ,
ld_et_bit_tt  TYPE FKKBIXBIT_TT_ALL_TAB ,
ld_et_bit0_it  TYPE FKKBIXBIT0_IT_ALL_TAB ,
ld_et_bit1_it  TYPE FKKBIXBIT0_IT_ALL_TAB ,
ld_et_bit2_it  TYPE FKKBIXBIT2_IT_ALL_TAB ,
ld_et_bit3_it  TYPE FKKBIXBIT2_IT_ALL_TAB ,
ld_et_bit4_it  TYPE FKKBIXBIT4_IT_ALL_TAB ,
ld_et_bit4_it_uninvoiced  TYPE FKKBIXBIT4_IT_ALL_TAB ,
ld_et_bit4_it_invoiced  TYPE FKKBIXBIT4_IT_ALL_TAB ,
ld_et_bit_it_any  TYPE ANY TABLE .

DATA(ld_irt_gpart) = 'Check type of data required'.
DATA(ld_irt_vkont) = 'Check type of data required'.
DATA(ld_irt_makey) = 'Check type of data required'.
DATA(ld_irt_vtref) = 'Check type of data required'.
DATA(ld_irt_subap) = 'Check type of data required'.
DATA(ld_irt_ppacc) = 'Check type of data required'.
DATA(ld_irt_prepaid) = 'Check type of data required'.
DATA(ld_irt_mdcat) = 'Check type of data required'.
DATA(ld_irt_srctatype) = 'Check type of data required'.
DATA(ld_irt_srctaid) = 'Check type of data required'.
DATA(ld_irt_bitcat) = 'Check type of data required'.
DATA(ld_irt_bitstatus) = 'Check type of data required'.
DATA(ld_irt_bitrectype) = 'Check type of data required'.
DATA(ld_irt_subprocess) = 'Check type of data required'.
DATA(ld_irt_bittype) = 'Check type of data required'.
DATA(ld_irt_bitdate) = 'Check type of data required'.
DATA(ld_irt_bittime) = 'Check type of data required'.
DATA(ld_irt_bitcrdate) = 'Check type of data required'.
DATA(ld_irt_bill_first) = 'Check type of data required'.
DATA(ld_irt_billcrdate) = 'Check type of data required'.
DATA(ld_irt_billdocno) = 'Check type of data required'.
DATA(ld_irt_invdocno) = 'Check type of data required'.
DATA(ld_i_bit4_uninvoiced_req) = 'Check type of data required'.
DATA(ld_i_bit4_invoiced_req) = 'Check type of data required'.
DATA(ld_irt_bitreversal) = 'Check type of data required'.
DATA(ld_irt_bitreversed) = 'Check type of data required'.
DATA(ld_irt_billreversal) = 'Check type of data required'.
DATA(ld_irt_billreversed) = 'Check type of data required'.
DATA(ld_it_further_sel) = 'Check type of data required'.
DATA(ld_i_maxrec) = 'Check type of data required'.
DATA(ld_i_no_collect) = 'Check type of data required'.
DATA(ld_i_strucname) = 'Check type of data required'. . CALL FUNCTION 'FKK_BIX_BIT_SELECT' * EXPORTING * irt_gpart = ld_irt_gpart * irt_vkont = ld_irt_vkont * irt_makey = ld_irt_makey * irt_vtref = ld_irt_vtref * irt_subap = ld_irt_subap * irt_ppacc = ld_irt_ppacc * irt_prepaid = ld_irt_prepaid * irt_mdcat = ld_irt_mdcat * irt_srctatype = ld_irt_srctatype * irt_srctaid = ld_irt_srctaid * irt_bitcat = ld_irt_bitcat * irt_bitstatus = ld_irt_bitstatus * irt_bitrectype = ld_irt_bitrectype * irt_subprocess = ld_irt_subprocess * irt_bittype = ld_irt_bittype * irt_bitdate = ld_irt_bitdate * irt_bittime = ld_irt_bittime * irt_bitcrdate = ld_irt_bitcrdate * irt_bill_first = ld_irt_bill_first * irt_billcrdate = ld_irt_billcrdate * irt_billdocno = ld_irt_billdocno * irt_invdocno = ld_irt_invdocno * i_bit4_uninvoiced_req = ld_i_bit4_uninvoiced_req * i_bit4_invoiced_req = ld_i_bit4_invoiced_req * irt_bitreversal = ld_irt_bitreversal * irt_bitreversed = ld_irt_bitreversed * irt_billreversal = ld_irt_billreversal * irt_billreversed = ld_irt_billreversed * it_further_sel = ld_it_further_sel * i_maxrec = ld_i_maxrec * i_no_collect = ld_i_no_collect * i_strucname = ld_i_strucname IMPORTING et_bit_it = ld_et_bit_it et_bit_py = ld_et_bit_py et_bit_tx = ld_et_bit_tx et_bit_tt = ld_et_bit_tt et_bit0_it = ld_et_bit0_it et_bit1_it = ld_et_bit1_it et_bit2_it = ld_et_bit2_it et_bit3_it = ld_et_bit3_it et_bit4_it = ld_et_bit4_it et_bit4_it_uninvoiced = ld_et_bit4_it_uninvoiced et_bit4_it_invoiced = ld_et_bit4_it_invoiced et_bit_it_any = ld_et_bit_it_any EXCEPTIONS NOT_FOUND = 1 . " FKK_BIX_BIT_SELECT
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "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_irt_gpart  TYPE FKK_RT_GPART ,
ld_et_bit_it  TYPE FKKBIXBIT_IT_ALL_TAB ,
ld_et_bit_py  TYPE FKKBIXBIT_PY_ALL_TAB ,
ld_irt_vkont  TYPE FKK_RT_VKONT ,
ld_et_bit_tx  TYPE FKKBIXBIT_TX_ALL_TAB ,
ld_irt_makey  TYPE FKK_RT_MAKEY ,
ld_et_bit_tt  TYPE FKKBIXBIT_TT_ALL_TAB ,
ld_irt_vtref  TYPE FKK_RT_VTREF ,
ld_et_bit0_it  TYPE FKKBIXBIT0_IT_ALL_TAB ,
ld_irt_subap  TYPE FKK_RT_SUBAP ,
ld_et_bit1_it  TYPE FKKBIXBIT0_IT_ALL_TAB ,
ld_irt_ppacc  TYPE FKK_RT_PPACC ,
ld_et_bit2_it  TYPE FKKBIXBIT2_IT_ALL_TAB ,
ld_irt_prepaid  TYPE FKK_RT_PREPAID ,
ld_et_bit3_it  TYPE FKKBIXBIT2_IT_ALL_TAB ,
ld_irt_mdcat  TYPE FKK_RT_MDCAT ,
ld_et_bit4_it  TYPE FKKBIXBIT4_IT_ALL_TAB ,
ld_irt_srctatype  TYPE FKK_RT_SRCTATYPE ,
ld_et_bit4_it_uninvoiced  TYPE FKKBIXBIT4_IT_ALL_TAB ,
ld_irt_srctaid  TYPE FKK_RT_SRCTAID ,
ld_irt_bitcat  TYPE FKK_RT_BITCAT ,
ld_et_bit4_it_invoiced  TYPE FKKBIXBIT4_IT_ALL_TAB ,
ld_et_bit_it_any  TYPE ANY TABLE ,
ld_irt_bitstatus  TYPE FKK_RT_BITSTATUS ,
ld_irt_bitrectype  TYPE FKK_RT_BITRECTYPE ,
ld_irt_subprocess  TYPE FKK_RT_SUBPROCESS ,
ld_irt_bittype  TYPE FKK_RT_BITTYPE ,
ld_irt_bitdate  TYPE FKK_RT_BITDATE ,
ld_irt_bittime  TYPE FKK_RT_BITTIME ,
ld_irt_bitcrdate  TYPE FKK_RT_BITCRDATE ,
ld_irt_bill_first  TYPE FKK_RT_BILL_FIRST ,
ld_irt_billcrdate  TYPE FKK_RT_BILLCRDATE ,
ld_irt_billdocno  TYPE FKK_RT_BILLDOCNO ,
ld_irt_invdocno  TYPE FKK_RT_INVDOCNO ,
ld_i_bit4_uninvoiced_req  TYPE UNINVOICED_REQUESTED_KK ,
ld_i_bit4_invoiced_req  TYPE INVOICED_REQUESTED_KK ,
ld_irt_bitreversal  TYPE FKK_RT_BITREVERSAL ,
ld_irt_bitreversed  TYPE FKK_RT_BITREVERSED ,
ld_irt_billreversal  TYPE FKK_RT_BILLREVERSAL ,
ld_irt_billreversed  TYPE FKK_RT_BILLREVERSED ,
ld_it_further_sel  TYPE FKK_MAD_TWHEREL ,
ld_i_maxrec  TYPE DDSHMAXREC ,
ld_i_no_collect  TYPE XFELD ,
ld_i_strucname  TYPE STRUCNAME .

ld_irt_gpart = 'Check type of data required'.
ld_irt_vkont = 'Check type of data required'.
ld_irt_makey = 'Check type of data required'.
ld_irt_vtref = 'Check type of data required'.
ld_irt_subap = 'Check type of data required'.
ld_irt_ppacc = 'Check type of data required'.
ld_irt_prepaid = 'Check type of data required'.
ld_irt_mdcat = 'Check type of data required'.
ld_irt_srctatype = 'Check type of data required'.
ld_irt_srctaid = 'Check type of data required'.
ld_irt_bitcat = 'Check type of data required'.
ld_irt_bitstatus = 'Check type of data required'.
ld_irt_bitrectype = 'Check type of data required'.
ld_irt_subprocess = 'Check type of data required'.
ld_irt_bittype = 'Check type of data required'.
ld_irt_bitdate = 'Check type of data required'.
ld_irt_bittime = 'Check type of data required'.
ld_irt_bitcrdate = 'Check type of data required'.
ld_irt_bill_first = 'Check type of data required'.
ld_irt_billcrdate = 'Check type of data required'.
ld_irt_billdocno = 'Check type of data required'.
ld_irt_invdocno = 'Check type of data required'.
ld_i_bit4_uninvoiced_req = 'Check type of data required'.
ld_i_bit4_invoiced_req = 'Check type of data required'.
ld_irt_bitreversal = 'Check type of data required'.
ld_irt_bitreversed = 'Check type of data required'.
ld_irt_billreversal = 'Check type of data required'.
ld_irt_billreversed = 'Check type of data required'.
ld_it_further_sel = 'Check type of data required'.
ld_i_maxrec = 'Check type of data required'.
ld_i_no_collect = 'Check type of data required'.
ld_i_strucname = '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 FKK_BIX_BIT_SELECT or its description.