This website is not affiliated with, sponsored by, or approved by SAP AG.

TEXT_SYMBOL_REPLACE for variables longer than 132 char?

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Post Reply
joanjoanjoan
Posts: 1
Joined: Fri Feb 10, 2017 2:17 pm

TEXT_SYMBOL_REPLACE for variables longer than 132 char?

Post by joanjoanjoan » Fri Feb 10, 2017 2:19 pm

Hi all,

I am replacing variables in standard texts correctly using FMs INIT_TEXTSYMBOL, GET_TEXTSYMBOL, SET_TEXTSYMBOL and TEXT_SYMBOL_REPLACE.

The problem is that when I use TEXT_SYMBOL_REPLACE, the content of my variable is longer than 132 char (used in tables parameter 'LINES'), so the output results in my variable being truncated.

Anybody could help me? Thank you very much

sapmanie
Posts: 487
Joined: Fri Jan 23, 2004 10:39 am

Re: TEXT_SYMBOL_REPLACE for variables longer than 132 char?

Post by sapmanie » Wed Mar 01, 2017 2:16 pm

Hi,
Do you have to use function modules? Can you not use the ABAP commands FIND and REPLACE?

Post Reply