Quantcast
Channel: SCN : All Content - Output Management
Viewing all articles
Browse latest Browse all 1353

Problem with ## for carriage returns

$
0
0

Hi

 

I have a Smartform in eRecruitment used for a requisition.

 

It uses a parameter of POST_INFO_TEXTS of associated type RCF_S_ITF_POST_INFO_TEXTS which is free texts from infotype 5121-posting information. In the output I'm using POST_INFO_TEXTS-COMPANY_DESC_ITF which is a string data type.

 

A user can enter text and then it is displayed in a data overview via the portal. The problem is that the output contains ## for all/any carriage returns.

 

So the output is: line1##line2##line3.

 

What I need to achieve is:

line1

line2

line3

 

I have removed the ## by using

REPLACE ALL OCCURRENCES OF CL_ABAP_CHAR_UTILITIES=>CR_LF IN POST_INFO_TEXTS-COMPANY_DESC_ITF WITH ' '. but I have been unable to track down a solution for putting carriage returns back into the output.

 

Is it a question of converting the original text into a different format? I've looked using SPLIT POST_INFO_TEXTS-COMPANY_DESC_ITF AT CL_ABAP_CHAR_UTILITIES=>CR_LF and putting that into a table but still not how to then output that with carriage returns.

 

All/any suggestions are greatly appreciated.

 

Cheers

Jon.


Viewing all articles
Browse latest Browse all 1353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>