on 2014 Jan 28 7:22 AM
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.
Request clarification before answering.
Hello,
This could be due to system errors - have you checked SAP Notes "1797388 - Web Dynpro: Conversion of non-printable characters" and "1910895 - Hash tags appearing in posting text".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 10 | |
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.