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: 

How to update longtext

Former Member
0 Kudos

hello all,

My requirement is to update the long text with certain text dynamically. like if i go to transaction IW22 ( Notification long text ) . if i click on long text button a line should appear like : This long text belong to notification XXXX.

i tried using the concept on enhancement points. but that particular function group STXX can not be enhanced. so i am looking for some other option . please let me know options for it..

Any help would be highly appreciated.

Thanks,

shiva

Edited by: Alvaro Tejada Galindo on Feb 13, 2008 5:31 PM

7 REPLIES 7

Former Member
0 Kudos

Hi Shiva.

Longtext for notification can be created or updated using

Function module 'SAVE_TEXT'

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Feb 13, 2008 5:31 PM

0 Kudos

now i need to update the long text for IW22 transaction. i know it is a standard program how do i change it?? please reply

0 Kudos

Hi Shiva,

You need to pass the following parameters

OBJEKT - QMEL

TXID - LTXT

SPRACHE - EN

NAME - <Notification Number>

You can check the entries in STXH table for QMEL object.

Hope this helps

Thanks

Lakshman

0 Kudos

hi lakshman thanks for your reply.

but my problem is i need to update dynamically.

on clicking on longtext button in IW22 transaction we get an EDITOR screen in that screen i need to display a text even before the user enters anything. if long text already exists i need to insert a line at the beginning saying that this long text belongs to notification XXXX .. hope i am clear .. pls reply back if you need more info..

0 Kudos

Hi You can updated the Long text using Function module save_text. with Input parameters as described by lakshman

0 Kudos

Calling the FM save_text is in the standard program but how do i change the standard program.?

Lakshmant1
Active Contributor
0 Kudos

Hi Shiva,

Check program SDTEXTE to update long texts.

Hope this helps

Thanks

Lakshman