Ansicht
Dokumentation
ABENOO_OBS_ASSIGN_TYPE_2 - OO OBS ASSIGN TYPE 2
CL_GUI_FRONTEND_SERVICES - Frontend Services PERFORM Short ReferenceThis documentation is copyright by SAP AG.
No obsolete castings withASSIGN
-
In ABAP Objects you are not allowed to use the additions TYPE and DECIMALS for assigning data objects to field symbols using ASSIGN.
Error message in ABAP Objects if the following syntax is used:
ASSIGN f TO <fs> TYPE ... [DECIMALS ...].
Correct syntax:
ASSIGN f TO <fs> CASTING TYPE|LIKE ...
Reason:
The TYPE and DECIMALS additions have been replaced by the addition CASTING [TYPE|LIKE].
Unlike the TYPE addition, CASTING supports any data type.
Fill RESBD Structure from EBP Component Structure PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 809 Date: 20240426 Time: 031351 sap01-206 ( 23 ms )