Skip to Content
avatar image
Former Member

Problem with transporting SAP standard texts

We use SAP-standard texts created in SO10 which contain ABAP – coding.

This coding is inserted into ABAP sources in order to provide a program with an authorization check for example.

If a comma is contained in an SAP-Standard text this comma is replaced by a string if the text is transported into another system.

The string looks like:

<(,)>

This leads to syntax errors in a program that has been provided with the standard text.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Sep 28, 2017 at 07:59 AM

    You may also change the paragraph format of every line of the standard text to /( which means that the characters in the line are not interpreted (raw line). You have to switch to the old sapscript editor via the menu entry "Change editor". cf https://help.sap.com/saphelp_nw70/helpdata/en/d6/0db72b494511d182b70000e829fbfe/frameset.htm

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 28, 2017 at 05:55 AM

    Build a small report that will execute in client 000 and read all those 'standard' texts, correct back such converted characters to their initial values and update those. Transport this program with a classic R3TR/PROG/name and a R3TR/XPRA/name to trigger its execution (or schedule it on target system)

    (not sure "," is the only character converted by SapScript, (If I recall, there were some notes on such text conversion in some PM screens some years ago)

    Why did you store such code in standard text, could have been an include pool or even some pattern?

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 28, 2017 at 05:03 AM

    Hi Bruno,

    In SO10, change the editor and you able to modify the unwanted delimiters(< >).

    Another option, once the text is fetched using READ_TEXT function module, using REPLACE ALL command remove the unwanted delimiters(< >).

    Regards

    Rajkumar Narasimman

    Add comment
    10|10000 characters needed characters exceeded