report ztest .
data:char(25) value '5#4#2#&1#&',
char1(9) type c ,
char2(4) type c value 'test'.
replace all occurrences of '#' in char with 'and' .
replace all occurrences of '&' in char with 'num' .
replace all occurrences of 'a' in char with char2 .
write: char.
Here you can find examples and sample programs related to ABAP Report Programs, ALV Grid/List Programs, BDC, HR ABAP, Function Modules, BAPIs, BADIs, Smartforms, SapScripts, etc.
Google Search - Blog...........
Showing posts with label sap abap replace all occurrences of. Show all posts
Showing posts with label sap abap replace all occurrences of. Show all posts
Subscribe to:
Posts (Atom)