Ansicht
Dokumentation
ABENFIELD_SYMBOLS_STRUC_ABEXA - FIELD SYMBOLS STRUC ABEXA
ROGBILLS - Synchronize billing plans CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
Field Symbols, Cast Structures
This example demonstrates how field symbols are cast.
Source Code
Description
The structures line1 and line2 are cast to the number string "0123456789". The structure is then accessed using the corresponding field symbol and the components are output individually. It should be noted that the date component contains an invalid date after the assignment, which is only used here for demonstration purposes.
The structures are cast using the ASSIGN CASTING statement. The obsolete addition STRUCTURE of the statement FIELD-SYMBOLS, replaced by ASSIGN CASTING, is shown here as a comment.
PERFORM Short Reference ROGBILLS - Synchronize billing plans
This documentation is copyright by SAP AG.
Length: 906 Date: 20240328 Time: 141051 sap01-206 ( 25 ms )