Application Development 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: 

Deletion of text from STXH Table

Former Member
0 Kudos

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.

4 REPLIES 4

Former Member
0 Kudos

Hi

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

Regards

MD

0 Kudos

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.

Former Member
0 Kudos

Hi

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

Regards

MD

Former Member
0 Kudos

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