10-11-2007 3:48 PM
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.
10-11-2007 3:50 PM
Hi
What is the execption you are getting, after this code is executed in the debug mode
Regards
MD
10-11-2007 3:55 PM
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.
10-11-2007 3:54 PM
Hi
I hope you are setting SAVEMODE_DIRECT = 'X', when you call the DELETE_TEXT function module
Regards
MD
10-11-2007 3: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