SAP Function Modules

CBIH_LB64_LOV_METHOD SAP Function module







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

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


Pattern for FM CBIH_LB64_LOV_METHOD - CBIH LB64 LOV METHOD





CALL FUNCTION 'CBIH_LB64_LOV_METHOD' "
* EXPORTING
*   i_rcgdialctr =              " rcgdialctr
*   i_addinf =                  " rcgaddinf
*   i_epid =                    " ccihe_epid
*   i_eptype =                  " ccihe_eptype
*   i_method =                  " ccihe_method
*   i_waid =                    " ccihe_waid
*   i_flg_no_empty_hit_list = ESP1_FALSE  " esp1_boolean
*   i_flg_all_methods = ESP1_FALSE  " esp1_boolean
  IMPORTING
    e_flg_cancel =              " esp1_boolean
    e_method =                  " ccihe_method
    e_methodnam =               " ccihe_methodtxt
    .  "  CBIH_LB64_LOV_METHOD

ABAP code example for Function Module CBIH_LB64_LOV_METHOD





The ABAP code below is a full code listing to execute function module CBIH_LB64_LOV_METHOD 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_flg_cancel  TYPE ESP1_BOOLEAN ,
ld_e_method  TYPE CCIHE_METHOD ,
ld_e_methodnam  TYPE CCIHE_METHODTXT .

DATA(ld_i_rcgdialctr) = 'Check type of data required'.
DATA(ld_i_addinf) = 'Check type of data required'.
DATA(ld_i_epid) = 'Check type of data required'.
DATA(ld_i_eptype) = 'Check type of data required'.
DATA(ld_i_method) = 'Check type of data required'.
DATA(ld_i_waid) = 'Check type of data required'.
DATA(ld_i_flg_no_empty_hit_list) = 'Check type of data required'.
DATA(ld_i_flg_all_methods) = 'Check type of data required'. . CALL FUNCTION 'CBIH_LB64_LOV_METHOD' * EXPORTING * i_rcgdialctr = ld_i_rcgdialctr * i_addinf = ld_i_addinf * i_epid = ld_i_epid * i_eptype = ld_i_eptype * i_method = ld_i_method * i_waid = ld_i_waid * i_flg_no_empty_hit_list = ld_i_flg_no_empty_hit_list * i_flg_all_methods = ld_i_flg_all_methods IMPORTING e_flg_cancel = ld_e_flg_cancel e_method = ld_e_method e_methodnam = ld_e_methodnam . " CBIH_LB64_LOV_METHOD
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_flg_cancel  TYPE ESP1_BOOLEAN ,
ld_i_rcgdialctr  TYPE RCGDIALCTR ,
ld_e_method  TYPE CCIHE_METHOD ,
ld_i_addinf  TYPE RCGADDINF ,
ld_e_methodnam  TYPE CCIHE_METHODTXT ,
ld_i_epid  TYPE CCIHE_EPID ,
ld_i_eptype  TYPE CCIHE_EPTYPE ,
ld_i_method  TYPE CCIHE_METHOD ,
ld_i_waid  TYPE CCIHE_WAID ,
ld_i_flg_no_empty_hit_list  TYPE ESP1_BOOLEAN ,
ld_i_flg_all_methods  TYPE ESP1_BOOLEAN .

ld_i_rcgdialctr = 'Check type of data required'.
ld_i_addinf = 'Check type of data required'.
ld_i_epid = 'Check type of data required'.
ld_i_eptype = 'Check type of data required'.
ld_i_method = 'Check type of data required'.
ld_i_waid = 'Check type of data required'.
ld_i_flg_no_empty_hit_list = 'Check type of data required'.
ld_i_flg_all_methods = '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 CBIH_LB64_LOV_METHOD or its description.