Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding delimiter

former_member197425
Active Participant
0 Likes
369

Hi,

Can anyone please tell me how to solve this task.

The task is when i execute my report i should get the output values of all fields in internal table must be delimited by #.

1 ACCEPTED SOLUTION
Read only

varma_narayana
Active Contributor
0 Likes
353

Hi...

you can use the Concatenate for this:

Eg:

Loop at ITab into wa.

concatenate wa-field1 wa-field2....

into v_record

separated by ' #'.

write: / v_record.

endloop.

<b>Reward if Helpful.</b>

3 REPLIES 3
Read only

Former Member
0 Likes
353

..

Message was edited by:

Perez C

Read only

Former Member
0 Likes
353

Hi,

You want output on Screen OR to any file???

If you want report output on screen ...


LOOP AT itab.
WRITE :/(18)  itab-matnr, '#',
              (13) itab-menge, '#',
             ------------- "continue
ENDLOOP.

Message was edited by:

Perez C

Read only

varma_narayana
Active Contributor
0 Likes
354

Hi...

you can use the Concatenate for this:

Eg:

Loop at ITab into wa.

concatenate wa-field1 wa-field2....

into v_record

separated by ' #'.

write: / v_record.

endloop.

<b>Reward if Helpful.</b>