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.
SAP Technical
ABAP
Replacing a CR in a string

Written by Magda de Klerk
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:
©2001-2011 Genieholdings.COM, Inc. All rights reserved. ERPGenie.COM, EDIGenie.COM, myPIgenie.COMand ESAGenie.COM are Trademarks of Genieholdings.COM, Inc. All product names are trademarks of their respective companies. GenieHoldings.COM, Inc. and it's websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries. Every effort is made to ensure content integrity. Use information on this site at your own risk.
