Skip to Content
avatar image
Former Member

standard text doubt in sap script

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 17, 2006 at 06:24 AM

    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.


    Add comment
    10|10000 characters needed characters exceeded

  • Nov 17, 2006 at 06:25 AM


    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:


    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.


    Add comment
    10|10000 characters needed characters exceeded