Ansicht
Dokumentation

ABENOO_OBS_CHARACTER_2 - OO OBS CHARACTER 2

ABENOO_OBS_CHARACTER_2 - OO OBS CHARACTER 2

Addresses (Business Address Services)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Use Only Character-Type Fields When Processing Strings

When processing characters strings and, as of release 7.0, outside of classes, you can only use character-type fields (data types c, d, n, string, t and, in non- Unicode programs, x and xstring also).

In ABAP Objects, the following syntax causes an error message:

DATA int TYPE i.
SHIFT int BY 3 PLACES.

Correct syntax:

DATA int(4) TYPE c.
SHIFT int BY 3 PLACES.

Reason:

The statements for character string processing treat their operands as character-like irrespective of their actual type, which may lead to undefined results in connection with fields that are not character-like.






General Material Data   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1043 Date: 20240416 Time: 181239     sap01-206 ( 21 ms )