SAP Function Modules

RKD_LEAD_COLUMN_OFFSET SAP Function module







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

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


Pattern for FM RKD_LEAD_COLUMN_OFFSET - RKD LEAD COLUMN OFFSET





CALL FUNCTION 'RKD_LEAD_COLUMN_OFFSET' "
  EXPORTING
    i_t_lcol =                  " rkd_t_lcol
    i_t_field =                 " rkd_t_field
    i_t_fdep =                  " rkd_t_fdep
    i_t_attr =                  " kcdb_t_tkcq
    i_s_lc_row =                " rkd11_s_lc_row
    i_max_title_length =        " i
    i_applclass =               " rkb1d-applclass
  IMPORTING
    e_t_help =                  " rkd11_t_lc_help
    .  "  RKD_LEAD_COLUMN_OFFSET

ABAP code example for Function Module RKD_LEAD_COLUMN_OFFSET





The ABAP code below is a full code listing to execute function module RKD_LEAD_COLUMN_OFFSET 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_t_help  TYPE RKD11_T_LC_HELP .

DATA(ld_i_t_lcol) = 'Check type of data required'.
DATA(ld_i_t_field) = 'Check type of data required'.
DATA(ld_i_t_fdep) = 'Check type of data required'.
DATA(ld_i_t_attr) = 'Check type of data required'.
DATA(ld_i_s_lc_row) = 'Check type of data required'.
DATA(ld_i_max_title_length) = 'Check type of data required'.

DATA(ld_i_applclass) = some text here . CALL FUNCTION 'RKD_LEAD_COLUMN_OFFSET' EXPORTING i_t_lcol = ld_i_t_lcol i_t_field = ld_i_t_field i_t_fdep = ld_i_t_fdep i_t_attr = ld_i_t_attr i_s_lc_row = ld_i_s_lc_row i_max_title_length = ld_i_max_title_length i_applclass = ld_i_applclass IMPORTING e_t_help = ld_e_t_help . " RKD_LEAD_COLUMN_OFFSET
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_t_help  TYPE RKD11_T_LC_HELP ,
ld_i_t_lcol  TYPE RKD_T_LCOL ,
ld_i_t_field  TYPE RKD_T_FIELD ,
ld_i_t_fdep  TYPE RKD_T_FDEP ,
ld_i_t_attr  TYPE KCDB_T_TKCQ ,
ld_i_s_lc_row  TYPE RKD11_S_LC_ROW ,
ld_i_max_title_length  TYPE I ,
ld_i_applclass  TYPE RKB1D-APPLCLASS .

ld_i_t_lcol = 'Check type of data required'.
ld_i_t_field = 'Check type of data required'.
ld_i_t_fdep = 'Check type of data required'.
ld_i_t_attr = 'Check type of data required'.
ld_i_s_lc_row = 'Check type of data required'.
ld_i_max_title_length = 'Check type of data required'.

ld_i_applclass = some text here

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