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: 

function module 'EDIT_TEXT'.

former_member799868
Participant
0 Kudos
666

this function module used to edit the long text for standard key..

but after making chages to the text and saving the text..it is not saving..

when ever i call the function module changes are not there..

after changing we need to call any other functionmodule...

pleaseeee help meeeeeeee

8 REPLIES 8

amit_khare
Active Contributor
0 Kudos
249

call COMMIT_TEXT after SAVE_TEXT.

Former Member
0 Kudos
249

Hello,

After save_text call function 'Commit_text'.

Regards,

Neelambari

0 Kudos
249

Hi

Commit_text

Save_text

Use this.

Reward if useful.

Thanks

Azad.

Former Member
0 Kudos
249

well the normal routine is:

either Read_text, then edit manually

or Edit_text.

AFTER that you need to call Save_text, and after that Commit_text.

Former Member
0 Kudos
249

Hi,

Until you call commit_text it will not save.

Transfer text creation text(s) to update

All text modules which have saving in the update task defined via their object description are first held in the text memory. When the function 'Post' is called up in the application, the text modules must also be placed in the log file.

The function module COMMIT_TEXT generates a CALL FUNCTION ... IN UPDATE TASK for every text module entered in the text memory corresponding to the action to be executed (Delete, Create, Change).

A COMMIT WORK is not generated. This can be initiated from the calling application program.

If no text key has been specified, once the function has been executed the text memory is empty. You can also partially specify fields of the text key by using '*'. In addition, you can pass a table with text keys in parameter KEY_TABb.

Reward if useful!

former_member235056
Active Contributor
0 Kudos
249

Hi,

The sequence is,

EDIT_TEXT.

SAVE_TEXT.

COMMIT_TEXT.

Pls reward points.

Regards,

Ameet

Former Member
0 Kudos
249

Hi,

This function module is used to call the fullscreen editor. The lines of text can be edited with the functions available there. The editor interface is set according to the interface assigned to the text object.

When you exit the editor, the function module SAVE_TEXT is generally called implicitly with the function 'Save' or 'Flag', as long as the text is saved in the text file according to the text object set. This call can be deactivated via the parameter SAVE.

Check whether the SAVE parameter has a default value of 'X'.I think that you have to set the flag to 'X'.

Thanks,

Sandeep.

Former Member
0 Kudos
249

yes call FM

save_text

regards'

ravish