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

long text

Former Member
0 Likes
549

Hi All,

I am using read_text to retrive the long text . I want to create some test data for long text . i know text name object .how can i know where i have to create long text? Let me know

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
452

<b>SO10</b> transaction -:)

Greetings,

Blag.

4 REPLIES 4
Read only

Former Member
0 Likes
453

<b>SO10</b> transaction -:)

Greetings,

Blag.

Read only

Former Member
0 Likes
452

If you want to create it in a program, then use SAVE_TEXT or CREATE_TEXT followd by COMMIT_TEXT FM.

If you want to do it via transaction, then go for Alvaro's suggestion.

Regards,

Ravi

Read only

Former Member
0 Likes
452

Hi,

If it s Z text, then you can create it in SO10 Transaction code.

If it is related to a Standard transaction text, then you need to create the text in that transaction only. i mean, lets take an Sales Order example, if you want to create the text, then Goto --> Header -> Text or Goto --> Item --> Texts to create the Texts.

so follow one of the above way to create the texts

Regards

Sudheer

Read only

Former Member
0 Likes
452

Hi,

You can use FM SAVE_TEXT.


clear: header.
* Set SAPscript Header
  header-tdname = req-reqno .
  header-tdobject = 'ZPT_DET'.
  header-tdid = 'Z002'.
  header-tdspras = sy-langu.
 
  call function 'SAVE_TEXT'
       exporting
            client   = sy-mandt
            header   = header
       tables
            lines    = lines
       exceptions
            id       = 1
            language = 2
            name     = 3
            object   = 4
            others   = 5.

Regards,

Ferry Lianto