Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

cut ITAB

i have big itab with 1 column.

example:

1224321 213123 3423def efdfe d fddf dfd d d d d3333

how i can cut the fields into another itab?

Tags:
Former Member
Former Member replied

Hi rani,

1. No need to cut.

2. just use ptab[] = itab[].

3. like this (just copy paste)

REPORT ABC.

DATA : BEGIN OF ITAB OCCURS 0,

F(100) TYPE C,

END OF ITAB.

DATA : BEGIN OF PTAB OCCURS 0,

A(1) TYPE C,

B(3) TYPE C,

C(5) TYPE C,

END OF PTAB.

ITAB-F = '1234567890'.

APPEND ITAB.

PTAB[] = ITAB[].

BREAK-POINT.

regards,

amit m.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question