Fonction SAP BKK_ALV_SET_OUTLEN_ACNUM_EXT - BCA Lists: Set output Length of ACNUM_EXT for ABAP List Viewer

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_FIELDNAME SLIS_FIELDNAME 0 Field Name "External Account Number"
I_TABNAME SLIS_TABNAME 0 X Corresponding Table for I_FIELDNAME

Paramètre Reférence Type Long. Description
ABS_LEN I I 4

Paramètre Reférence Long. Facultatif Description
T_BKK_OUTLENALV BKKK_TAB_OUTLENALV 0 Bank Areas for Deriving Output Length
T_FTAB SLIS_T_FIELDCAT_ALV 0 Field Catalog for ALV List Viewer

Functionality
The function module sets up the field catalog (internal table T_FTAB) sothat the following applies for the ABAP List Viewer:

  • The output length of the external account number in a list corresponds
  • to the Customizing settings.
    • The external account number is displayed with a right alignment and
    • leading zeros.
      Background: In BCA Customizing, you can set up the output length of theexternal account number according to the country. You can find thisspecific country setting by using the bank area.

      Description
      It is meaningful - but not absolutely vital - to specify the tablename along with the field name when you wish to display thehierarchical lists using the ABAP List Viewer(function module REUSE_ALV_HIERSEQ_LIST_DISPLAY):
      This is useful, for example, if you wish to permit different(Customizing-specific) output lengths for the external account number.

      Description
      As input parameter, T_BKK_OUTLENALV must have all bank areas enteredthat have to be included for defining the output length of the externalaccount numbers.
      (The OUTPUTLENGTH field must be transferred empty. It is used fortemporary storage in the function module.)