Hi all,
I used this following select stament:
wa_t001l_lgobe-sign = 'I'.
wa_t001l_lgobe-option = 'CP'.
* wa_t001l_lgobe-low = lv_ps
CONCATENATE '*' lv_psloc '*' INTO wa_t001l_lgobe-low.
APPEND wa_t001l_lgobe TO r_t001l_lgobe.
SELECT SINGLE lgort
FROM t001l
INTO lv_lgort
WHERE werks = p_werks
AND lgobe IN r_t001l_lgobe.
IF sy-subrc = 0.
ENDIF.
r_t001l_lgobe = *AA- 123*
The sy-subrc returns 4. The select stament cannot seems to find strings with spaces in between. Anyone knows what is wrong here?