Ansicht
Dokumentation
ABENREPEAT_FUNCTIONS - REPEAT FUNCTIONS
ABAP Short Reference General Data in Customer MasterThis documentation is copyright by SAP AG.
- repeat
... repeat( val = text occ = occ ) ...
Effect
This built-in function returns a character string that contains the content of text as many times as specified in occ. If text is an empty string or if occ contains the value 0, an empty string is returned.
occ is a numeric expression position with type i. If the value of occ is negative, an exception of the class CX_SY_STRG_PAR_VAL is raised.
The return value has the type string.
Note
The parameter occ has a different meaning here than in functions used for searching.
The function repeat is used to create a string with ten blanks.
Exceptions
Catchable Exceptions
- Cause: Occurrences in occ are less than 0.
Runtime Error: STRG_ILLEGAL_PAR
CL_GUI_FRONTEND_SERVICES - Frontend Services Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 1697 Date: 20240329 Time: 163625 sap01-206 ( 31 ms )