SECRET
ARTICLE
Notes on Working with Strings
In the current release it has not been possible to fully complete the
implementation of strings. Especially the handling of blank characters
at the end of a string has not been finalized for a number of ABAP
statements.
For the operand positions in italics of the following ABAP
statements, blank characters at the end of strings are not taken into
account. This may change in the next release. Therefore strings with
blank characters at the end should not be used in these positions.
ASSIGN f TO fs TYPE type
ASSIGN TABLE FIELD ( f )
ASSIGN ( f ) TO fs
ASSIGN LOCAL COPY OF MAIN TABLE FIELD ( f ) TO
fs
ASSIGN COMPONENT name OF STRUCTURE struc TO
fs
ASSIGN LOCAL COPY OF ( f ) TO fs
CALL SELECTION-SCREEN scr USING SELECTION-SET
set
CLOSE DATASET dsn
CREATE OBJECT ref TYPE ( class
)
CREATE DATA dref TYPE ( type )
DELETE FROM dbtab WHERE ...
(valid for all strings in the WHERE clause )
EDITOR-CALL FOR REPORT prog
EDITOR-CALL FOR itab TITLE text
GENERATE DYNPRO ... ID id
GENERATE REPORT prog
GENERATE SUBROUTINE POOL itab NAME name
IMPORT DYNPRO ... ID id
MESSAGE xnnn WITH f1 ... f4
MESSAGE ID id TYPE mtype NUMBER n
NEW-PAGE PRINT ON ... (valid for all additions
)
OPEN DATASET dsn ...
... TYPE c
... MESSAGE m
... FILTER f
PERFORM ( form )
... IN PROGRAM ( prog )
SET PF-STATUS pfstat
... EXCLUDING f
... OF PROGRAM prog
SET TITLEBAR title
... OF PROGRAM prog
SET USER-COMMAND cmd
SUBMIT rep ... TO SAP-SPOOL ... (gilt f�r alle Zus�tze
)
SUBMIT rep ... WITH FREE SELECTIONS texpr
TRANSFER f TO dsn
UPDATE dbtab WHERE ...
(valid for all strings in the WHERE clause )
WRITE ...
... CURRENCY w
... UNIT u
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved