‎2006 Nov 08 6:21 PM
Hi All
Here is my query
when i am execute this prg
REPORT ZTEST4.
DATA STR(100) TYPE c VALUE <b>'1#02.11.2006#02.11.2006#1061#AUD##7#SA#Legacy data transfer1#Reference1'.</b>DATA: SPL TYPE C VALUE '#'.
REPLACE ALL OCCURRENCES OF SPL IN STR WITH ' '.
IF SY-SUBRC = 0.
WRITE:/ STR.
ENDIF.
I am getting the following output
<b>OutPut:102.11.200602.11.20061061AUD7SALegacy data transfer1Reference1</b>
Here i want to display this output with space in place of # symbols.
how to do this
Rgds
Raghav T
‎2006 Nov 08 6:26 PM
‎2006 Nov 08 6:26 PM
‎2006 Nov 08 6:28 PM
‎2006 Nov 08 6:30 PM
hi Raghav,
you can use REPLACE ALL OCCURRENCES OF SPL IN STR WITH <b>SPACE</b>
hope this helps.
Sajan.