cancel
Showing results for 
Search instead for 
Did you mean: 

standard text doubt in sap script

Former Member
0 Kudos

how to display the standard text in hierarchical format in a sap script?

Accepted Solutions (0)

Answers (2)

Answers (2)

raguraman_c
Active Contributor
0 Kudos

Hi,

to insert the standard texts in the SAPScript choose the menu, Insert -->Text -->Standard and choose the standard text that you want to choose.

Alternatively, you can display standard texts in your SAP Scripts using the command:

INCLUDE ZSTEXT OBJECT TEXT ID ST LANGUAGE EN

where ZSTEXT refers to the Standard Text name.

What do you mean by hierarchical???? be specific when you post any questions so that we understand it better and you get answer faster.

--Ragu

Former Member
0 Kudos

Make it more clear.

If u want to split the text and display one below the other then u have to use offset command.

Check this code:

g_t_text1-g_f_0 = g_f_var1+0(25).

g_t_text1-g_f_1 = g_f_var1+25(25).

g_t_text1-g_f_2 = g_f_var1+50(25).

g_t_text1-g_f_3 = g_f_var1+75(25).

g_t_text1-g_f_4 = g_f_var1+100(25).

g_t_text1-g_f_5 = g_f_var1+125(25).

g_t_text1-g_f_6 = g_f_var1+150(25).

In the above case i was spliting the text in g_f_var1 into bits of 25 char length and passing it into inetrnal table.Once it is in internal table I run the loop and display it one below the other.

Try in similar manner and let me know if u face any problem.

Regards