Get Example source ABAP code based on a different SAP table
• occ ABAP_FUNCTION_PARA
ABAP_STRINGFUNC > - occ>
ABAP_SYNTAX ... ( ... occ = occ ... ) ...>
What does it do? In string functions where searches are performed, the parameter occ > specifies the occurrence of a match. occ > is a numeric expression position> of type i>. If occ> is positive, the occurrences are counted from the left; if occ> is negative, they are counted from the right. The values 1, 2, .... indicate the first, second, ... occurrences. The values -1, -2, .... indicate the last, last but one, ... occurrences. The default value of occ> is 1. Except in the case of the replacement function replace>>, the value 0 raises an exception from the class CX_SY_STRG_PAR_VAL>. If replace> is used, the value 0 replaces all occurrences.
Latest notes: The sign of occ> also affects the default values of off>> and len>>. NON_V5_HINTS ABAP_HINT_END
ABAP_EXAMPLE_VX5 The result of the following function calls is UX> and XU>. ABEXA 01298 ABAP_EXAMPLE_END