SAP Function TB_LIMITS_INSERT_DI - Insert 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 inserts limits and interim limits using a transfer tablecontaining values and characteristics.
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 are new. For changes, usemodule TB_LIMITS_UPDATE_DI.
Warning:
If you also want to insert interim limits for a limit, you must enter aunique reference number for the limit in field IREFNO in both tables (1limit : n interim limits, each with a unique number, such as 000001 forthe first limit, 00002 for the next, and so on).
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 (max. 4)must be separated by a comma. No +/- sign.

      Further information
      TB_LIMIT_EXPORT
      The input structures can be generated automatically. For moreinformation, see the documentation for the following report programs:
      RFTBLEX1 (export limits and interim limits)
      RFTBLIM1 (import limits and interim limits)

      Description
      Overall result of update.

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

      Description
      This return structure references the processing status of the inputtable. In each row (field row) of the input table, the processing resultis set with a message text, including the name of any field that waschecked with a negative result (Field field).