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

Delete Operation long text for PM General task list

Hi ,

I have created the long text using INTTAB_SAVE_TEXT function module. Please let me know how we could delete the long text already existing. I tried using the function module INTTAB_DELETE_TEXT but it was not working.

Regards,

Prabaharan.G

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2007 at 08:30 PM

    Use DELETE_TEXT FM and after DELETE_TEXT fm use use COMITT_TEXt FM.

    Thanks

    Seshu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2007 at 09:05 PM

    Hi Seshu,

    Please see below code. I tried the function module and gave the parameters which i exactly used for save_text but the function module returns the message, that the " text object is not avaialable "

    Report ZLONGTEXT_DEL.

    data: w_index like sy-index.

    CALL FUNCTION 'INTTAB_DELETE_TEXT'

    EXPORTING

    OBJECT = 'ROUTING'

    NAME = '020A000000070000000100000001'

    ID = 'PLPO'

    LANGUAGE = 'E'

    EXCEPTIONS

    NOT_FOUND = 1

    OTHERS = 2

    .

    IF SY-SUBRC <> 0.

    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

    else.

    CALL FUNCTION 'INTTAB_COMMIT_TEXT'

    IMPORTING

    COMMIT_COUNT = w_index

    EXCEPTIONS

    IO_ERROR = 1

    OTHERS = 2

    .

    IF SY-SUBRC <> 0.

    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

    else.

    write:/ 'successs'.

    ENDIF.

    Regards,

    Prabaharan.G

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2007 at 09:14 PM

    Hi Seshu,

    That is working fine . thanks for your reply.

    Regards,

    Prabaharan.G

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2007 at 09:16 PM

    Delete_text function module followed by commit_text is doing the required operation.

    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.