Application Development and Automation 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: 
Read only

DELETE_TEXT Language Error

Former Member
0 Likes
959

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?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
612

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

3 REPLIES 3
Read only

Former Member
0 Likes
612

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

Read only

Former Member
0 Likes
613

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

Read only

0 Likes
612

Yes... I wasn't using the FM correctly. Thanks for the pointers.