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

script::-text element

Former Member
0 Likes
808

Hi All,

In ME22N transaction we are maintainig item texts i have to print some 3 texts. we have maintained those 3 text element but only first one is getting printed, the other two i am not able to print. control is not going to the other text elements.. if any body have any sollution to print all the three text elements please help me. it is very urgent!!

Thanks in advance

Regards,

Srinivas.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
773

Hi Tushar,

I have increased the height of main window, then also i am not able to print all the three elements. Control is not going to QM_TEXT. if you know why control is not going to that text element please help me.

Thanks in Advance.

Regads,

Srinivas.

7 REPLIES 7
Read only

Former Member
0 Likes
773

Hi Srinivas,

Are these three text elements in the same window or three different windows. Next, check the height of the window in which the text elements are being used. Suppose the height is not sufficient enough the content will not be displayed.

Reward if helpful.

Regards,

Tushar

Read only

Former Member
0 Likes
773

Hi,

Follow as Tushar said. also chk if this logic also works

If you only need to output the text, you don't need to used READ_TEXT like in an ABAP program,

just use the INCLUDE command in SAPScript.

It will read the text and output it to your form.

The Syntax is like this:

/: INCLUDE &T166K-TXNAM& OBJECT &T166K-TDOBJECT& ID &T166K-TDID& LANGUAGE &EKKO-SPRAS&

Reward points if helpful.

Regards,

Harini

Read only

Former Member
0 Likes
774

Hi Tushar,

I have increased the height of main window, then also i am not able to print all the three elements. Control is not going to QM_TEXT. if you know why control is not going to that text element please help me.

Thanks in Advance.

Regads,

Srinivas.

Read only

0 Likes
773

Hello Srini,

In the debug mode reduce the length of the Text and see whether its getting printed.Or Increse the height of the window.

If useful reward points.

Regards,

Vasanth

Read only

0 Likes
773

Hi Vasanth,

How to change length of text in debugging mode.

Thanks in Advance,

Srinivas.

Read only

0 Likes
773

Hi Srini,

Move the text to some variable and change the text length

If useful reward points.

Regards,

Vasanth

Read only

Former Member
0 Likes
773

Hi All,

The problem was with customization..

Regards,

Srinivas