Skip to Content
0
Mar 02, 2011 at 10:12 AM

split at dynamic seperator

439 Views

Hi Community,

I have the following problem.

I have to split a string at a dynamic separator.

I collect the separator from a customizing table. In the debugger I can see the correct separator in the field-symbol, but it does not split the string.

When I hardcode the same separator it works without a problem. In the debugger the separator (hardcoded or dynamic from table) is the same.

Works:

ASSIGN ' INTO:

TABLE it_bcode_value IN CHARACTER MODE.

Doesn't work:

ASSIGN ls_bcode_def-separator TO INTO:

TABLE it_bcode_value IN CHARACTER MODE.

Does anyone have some advice for me?

Thanks,

Cédric