Code: Alles auswählen.
*&---------------------------------------------------------------------*
*& Report ZTEST91 *
*& *
*&---------------------------------------------------------------------*
*& *
*& *
*&---------------------------------------------------------------------*
REPORT ZTEST91.
data lv_text(40) value 'SM_AIICLNT000_READ'.
data lv_tmp(40).
data lv_tmp2(40).
*die ersten 3 Zeichen die letzten 5 Zeichen entfernen
lv_tmp = lv_text+3.
lv_tmp = lv_tmp(10).
* Mandant
lv_tmp+7(3) = sy-mandt.
**************************************************************
split lv_text at '_' into lv_tmp2 lv_tmp lv_tmp2.
* Mandant
lv_tmp+7(3) = sy-mandt.