Skip to Content
author's profile photo
Former Member

Deletion of text from STXH Table

Hi Guru's,

I am working on an enhancement in which I need to delete the text that entered in a PO like Header text and Item text. I am using the FM DELTE_TEXT Function Module. But it is not deleteing the text from STXH even the after deleting the text using this FM, the text is getting displayed in ME23N tcode.

Can any body help me to sort out this problem.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • author's profile photo
    Former Member
    Oct 11, 2007 at 02:50 PM

    Hi

    What is the execption you are getting, after this code is executed in the debug mode

    Regards

    MD

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Madhan Thanks,

      DELETE_TEXT is giving sy-subrc = 0. but the text appears in ME23N. Even availabele in STXH table also. Is there any other FM to delete the text from data base?

      Thanks & Regards.

      Ranganadh.

  • author's profile photo
    Former Member
    Oct 11, 2007 at 02:54 PM

    Hi

    I hope you are setting SAVEMODE_DIRECT = 'X', when you call the DELETE_TEXT function module

    Regards

    MD

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 11, 2007 at 02:55 PM

    Hi,

    Use the below function module after the DELETE_TEXT function module

    DELETED_TEXT_UPDATE

    or else, After the function module call the function module COMMIT_TEXT

    Regards

    Sudheer

    Add comment
    10|10000 characters needed characters exceeded