Skip to Content
1

Problem with transporting SAP standard texts

Sep 28, 2017 at 04:37 AM

72

avatar image
Former Member

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.

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

3 Answers

Sandra Rossi Sep 28, 2017 at 07:59 AM
1

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

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

Hello Sandra,

thanks a lot for the hint just to change the paragraph format of every line of the standard text to /. This is the solution for this problem.

@ Raymond:

I'm part of a team which develops a big application. I didn't design it, so I have to use standard texts.

@Rajkumar:

Yes one could also remove the <( )> after reading the standard text. But maybe in some situation they are needed.

Thanks a lot for all your answers.

It was a very good experience to get such fast support from you all.

0

I have to get more familiar with the tools of this community. I just wanted to express my appreciation for your help.

0

Hello Sandra,

thanks a lot for you help.

1

It solved the problem.

0
Raymond Giuseppi
Sep 28, 2017 at 05:55 AM
0

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?

Share
10 |10000 characters needed characters left characters exceeded
Rajkumar Narasimman Sep 28, 2017 at 05:03 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded