Ansicht
Dokumentation

ABENCASTING_OBSOLETE_TYPE_ABEXA - CASTING OBSOLETE TYPE ABEXA

ABENCASTING_OBSOLETE_TYPE_ABEXA - CASTING OBSOLETE TYPE ABEXA

General Data in Customer Master   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Field Symbols, Casting Built-In Data Types

This example demonstrates how a casting is performed on built-in data types.

Source Code

Execute

Description

This example demonstrates how casting works on built-in data types. First the character string txt is assigned to the field symbol <fs> without casting. Afterwards, txt is assigned to <fs> using casting on types i and x. The second output value depends on the byte order of the current platform. The paired numbers in the last output line represent the hexadecimal code for the character in txt and depend on the character representation on the current .

The section of the method that has been commented out also shows the syntax for the relevant obsolete casting.






rdisp/max_wprun_time - Maximum work process run time   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 1025 Date: 20240419 Time: 225731     sap01-206 ( 25 ms )