cancel
Showing results for 
Search instead for 
Did you mean: 

Style format in script form

Former Member
0 Kudos

Hi Everybody,

I need get the existing style into my script for long text.

In se71, this is how i def.

/: STYLE ZSTDKEYS

&TMPTEXT-TDLINE&

/:STYLE *

But this logice did not work.

i am using read_text for reading long text data and writing it on to the form.

could someone help me how can i get the existing style into my script.

Appreicate your hlep in advance.

Regards,

Mamatha

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

The syntax that you are using to call the style is correct are you getting the value printed on the form in th eoriginal form or you are not getting the value at all if you are not getting the value please check if the parameter is getting populated . If it is printing in the original style then you have to check the style.If it is correctly defined.Further if you are doing this in an include :

A style set with this command has no effect in a text included with INCLUDE. The system takes

the paragraph and character formats from the calling text. To use the style set with STYLE in

the INCLUDE text as well, you must add DOMINANT to the command.

If the INCLUDE text has a style assigned to it, in both cases, the system always takes

the paragraph and character formats from the directly assigned style.


/: STYLE style DOMINANT
/: STYLE * 

Regards,

Himanshu Verma

Former Member
0 Kudos

Hi,

I am not using the include command in my script.

I am directly using the varaible &tmpline-tdline&. With the Read_text FM i am getting the long text into tmpline table.

I can see the data but the style is not working in my case.

is there any way to call the style.

Any help.

Regards,

Mamatha

Former Member
0 Kudos

resolved.