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

help on save_text

Former Member
0 Likes
619

hi

i am using the save_text to insert long text in Tcode QP01,

i passed all parametes but it is not getting updated in transaction

but it is updated in table STXH

4 REPLIES 4
Read only

Former Member
0 Likes
566

Hi,

Check the parameter OBJECTNAME , that you are passing to the Fun module.

What code you have written? put here? it is easy to know what;s wrong in it.

Regards,

Anji

Read only

Former Member
0 Likes
566

Hi,

In the Transaction code QP01, press the Line editor button, then the line editor will open, then press Goto --> Header, you will get the options to pass in the SAVE_TEXT function module, pass these values in that function module then the text will be stored in the Transaction also

Regards

Sudheer

Read only

0 Likes
566

hi sudheer

i have passed that values only.

Read only

0 Likes
566

This is one of the old transactions that SAP had where it determines the existence of long text based on whether the language key field is having a value or not. Unfortunately that language key is filled in only if you go through the transaction instead of SAVE_TEXT. You will have to do a direct update of the table field with the language key (make sure you update it in internal format). The field is TXTSP on PLKO and PLPO depending on if the text is for header or item. Set this field to 'E' (assuming you are uploading the text in English language).

To validate this, you can check the current value of this field and it will be blank. You can then go to the transaction in change mode, go to the text long text area and simply save without entering anything. You will see your text now because this field will now show 'E' as its value.