‎2007 May 11 5:53 PM
Hi, I'm trying to use the function module DELETE_TEXT as follows.
CALL FUNCTION 'DELETE_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = id_t
LANGUAGE = sy-langu
NAME = name_t
OBJECT = object_t.
I get an error saying "Text ID ZTXT language EN not found".
Any suggestions?
‎2007 May 11 6:00 PM
Hi,
Make sure the language is correct..
Also make sure TEXT ID, OBJECT are in caps..
Also make sure name is having leading zeroes..with the correct length..
Let's say...if it is VBELN and number is 12345678..You have to pass 0012345678
Thanks,
Naren
‎2007 May 11 5:58 PM
Hi
You are not passing the correct TEXT ID of the text to the fun module
Go to the text which you wants to delete
double click on it
it will take you to TEXT EDITOR
from the Menu GOTO-> HEADER
See the TEXT ID, OBJECT, NAME and LANGU parameters of that text and pass them correctly to the fun module
Reward points if useful
Regards
Anji
‎2007 May 11 6:00 PM
Hi,
Make sure the language is correct..
Also make sure TEXT ID, OBJECT are in caps..
Also make sure name is having leading zeroes..with the correct length..
Let's say...if it is VBELN and number is 12345678..You have to pass 0012345678
Thanks,
Naren
‎2007 May 11 6:10 PM
Yes... I wasn't using the FM correctly. Thanks for the pointers.