Login Form

Best viewed in IE 7.0

ADVERTISEMENTS
ADVERTISEMENT

Replacing a CR in a string

Sometimes you need to replace a carriage retun or line feed in a string. (These can screw around with EDI IDocs etc...) This is how you do it...

 

constants:
c_CR_LF type ABAP_CR_LF value cl_abap_char_utilities=>CR_LF.
 

* Only want to replace the CR no LF in the string:

replace c_CR_LF(1) with space into ls_links-e_mail. " remove carriage return
ADVERTISEMENT
Free software downloads