SAP Function TB_LIMITS_UPDATE_DI - Update of Limits

Parameter Reference Type Length Text
E_RC SYST-SUBRC I 4 0 = Commit, 4 = Rollback Triggered

Parameter Reference Length Optional Text
RETURN BAPIRET2 548 OUT: Error and Success Codes
TT_INTTAB VTBLVIL_DI 80 X IN: Interim Limits for Values from TT_LIMITTAB
TT_LIMITTAB VTBLV0_DI 252 IN: Limits + Characteristics (Transfer Structure)

Functionality
This module changes limits using a transfer table containing values andcharacteristics.
The relevant table structures are VTBLV0_DI (limits) and VTBLVIL_DI(interim limits) as defined in the Data Dictionary.
This module can only be used if the limits already exist. For newlimits, use module TB_LIMITS_INSERT_DI.
Warning:
If you also want to maintain interim limits for a limit, you must entera unique reference number for the limit in field IREFNO in both tables(1 limit : n interim limits, each with a unique number, such as 00001for the first limit, 00002 for the next, and so on).
The module first deletes all the existing interim limits for a limit,and then sets up the interim limits specified.
This means that you always have to supply all the interim limits for alimit.

Notes
Notes on fields:

  • Date fields DLVB and DLVE: The field format is YYYYMMTT.

  • WLIMIT (limit currency): If no value is entered in this field, the
  • system derives the currency from the currency of the characteristic,the client, or the company code.
    • BLIMIT/ELIMIT (internal/external limit amount)

    • This field must be filled in character format. Decimal places must beseparated by a comma. No +/- sign.

      Further information
      TB_LIMIT_EXPORT

      Description
      Overall result of update.

      Value range
      0: Commit triggered, update according to result table
      4: Rollback triggered, update terminated or reset

      Description
      Link