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

Unable to save data using SAVE_TEXT

Former Member
0 Likes
1,732

Hi all,

I'm using function modules 'INIT_TEXT' AND 'SAVE_TEXT' to save my long text for service order.

Though return value for the FM is 0(sy-subrc = 0), the text is not saved in tables STXH and STXL.

So when I try to read the text using 'READ_TEXT', i'm unable to find anything.

Please help.

Regards,

Manasee

6 REPLIES 6
Read only

Former Member
0 Likes
1,065

Kindly check if you are passing the Text-ID, Text-Name and Text Object as per the format required.

Kind Regards

Eswar

Read only

Former Member
0 Likes
1,065

Hi,

Try passing the parameter savemode_direct = 'X' to the SAVE_TEXT Fm..

Thanks,

Naren

Read only

Former Member
0 Likes
1,065

Hi Manasee,

Pass Parameter INSERT as 'X' in the FM SAVE_TEXT. If this doesnt work, then please paste the code.

Best regards,

Prashant

PS : Please reward all helpful answers

Read only

0 Likes
1,065

hi prashant,

i'm unable to update the entry if i pass Parameter INSERT as 'X' in the FM SAVE_TEXT

what should i do in order to modify the entry.

i think i need to pass ' ' into INSERT

what do u think?

Read only

Former Member
0 Likes
1,065

Hi,

Did you try pass SAVEMODE_DIRECT = 'X'??

Thanks,

Naren

Read only

Former Member
0 Likes
1,065

Hi Manasee,

Yes if you want to update the text then pass INSERT = ' '. That is correct.

I hope you are passing the correct ID, Language, Name, Object etc.

Could you please paste the code.

Best regards,

Prashant