Shared Top Border

Enterprise Resource
Planning Portal

 

Advertise | Founder BLOG

ERPGenie.COM ABAP Tips and Tricks Database

THE ultimate
ERP website

 

Forums | Vote for us |

Google    Other Search Options

Login

Login to view more content!!!





Lost Password?
No account yet? Register

Registered Access

Home arrow Tips and Tricks arrow General arrow Replacing a CR in a string
Replacing a CR in a string PDF Print E-mail
User Rating: / 2
PoorBest 
Written by Magda de Klerk   
Thursday, 06 September 2007

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(1with space into ls_links-e_mail. " remove carriage return

Related Items:

Last Updated ( Thursday, 06 September 2007 )
 
< Prev   Next >

Google Search

Google Ads

Shared Bottom Border

Contact Us | Polls | Add URL | Contribute | Privacy | Terms | Feedback

Discussion Forum | BLOG | Consultants: Post your resume | Companies: Advertise on ERPGenie.COM | Post Job
Financials Consultant | Consultant Review | Gallia Consulting | Supply Chain Project | SAP Financials Forum
GenieHoldings.COM, Inc. | Genie Press | WorkflowGenie | ESAGenie | ERPTopSites | ABAP Tips and Tricks | SAP Solutions Database

EDIGenie | Searching Survivor