Skip to Content
0
Former Member
Mar 26, 2015 at 09:02 AM

Coding to extract last characters

40 Views

Hi experts

There is a transformation from DSO_1 to DSO_2.

DSO_1 has an InfoObject CO_ITEMTX which contains text information for CO items, e.g.:

*DBD_G004 7026592.00 ABC-DE


DSO_2 needs the last char after the last space of this text information, in our example: ABC-DE.

The length of the last char can vary, e.g.:

*ABD_G004 7026552.00 ABCX-DDE

What is the correct coding?

Thanks