Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

ABAPWRITE_INT_OPTIONS - WRITE INT OPTIONS

ABAPWRITE_INT_OPTIONS - WRITE INT OPTIONS

BAL Application Log Documentation   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

WRITE, int_format_options

Short Reference



... $[LEFT-JUSTIFIED$|CENTERED$|RIGHT-JUSTIFIED$]
    $[EXPONENT exp$]
    $[NO-GROUPING$]
    $[NO-SIGN$]
    $[NO-ZERO$]
    $[CURRENCY cur$]
    $[DECIMALS dec$]
    $[ROUND scale$]
    $[UNIT unit$]
    $[ENVIRONMENT TIME FORMAT$]
    $[TIME ZONE tz$]
    $[STYLE stl$]
    $[USING ${ ${NO EDIT MASK$}$|${EDIT MASK mask$} $}$]
    $[ DD/MM/YY   $| MM/DD/YY
    $| DD/MM/YYYY $| MM/DD/YYYY
    $| DDMMYY     $| MMDDYY
    $| YYMMDD $] ...

Effect

These formatting options override the predefined formats of the statement WRITE for list output. The formatting result is adjusted to the output length. If the system executes a conversion routine during output, the other format_options are ignored.

The formatting options are the same as for the statement WRITE ... TO, with the following differences:

  • If the additions NO-SIGN, CURRENCY, DECIMALS, ROUND, UNIT are used with the length specification * or ** after AT, they are applied first, and the output length is determined based on the result.
  • If USING EDIT MASK is used and the output length specified explicitly using len, the conversion routine is executed for the length specified, otherwise it is executed for the implicit output length. If * or ** is specified for the output length, the corresponding rules are applied to the converted result.
  • If USING EDIT MASK is used and the output length * specified, the system sets the exact length required in the list output. If characters of the edit mask are replaced by Unicode characters occupying more than one column on the list, the system extends the output length accordingly and fills the output in the list buffer with blanks.
  • If USING EDIT MASK is used and the output length ** is specified, double the length of the edit mask mask is used.
  • If USING EDIT MASK is used, a character "_" in the edit mask does not necessarily correspond to one column in the list display, since the space required for the display depends on the replacement Unicode character.
  • If DD/MM/YY ... is used and the output length specified using * or **, the length is set to the length of the specified edit mask (6, 8, or 10).





CPI1466 during Backup   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 5086 Date: 20230207 Time: 232810     sap01-206 ( 59 ms )