Skip to Content
author's profile photo Former Member
Former Member

Create my own long texts

Hi people,

I have a question about creating, editing, displaying and deleting longtexts (like sapscript longtexts). How do you do this? I bet it's somewhere on the internet but I am not able to find it, been searching for hours now.

Please help me out...

Thanks in advance,

Maurice Brouwers

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Aug 15, 2005 at 05:25 PM

    First you need to setup your text. You would do this via transaction code SE75. You will setup the text object and text id. I would suggest look at one which is delivered by SAP. Something like Material Text or maybe something from a sales document. Once you set the object/id, you need to determine the key in which you will access this text. For example, if you were creating text for a certain material and plant combination, the key would be material number and plant concatenated together. This is only an example, there is already a text object/id set up for material and plant, yet I forget what the actually text is called.

    You can manuipulate the text using the function modules, READ_TEXT and SAVE_TEXT. You can program a user interface which uses the class CL_GUI_TEXTEDIT. This is a text box used to allow the user to enter text. I believe that there are some example programs, do a WHERE USED on the class, to see what's out there.

    Regards,

    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 15, 2005 at 05:19 PM

    Hi Maurice,

    In SAP scripts usually you input the texts in the necessary windows with needed paragraph format.

    In reports you can declare them as text elements.

    If this is not what you are looking for please be more specific.

    Regards,

    Saji.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 15, 2005 at 05:32 PM

    Hi,

    Thanks for your quick replies and I'm indeed not very clear with my question.

    I created an screen exit in transaction IW21. Within this are some fields for example Description. Now the users also want to enter a long text belonging to this description. Unfortunately it's not possible to use any of the other longtext. Now I wondered if there are some functions like checking if a longtext exists, create/edit/etc longtext and so on.

    I hope this clears some questions raised by my initial question.

    Regards,

    Maurice Brouwers

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.