Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Issue with TEXT_INCLUDE_REPLACE

Former Member
0 Likes
413

Hi,

I am using TEXT_INCLUDE_REPLACE to replace include Textelements in so10 Textobjects (read with READ_TEXT). Often the Include Tag would be "broken" in two lines like:

1: INCLUDE ZHV-LONG-TEXT-NAME-BLA-BLUB OBJECT TEXT ID

2: ZPHV

If I try to replace this include with the proper textobject it doesnt work because the TEXT_INCLUDE_REPLACE could not find the ID ( this ID was "broken" to line 2). How could I avoid this behavior? Does the user have to switch to the old PC-Editor or could I handle this in an other way?

Thanks

Alex

1 REPLY 1
Read only

ralf_wenzel_heuristika
Active Participant
0 Likes
332

I do have the same problem, but harder. Transaction CS02 allows to maintain texts with a line size of only 40 characters, so I have many INCLUDEs which are wrapped into THREE lines, i. e.

INCLUDE example_long_textname_for_scn

OBJECT TEXT ID ZZID

LANGUAGE CS

What can I do to expand such long texts?  TEXT_INCLUDE_REPLACE does not recognise wrapped include statements, as described by Alex.

I urgendly need help....