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

appending long text

Former Member
0 Likes
1,837

Hi,

i have a long text to be added to a transaction. I'm using the FM 'SAVE_TEXT' to save the long text. But whenever i'm adding new text, its overwriting the existing one.

if i add any new text, it should add to the existing one and not overwrite that. how to do that.

points assured..

Thanks

Shekhar

Hi,

i have a long text to be added to a transaction. I'm using the FM 'SAVE_TEXT' to save the long text. But whenever i'm adding new text, its overwriting the existing one.

if i add any new text, it should add to the existing one and not overwrite that. how to do that.

points assured..

Thanks

Shekhar

5 REPLIES 5
Read only

Former Member
0 Likes
1,189

READ TEXT first and CONCATENATE text retreived and new text you want to add...Then use SAVE_TEXT

Read only

Former Member
0 Likes
1,189

Hi Shekhar,

Try using the option 'U' in the parameter Funtion of SAVE_TEXT Function module.

FUNCTION - The parameter returns the processing status of the text module for the current call.

' ' No action

'I' Text module was inserted

'U' Text module was updated

'D' Text module was deleted

Reward if found useful,

Regards,

Swapna.

Read only

Former Member
0 Likes
1,189

hi,

While using SAVE_TEXT please check the INSERT option functionality. If that is on then text will inserted from the front. If that is Off then use the method mentioned by person above.

Hope that helps.

Reward If Helpful

Regards

Sumit Agarwal

Read only

0 Likes
1,189

Hi,

The FM is returning the function 'U' only.. But its not appending the text. Its just overwriting the existing one

even then that function parameter is an export parameter, we can't change it.. right?

Thanks

Shekhar

Read only

0 Likes
1,189

When calling the FM SAVE_TEXT pl. pass SAVEMODE_DIRECT = 'X'

otherwise it will not save the text.

Regards,

Joy.