Ansicht
Dokumentation

ABENWRITE_TRUNCATION_ABEXA - WRITE TRUNCATION ABEXA

ABENWRITE_TRUNCATION_ABEXA - WRITE TRUNCATION ABEXA

BAL Application Log Documentation   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

WRITE TO, Truncation Behavior

This example demonstrates the truncation behavior of the statement WRITE TO for all elementary data types.

Source Code

Execute

Description

The class demo contains an attribute for every built-in ABAP type and for time stamps in packed numbers. These attributes are filled with example values and assigned to a data object using WRITE TO, whose length can be selected on the selection screen.

The country-specific formats for numbers, dates, and times set by SET COUNTRY can also be specified on the selection screen. This example demonstrates these formats as well.

The output list shows the result of the formatting for each data type. If an exception is raised, the character "!" is output in a different color.






CPI1466 during Backup   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1397 Date: 20240425 Time: 054033     sap01-206 ( 28 ms )