Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8065

Re: split from a field into another 2 fields

$
0
0

Use FM RKD_WORD_WRAP. It preserves the word, and splits the string based on the size given in the importing parameter and exports output to the table.

data : input type string.

DATA: lines(132) OCCURS0WITHHEADERLINE.


  CALLFUNCTION'RKD_WORD_WRAP'
         EXPORTING
           textline                  = input
          OUTPUTLEN                 = 10
        TABLES
          OUT_LINES                 = lines.


Viewing all articles
Browse latest Browse all 8065

Trending Articles