Fonction SAP BKK_DATE_STRING_CONVERT - Conversion of a Relative or Abbreviated Date Specification

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DATE_FORMAT USR01-DATFM C 1 Date format
DATE_STRING 0
START_DATE SYST-DATUM D 8 SY-DATUM X Current Date of Application Server

Paramètre Reférence Type Long. Description
RESULT_DATE SYST-DATUM D 8 Current Date of Application Server


The function module converts a relative or shortened date specificationto the corresponding date whereby the following abbreviations aresupported in addition to the standard conversion for datespecifications:
  • Relative date specifications:

  • +n for n days after the start date
    -n for n days before the start date
    ++n for n months after the start date
    --n for n months before the start date
    0 for the start date.
    • Abbreviated date specification:

    • Where date formats are specified according to the user master record,and that start with the day, the following conversions are supported:
      17 For the next 17th day
      1709 For the next 17th September.