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: 

Issue With DELETE_TEXT FM

Former Member
0 Kudos

Hi All,

I am trying to use the DELETE_TEXT function module to delete a text object that I have created however I keep getting the exception NOT_FOUND.

This is strange though because I can use the READ_TEXT function module to view the text with the exact same parameters.

Has anyone any ideas why this is happening?

Many Thanks,

Colm

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Yes all the correct parameters are passed. I know this because as mentioned above when I use these parameters on the READ_TEXT fm I get the values back.

Nayan,

Is there anyway to just delete the text rather than mark it for Deletion?

Thanks,

Colm

6 REPLIES 6

Former Member
0 Kudos

Have you supplied the right values to the parameters?

ID,

LANGUAGE,

NAME and object?

0 Kudos

Hi,

Depending on the text objects, the texts are deleted immediately or flagged in the text memory when u use this FM DELETE_TEXT. so check if it flagged for deletion.

Thanks

Nayan

Former Member
0 Kudos

Yes all the correct parameters are passed. I know this because as mentioned above when I use these parameters on the READ_TEXT fm I get the values back.

Nayan,

Is there anyway to just delete the text rather than mark it for Deletion?

Thanks,

Colm

0 Kudos

Hi,

Yes there is a way. Mark SAVEMODE_DIRECT as 'X'. this would delete ur text immediately.

Check and revert back buddy.

Thanks

Nayan

0 Kudos

Perfect! Many thanks.

0 Kudos

My pleasure mate....Always welcome...