Skip to Content
-1

sap script raw line

Apr 26 at 05:24 AM

51

avatar image

Hi all,

I have a question about SAP script raw line.

In a nutshell, text like '<p>' was formatted to ''<)><<)>p>".

I got ''<)><<)>p>" in my code and can I recover it to '<p>'.

How can I do that? Thank you

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Horst Keller
Apr 26 at 05:45 AM
1

Don't use the destroy editor.

Only the awkward WYTISWYS editor is reliable.

Share
10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi Apr 26 at 06:11 AM
0

To convert an ITF text to a 'flat text' version, you can use FM CONVERT_ITF_TO_ASCII. But don't save the result back to database as it would clear every formatting...

Show 4 Share
10 |10000 characters needed characters left characters exceeded

Do you mean db doesn't accept "<p>" in my case?

0

I am also curiosity about how <p> was formatted to <)><<)>p> by using FM CONVERT_ASCII_TO_ITF.

I have tried format '(' as document said, but it didin't work.

0

The text like '<)><<)>p>' is generated in SapScript editor when user input some reserved character, characters used to manage format or variables (Here the "<" character which is the begining of a SapScript command/format).

If FM doesn't work yu have to convert the "<)>one character<)>" string back to the single character using search/replace statements/tools. But then the text won't be compliant any longer with SapScript syntax.

0

Thank you, I am going to have another try on the FM mentioned.

0